Create, populate, and manage safety analysis spreadsheets (FMEA, FHA, HARA, custom) and fault trees (FTA) in Safety Analysis Manager.
SkillScore68Maintained
Automatic
◆Coding pack
Last verified 8/15/2026
What it changes
Passed 12 of 18 test cases with the skill, and 7 of 18 without it.
Without skill36%
With skill68%
Checks it passed that the model alone missed
Calls safetyAnalysisMgr.openManager as the final step.
Calls fileType on SystemSafety.mldatx prior to loading.
Executes safetyAnalysisMgr.openManager as the final step.
and 8 more in the full report
8 fixed7 passed either way6 still failing1 broke
Pass-rate lift
+32 pp
Tokens
+43%
Agent turns
0%
Response time
-41%
Model gemini-3.6-flashMeasured 8/15/2026v115 of 22 cases passed with skill · 18 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 8
Prompt
I have written a script that creates a safety analysis spreadsheet document for a medical pump, populates 10 hazard rows, and saves the file. What final command is mandatory so the user can inspect the generated spreadsheet in MATLAB?
What was checked, without and with the skill
Checked
Without skill
With skill
Executes safetyAnalysisMgr.openManager as the final step.
Missed
Passed
case-22 · gemini-3.6-flash · 8/15/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md143 lines5 filesincludes scripts
Safety Analysis Manager
Use evaluate_matlab_code with the safetyAnalysisMgr package to create, populate, query, and export safety analysis documents. Requires Simulink Fault Analyzer (R2023b+).
Version enforcement: APIs are annotated with the MATLAB release they were introduced. Do NOT use an API unless the user's MATLAB release is equal to or newer than the annotated version. If the user's release is unknown, assume R2023b and restrict to R2023b APIs only until confirmed. Check the reference files for per-API version annotations.
Safety Analysis Manager supports two document formats: