inject-faults

inject-faults is a skill for Claude Code, Codex from matlab/simulink-agentic-toolkit. It costs 88 tokens per session (2,084 once invoked), scanned A, original, no licence file.

A guide for adding simulated failures to signals in Simulink, Simscape, and System Composer models. Faults include stuck signals, noise, gain changes, and offsets.

In plain words
What is it for?
Use it to place faults on block inputs or outputs, run fault simulations, and study their effects for robustness and safety checks.
Why use it?
It helps reveal how sensor and signal failures affect a model before testing the real system.

Skill for Claude CodeCodex

Part of the verification-validation-and-test plugin — 7 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/matlab/simulink-agentic-toolkit/inject-faults
Any agent
npx skills add matlab/simulink-agentic-toolkit --skill inject-faults
Clone the repo
git clone --depth 1 https://github.com/matlab/simulink-agentic-toolkit

Made for: Claude Code, Codex.

Or install verification-validation-and-test, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for inject-faults

README.md
[![agentmods](https://agentmods.dev/badge/skills/matlab/simulink-agentic-toolkit/inject-faults.svg)](https://agentmods.dev/skills/matlab/simulink-agentic-toolkit/inject-faults)
Your own site
<a href="https://agentmods.dev/skills/matlab/simulink-agentic-toolkit/inject-faults"><img src="https://agentmods.dev/badge/skills/matlab/simulink-agentic-toolkit/inject-faults.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,084 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.02084
Opus 5 $0.00044 $0.01042
Sonnet 5 $0.00018 $0.00417
Haiku 4.5 $0.00009 $0.00208

Measured 6d ago against content hash b644377fb810, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

inject-faults scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-catalog/verification-validation-and-test/inject-faults/SKILL.md · 126 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 126 lines · 88 tokens per session scan A b644377fb810

Subscribe to this mod's changes

inject-faults is a skill published in the GitHub repository matlab/simulink-agentic-toolkit (1,038 stars, last pushed yesterday), with no licence file. It adds 88 tokens to every session and 2,084 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

matlab-use-scenario-builder

Generate driving scenes, scenarios, road surfaces, and 3D content from scenariobuilder. sensor data (GPS, camera, lidar, actor tracks) using Scenario Builder for Automated Driving Toolbox. BUILD, EXPORT, or AUGMENT a virtual scenario/scene/map: ego or actor trajectories, trajectory smoothing, OpenCRG road-surface…

matlab/matlab-agentic-toolkit · 231 tokens

matlab-simulate-radar-detections

Configure, simulate, debug, and analyze radarDataGenerator within radarScenario. Use for: interactively building radar detection scenarios from datasheets or performance requirements; diagnosing missed detections and configuration errors; interpreting sensor spherical, body, and scenario-frame outputs; deriving…

matlab/matlab-agentic-toolkit · 92 tokens

matlab-classify-tabular-data

Use this skill to classify tabular data end-to-end in MATLAB — load a dataset, prepare and clean it, select promising classifiers, train them, and compare accuracies with cross-validation, holdout, or hyperparameter optimization plus statistical tests. TRIGGER when: user asks to classify tabular data, pick classifiers…

matlab/matlab-agentic-toolkit · 165 tokens

matlab-analyze-data

Analyze data using MATLAB. Use when the task involves tables, timetables, time-series data, numeric arrays, sensor matrices, or gridded data — including but not limited to exploring, filtering, sorting, cleaning, transforming, aggregating, smoothing, padding, trimming, and answering questions about data. MATLAB…

matlab/matlab-agentic-toolkit · 87 tokens

matlab-fit-curve

Fit curves and surfaces interactively with the Curve Fitter app for a complete no-code fitting workflow. Invoke this skill when the Curve Fitter app, cftool, curveFitter, or "curve fitting tool/app" is mentioned in any way. Also use when exploring or comparing fit types (regression, interpolation, smoothing, splines…

matlab/matlab-agentic-toolkit · 121 tokens

matlab-use-machine-learning-apps

Use when the user wants to train, compare, or export machine learning models using Classification Learner or Regression Learner — including opening the app, loading data, training models, evaluating metrics, comparing results, visualizing plots, testing on held-out data, exploring model interpretability, and exporting…

matlab/matlab-agentic-toolkit · 85 tokens