Agent skill

Building Simulink Models

by matlab in matlab/simulink-agentic-toolkit

Builds and edits Simulink, System Composer, Stateflow, and Simscape models.

Custom licenceAuto-check passedTesting & QA

Install Building Simulink Models

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

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

GitHub CLI
$ gh skill install matlab/simulink-agentic-toolkit building-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/model-based-design-core/building-simulink-models .claude/skills/building-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
building-simulink-models
GitHub stars
1.2k
Token cost
~2.3k tokens
SKILL.md length
1,031 words
Files
5 (incl. references)
Skills in repo
43
Repo updated
First seen
Licence
Custom licence

At a glance

Builds and edits Simulink, System Composer, Stateflow, and Simscape models.

  • Works in 7 steps: Ensure Library & Policy Prerequisites:… → Library block lookup: List every block… → Read first: Use model_read on the target… → …
  • Modifying model structure
  • SKILL.md covers When to Use, When NOT to Use, Library & Policy Prerequisites… and Workflow, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Building Simulink Models is an agent skill from matlab/simulink-agentic-toolkit. Builds and edits Simulink, System Composer, Stateflow, and Simscape models. Use when modifying model structure, parameters, ports, connections, or Stateflow chart internals.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `manifest.yaml`, `references/simscape.md` and `references/stateflow.md`).

It sits in Testing & QA. 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.

When your agent uses it

  • Modifying model structure
  • Stateflow chart internals

Example prompts

  • “Use the building-simulink-models skill to build and edits Simulink, System Composer, Stateflow, and Simscape models”
  • “/building-simulink-models”

Workflow steps

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

  1. Ensure Library & Policy Prerequisites: See BLOCKING GATE above. Do not proceed until gates pass.
  2. Library block lookup: List every block type you plan to use, search .satk/library-kg/index.md and the relevant category pages to find each…
  3. Read first: Use model_read on the target scope to get block IDs and understand existing topology.
  4. Plan the data flow: For complex edits, sketch inputs → operations → outputs, then map to blocks identified in Step 1 & 2.
  5. Edit: Use model_edit with operations scoped to one subsystem level at a time.
  6. Verify: Use model_read on the scope to confirm the structure matches your intent.
  7. Check connectivity: After all edits in a scope are complete, run model_check to catch unconnected ports or dangling lines. Fix any…

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json and matlab).

    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

Building Simulink Models loads about 2.3k tokens when it runs, and up to ~6.4k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 1,031 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
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); files beside SKILL.md 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 1,031 words (~2,335 tokens).

“Use model_edit for all structural changes — Simulink, System Composer, Simscape, and Stateflow chart internals”

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

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in skills-catalog/model-based-design-core/building-simulink-models of matlab/simulink-agentic-toolkit.

  • SKILL.md
  • manifest.yaml
  • references/simscape.md
  • references/stateflow.md
  • references/system-composer.md

Open the folder on GitHubat commit c58e6ae

Compare with similar skills

Building 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.

Building Simulink Models compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Building Simulink Models this skillmatlab/simulink-agentic-toolkit1.2k—~2.3kAutomated safety check: PassCustom licence
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k32 repos~2.1kAutomated safety check: PassApache-2.0
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 32 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    380 GitHub starsUsed in 9 repos~2.9k tokens
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed

Categories

Questions about Building Simulink Models

What does Building Simulink Models do?

Builds and edits Simulink, System Composer, Stateflow, and Simscape models. Building Simulink Models is an agent skill from matlab/simulink-agentic-toolkit. Builds and edits Simulink, System Composer, Stateflow, and Simscape models.

When should I use Building Simulink Models?

Building Simulink Models fits situations like: modifying model structure; stateflow chart internals.

How do I install Building Simulink Models in Claude Code?

Run `npx skills add matlab/simulink-agentic-toolkit --skill building-simulink-models -a claude-code`. Or copy the skill folder (skills-catalog/model-based-design-core/building-simulink-models in matlab/simulink-agentic-toolkit) into .claude/skills/building-simulink-models in your project. Claude Code loads it when a task matches its description.

How do I install Building Simulink Models in Codex?

Run `npx skills add matlab/simulink-agentic-toolkit --skill building-simulink-models -a codex`. Or copy the skill folder (skills-catalog/model-based-design-core/building-simulink-models in matlab/simulink-agentic-toolkit) into .agents/skills/building-simulink-models in your project. Codex loads it when a task matches its description.

Can I use Building 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 building-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/building-simulink-models, .gemini/skills/building-simulink-models, .github/skills/building-simulink-models and .opencode/skills/building-simulink-models in your project.

What does Building Simulink Models need to run?

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

Does Building 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 Building 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. Review the folder before installing.

What licence does Building Simulink Models use?

Building 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 Building Simulink Models use?

About 2.3k tokens (SKILL.md is roughly 9.3k 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.1k tokens, read only when the agent opens those files.

What are the alternatives to Building Simulink Models?

Skills that share tags, products or a category with Building Simulink Models: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (pietheinstrengholt/rssmonster, 564 stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Building 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.