simscape-diagnose-simulation-error
simscape-diagnose-simulation-error is a skill in matlab/simulink-agentic-toolkit, last changed 19 Nov 2026. It can run shell commands, name web addresses and include files we can't read.
Triage Simscape simulation errors and solver warnings and dispatch to the appropriate diagnostic surface. Covers transient/runtime failures — min step size violations (stiffness, parasitics, event-time), transient initialization failures, and index reduction ("Cannot solve for one or more variables"), including errors that appear only with run-time parameters. Use whenever a Simscape model fails to simulate or warns while simulating, even if the user doesn't quote the message and it only shows up after you run the model or read a warnings log; load it before attempting a fix.
At a glance
What it can touch
How much a skill can do, not whether it is risky.
Pattern check
20 items to review
Binary, compiled, archived or document file
R32 · High · scripts/+simscape/+agentic/InitializationAnalysis.pand 19 moreCommit bdfaf9a · 20 Nov 2026
How the check worksPattern check:20 items to reviewSee them
QAI Index
We rate every listed skill the same way, from 0 to 100.
A guide to compare by, not a verdict on the skill.
How it's scoredGet an email when its check changes.
Keep it with the other skills you use, installed with one command.
Install
Sign in to see how to install it
Free with Google or an email link, no password needed. Then pick your agent and copy its steps.
What it can touch
Sign in to see the file and line behind each one
The summary at the top stays open to everyone. Signing in is free, with Google or an email link.
Pattern check
Pattern check: 20 items to review · commit bdfaf9a · 20 Nov 2026
Show 10 more
We checked every text file in this skill, at commit bdfaf9a on 20 Nov 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.
How the check worksReport an incorrect finding
Files we didn't read
- scripts/+simscape/+agentic/InitializationAnalysis.p · binary file
- scripts/+simscape/+agentic/ModelStatistics.p · binary file
- scripts/+simscape/+agentic/VariableScaling.p · binary file
- scripts/+simscape/+agentic/initialization_analyzer_run.p · binary file
- scripts/+simscape/+agentic/nominal_values_get_nominal_values.p · binary file
- scripts/+simscape/+agentic/nominal_values_is_nominal_enabled.p · binary file
- scripts/+simscape/+agentic/nominal_values_set_nominal_enabled.p · binary file
- scripts/+simscape/+agentic/nominal_values_set_nominal_values.p · binary file
- scripts/+simscape/+agentic/parasiticParameters.p · binary file
- scripts/+simscape/+agentic/private/simscape_debug_progress.p · binary file
Show 10 more
- scripts/+simscape/+agentic/private/simscape_debug_simplify_unit.p · binary file
- scripts/+simscape/+agentic/simscape_debug_require_api.p · binary file
- scripts/+simscape/+agentic/simscape_debug_require_network.p · binary file
- scripts/+simscape/+agentic/simscape_debug_require_param.p · binary file
- scripts/+simscape/+agentic/spsInputJumps.p · binary file
- scripts/+simscape/+agentic/spsInputSampleTimes.p · binary file
- scripts/+simscape/+agentic/statistics_viewer_run.p · binary file
- scripts/+simscape/+agentic/stiffness_analyzer_run.p · binary file
- scripts/+simscape/+agentic/variable_scaling_analyzer_run.p · binary file
- scripts/+simscape/+agentic/variable_viewer_run.p · binary file
Outside links we did not follow
- https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
Format check
Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.
Agent Skills specPasses with warnings
The format our Agent Skills docs set out, held to the strictest version of each rule among the agents we check.
- Warning
The body is about 5,109 tokens (approx.); the spec suggests under 5,000. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Note
Reference files over 100 lines with no table of contents at the top: references/initialization_analyzer.md (128 lines), references/nominal_values.md (150 lines), references/statistics_viewer.md (158 lines), references/variable_scaling_analyzer.md (173 lines) and references/variable_viewer.md (209 lines). B5
Fix: Add a short list of the sections at the top of each.
- Warning
Claude CodePasses
Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.
- Note
The body is about 5,109 tokens (approx.); the spec suggests under 5,000. After compaction Claude Code keeps only the first 5,000 tokens of a skill. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Note
Reference files over 100 lines with no table of contents at the top: references/initialization_analyzer.md (128 lines), references/nominal_values.md (150 lines), references/statistics_viewer.md (158 lines), references/variable_scaling_analyzer.md (173 lines) and references/variable_viewer.md (209 lines). B5
Fix: Add a short list of the sections at the top of each.
- Note
Claude apps & API uploadPasses
Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.
- Note
The description is 582 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4
Fix: If the claude.ai upload refuses it, trim the description to 200 characters.
- Note
The body is about 5,109 tokens (approx.); the spec suggests under 5,000. Anthropic's guidance says the same. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Note
Reference files over 100 lines with no table of contents at the top: references/initialization_analyzer.md (128 lines), references/nominal_values.md (150 lines), references/statistics_viewer.md (158 lines), references/variable_scaling_analyzer.md (173 lines) and references/variable_viewer.md (209 lines). B5
Fix: Add a short list of the sections at the top of each.
- Note
- OpenAI (Codex & API)Passes
- VS Code & CopilotPasses
SKILL.md
We only show SKILL.md text here when its licence clearly allows it.
Read SKILL.md on GitHub (opens in a new tab)Files
29 files
Show 9 more
Changelog
Newest first: each commit that changed its folder on GitHub, and each change to its listing here.
- Listed on QAI
- Updated: Release v2026.11.c (bdfaf9a (opens in a new tab))
QAI Index badge
Show this skill's QAI Index in a README or on a website. It links back to this page and changes when we refresh the catalog.
[](https://qai.io/skills/matlab/simulink-agentic-toolkit/simscape-diagnose-simulation-error)More from matlab/simulink-agentic-toolkit
Other Other skills
Same category, most repo stars first.