Agent skill

Testing Simulink Models

by matlab in matlab/simulink-agentic-toolkit

Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs.

Custom licenceAuto-check passed

Install Testing Simulink Models

skills CLI
$ npx skills add matlab/simulink-agentic-toolkit --skill testing-simulink-models -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install matlab/simulink-agentic-toolkit testing-simulink-models --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/matlab/simulink-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/verification-validation-and-test/testing-simulink-models .claude/skills/testing-simulink-models && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
testing-simulink-models
GitHub stars
1.2k
Token cost
~1.6k tokens
SKILL.md length
731 words
Files
27 (incl. scripts, references, assets)
Skills in repo
43
Repo updated
First seen
Licence
Custom licence

At a glance

Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs.

  • Works in 6 steps: Understand the component: Use… → Write the .feature file: Author a… → Cap StopTime before running: Check the… → …
  • SKILL.md covers When to Use, When NOT to Use, Testing Approaches and Workflow — Gherkin (Quick…, plus 3 more sections

What it does

Testing Simulink Models is an agent skill from matlab/simulink-agentic-toolkit. Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs. Requires Simulink Test.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files, including scripts, reference files and assets (for example `assets/test-config-template.md`, `assets/test-structure-template.md` and `manifest.yaml`).

The repository describes itself as: The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

Example prompts

  • “Use the testing-simulink-models skill to test Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or…”
  • “/testing-simulink-models”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Understand the component: Use model_overview and model_read on the target subsystem to identify inputs, outputs, and expected behavior.
  2. Write the .feature file: Author a Gherkin test following the syntax in references/gherkin-based-fast-testing.md. Start with one scenario…
  3. Cap StopTime before running: Check the model's StopTime with model_query_params. If it is inf (or unset/auto), you MUST pass a finite stop…
  4. Run in draft mode: Call model_test with draft_mode='true' for rapid iteration (~3s). Fix syntax or signal errors.
  5. Run full compilation: Once draft passes, re-run with draft_mode='false' to validate against the actual compiled model (catches…
  6. Expand coverage: Add scenarios for edge cases, fault conditions, and boundary behavior. Use coverage='decision' to identify untested…

What it can do on your machine

Read from SKILL.md and the folder at commit c58e6ae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Testing Simulink Models loads about 1.6k tokens when it runs, and up to ~6.4k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 731 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 731 words (~1,599 tokens).

“Requires Simulink Test and R2023a or later. The requirement-driven entry point also requires Requirements Toolbox. The coverage workflow also requires Simulink Coverage. If Simulink Test is unavailable, use simulating-simulink-models with manual assertions.”

— opening of SKILL.md by matlab, Custom licence
name
testing-simulink-models
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
2.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 26 other files (scripts, references, assets) in skills-catalog/verification-validation-and-test/testing-simulink-models of matlab/simulink-agentic-toolkit.

  • SKILL.md
  • assets/test-config-template.md
  • assets/test-structure-template.md
  • manifest.yaml
  • references/assessment-format.md
  • references/gherkin-based-fast-testing.md
  • references/simulink-test-authoring.md
  • scripts/+vnv/+internal/+agentic/+common/+format/formatError.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatMetadata.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestCase.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestFile.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestSuite.p
  • scripts/+vnv/+internal/+agentic/+common/+requirements
  • … and 14 more

Open the folder on GitHubat commit c58e6ae

Compare with similar skills

Testing Simulink Models next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Testing Simulink Models compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing Simulink Models this skillmatlab/simulink-agentic-toolkit1.2k—~1.6kAutomated safety check: PassCustom licence
Fp Either Refsickn33/agentic-awesome-skills47k2 repos~655Automated safety check: PassMIT
Simulink Interactionshashgraph-online/awesome-codex-plugins1.2k—~2.3kAutomated safety check: PassApache-2.0
Simulink Simulationhashgraph-online/awesome-codex-plugins1.2k—~1.6kAutomated safety check: PassApache-2.0
Hermes Ephemeral DelegationGentleman-Programming/gentle-ai7.6k—~1.1kAutomated safety check: PassApache-2.0
Simulink Profile Initializationhashgraph-online/awesome-codex-plugins1.2k—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Fp Either Ref

    sickn33/agentic-awesome-skills

    Quick reference for Either type. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~655 tokens
    Auto-check passed
  • Simulink Interactions

    hashgraph-online/awesome-codex-plugins

    Interact with a Simulink model currently open in MATLAB via the MATLAB MCP server.

    1.2k GitHub stars~2.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Simulink Simulation

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses whenever simulating a Simulink model, running the sim command, setting up SimulationInput objects, passing input signals via timeseries or datasets, configuring model or…

    1.2k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Hermes Ephemeral Delegation

    Gentleman-Programming/gentle-ai

    Trigger: a mapping need, parallel units, context backstop, high-risk verify, fresh review, or multi-step debug.

    7.6k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Simulink Profile Initialization

    hashgraph-online/awesome-codex-plugins

    Profile and analyze the initialization (compile) phase of a Simulink model.

    1.2k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Simulink Baseline Test

    hashgraph-online/awesome-codex-plugins

    Create a MATLAB baseline regression test class for a Simulink model.

    1.2k GitHub stars~1.5k tokensUpdated today
    Testing & QAAuto-check passed

More from matlab/simulink-agentic-toolkit

All 43 skills in this repo
  • Resolve Design Errors

    matlab/simulink-agentic-toolkit

    A skill your agent uses when asked to run Design Error Detection (quick defect scan), find design errors in a Simulink model, perform root cause analysis on DED findings, fix division-by-zero…

    1.2k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Simscape Write Ssc

    matlab/simulink-agentic-toolkit

    A skill your agent uses when writing or editing Simscape Language (.ssc) source files — components, domains, or functions.

    1.2k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Simulink Optimizing Embedded Code

    matlab/simulink-agentic-toolkit

    Optimizes Simulink models for Embedded Coder generated code.

    1.2k GitHub stars~4.5k tokensUpdated today
    Auto-check passed
  • Checking Model Compliance

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to check Simulink model compliance against a standard (MISRA, MAB, JMAAB, ISO, DO, IEC, EN, CERT C/CWE, AUTOSAR, Simulink Code Inspector (SLCI)), wants to…

    1.2k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Fix Sldv Incompatibility

    matlab/simulink-agentic-toolkit

    A skill your agent uses when a Simulink model is incompatible with Simulink Design Verifier (sldvcompat returns false, or an SLDV analysis errors out on an unsupported construct) and needs to be…

    1.2k GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Simulink Collect Metrics

    matlab/simulink-agentic-toolkit

    Collect and assess quality metrics for Simulink models using the metric.Engine API.

    1.2k GitHub stars~4.4k tokensUpdated today
    Auto-check passed

Questions about Testing Simulink Models

What does Testing Simulink Models do?

Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs. Testing Simulink Models is an agent skill from matlab/simulink-agentic-toolkit. Tests Simulink models using either ephemeral Gherkin-based tests (modeltest) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs.

How do I install Testing Simulink Models in Claude Code?

Run `npx skills add matlab/simulink-agentic-toolkit --skill testing-simulink-models -a claude-code`. Or copy the skill folder (skills-catalog/verification-validation-and-test/testing-simulink-models in matlab/simulink-agentic-toolkit) into .claude/skills/testing-simulink-models in your project. Claude Code loads it when a task matches its description.

How do I install Testing Simulink Models in Codex?

Run `npx skills add matlab/simulink-agentic-toolkit --skill testing-simulink-models -a codex`. Or copy the skill folder (skills-catalog/verification-validation-and-test/testing-simulink-models in matlab/simulink-agentic-toolkit) into .agents/skills/testing-simulink-models in your project. Codex loads it when a task matches its description.

Can I use Testing Simulink Models in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matlab/simulink-agentic-toolkit --skill testing-simulink-models -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-simulink-models, .gemini/skills/testing-simulink-models, .github/skills/testing-simulink-models and .opencode/skills/testing-simulink-models in your project.

What does Testing Simulink Models need to run?

SKILL.md names no scripts, command-line tools or credentials: Testing Simulink Models is instructions for the agent only.

Does Testing Simulink Models access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Testing Simulink Models safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Testing Simulink Models use?

Testing Simulink Models has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Testing Simulink Models use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.8k tokens, read only when the agent opens those files.

What are the alternatives to Testing Simulink Models?

Skills that share tags, products or a category with Testing Simulink Models: Fp Either Ref (sickn33/agentic-awesome-skills, 47k stars), Simulink Interactions (hashgraph-online/awesome-codex-plugins, 1.2k stars), Simulink Simulation (hashgraph-online/awesome-codex-plugins, 1.2k stars) and Hermes Ephemeral Delegation (Gentleman-Programming/gentle-ai, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Testing Simulink Models?

matlab (a GitHub organization) maintains it in matlab/simulink-agentic-toolkit, which has 1,199 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on October 7, 2026.

Source: matlab/simulink-agentic-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.