Agent skill · AI & Agents

inject-faults

Add, configure, and manage faults on Simulink, Simscape, and System Composer model signals for robustness analysis and safety validation. Use when injecting faults (stuck, noise, gain, offset) onto block inports/outports, enabling fault simulation, or analyzing fault effects. Covers sensor failures, signal corruptions, actuator faults, FMEA validation, and robustness testing. Requires Simulink Fault Analyzer.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/simulink-agentic-toolkit --skill inject-faults --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/verification-validation-and-test/inject-faults/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 903
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Fault Injection Use `evaluate_matlab_code` with the `Simulink.fault` API to programmatically inject faults into Simulink models. Faults override signal values at block ports to simulate hardware failures, sensor faults, and actuator malfunctions. ## When to Use - Injecting sensor stuck-at faults, noise, or bias for safety analysis (Simulink, Simscape, System Composer) - Validating FMEA failure modes through simulation - Testing controller robustness against actuator or sensor failures - Adding fault placeholders (without behavior) for FMEA traceability before defining fault logic - Configuring fault trigger conditions (timed, conditional, always-on) - Creating fault scenarios for automated testing - Comparing nominal vs. faulted behavior - Linking faults to FMEA failure mode cells - Generating fault specification reports - Exporting models with embedded fault behavior for teams without Simulink Fault Analyzer - Registering custom fault behavior libraries - Synchronizing (also called **resync** / **sync** / **synchronize faults** / **update fault references**) fault information from referenced models, subsystems, or linked libraries into a parent model ## When NOT to Use - Creatin

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Probe
  4. Key Concepts
  5. Critical Constraints
  6. Workflow
  7. Guardrails
  8. Always
  9. Never
  10. Ask First
  11. Troubleshooting
  12. Reference Files
Ships with 7 files
  • manifest.yaml
  • references/advanced-operations.md
  • references/fault-behaviors.md
  • references/preflight-and-adding-faults.md
  • references/simulation-workflows.md
  • references/test-case-integration.md
  • references/triggers-and-conditionals.md
More from simulink-agentic-toolkit
All skills →
About this skill
What does the inject-faults skill do?

Add, configure, and manage faults on Simulink, Simscape, and System Composer model signals for robustness analysis and safety validation. Use when injecting faults (stuck, noise, gain, offset) onto block inports/outports, enabling fault simulation, or analyzing fault effects. Covers sensor failures, signal corruptions, actuator faults, FMEA validation, and robustness testing. Requires Simulink Fault Analyzer.

How do I install it?

Run `npx skills add matlab/simulink-agentic-toolkit --skill inject-faults --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/simulink-agentic-toolkit, a repository with 903 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going