matlab-simulink-modeling

matlab-simulink-modeling is a skill for Claude Code, Codex from wzyn20051216/matlab-agent-skills. It costs 105 tokens per session (1,298 once invoked), scanned A, original, MIT.

A workflow for creating, inspecting, changing, simulating, checking, and exporting MATLAB Simulink models. Simulink is MATLAB software for building systems from connected blocks and testing how they behave over time.

In plain words
What is it for?
Use it for Simulink, Stateflow, Simscape, model-based design, parameter sweeps, signal logging, requirements, and simulation automation. It also covers working with model files ending in .slx.
Why use it?
It provides a defined process for safely editing models while checking their structure, settings, signals, and simulation results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Simulink, Stateflow, Simscape, model-based design, parameter sweeps, signal logging, requirements, and simulation automation. It also covers working with model files ending in .slx.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling
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.

Any agent
npx skills add wzyn20051216/matlab-agent-skills --skill matlab-simulink-modeling
Clone the repo
git clone --depth 1 https://github.com/wzyn20051216/matlab-agent-skills

Made for: Claude Code, Codex.

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 matlab-simulink-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling/github.svg)](https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling)
Your own site
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for matlab-simulink-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling"><img src="https://agentmods.dev/badge/skills/wzyn20051216/matlab-agent-skills/matlab-simulink-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00105 $0.01298
Opus 5 $0.00053 $0.00649
Sonnet 5 $0.00021 $0.00260
Haiku 4.5 $0.00011 $0.00130

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

Security

Grade A, and why

matlab-simulink-modeling 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 12d 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/matlab-simulink-modeling/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use this skill for model-based design and simulation workflows.

First Checks

  1. Confirm Simulink is installed with ver and licensed with license('test','Simulink').
  2. Prefer an official MATLAB MCP auto session tied to a visible MATLAB/Simulink desktop before substantial edits. Use load_system, open_system, and set_param(modelName,"ZoomFactor","FitSystem") so the user can see the model.
  3. Audit topology before editing: blocks, lines, solver config, sample times, logged signals.
  4. Prefer existing model architecture and naming.
  5. Save a copy before destructive edits to user models.

Visible Workflow Requirement

The user specifically wants to watch Simulink modeling and simulation, not only receive final artifacts. Default to this sequence unless the user explicitly asks for headless-only execution:

  1. Bring up a visible MATLAB/Simulink window first.
  2. For an existing model, run:
    load_system(modelPath)
    open_system(modelName)
    set_param(modelName,"ZoomFactor","FitSystem")
    
  3. For a new model, call new_system, save it under artifacts/models/ or the project model folder, then immediately open_system before adding the rest of the blocks.
  4. During automated construction, save and refresh the model at meaningful milestones so the user can see progress: plant, controller, feedback path, logging/scopes, and final layout.
  5. During simulation and tuning, open Scope blocks or MATLAB figures and update/plot each run so the user can see response changes.
  6. If the model window does not appear, do not assume success. Verify the visible window title if possible and retry by focusing MATLAB's command window and executing open_system there.
  7. Still export .slx, data, figures, logs, and validation reports for reproducibility after the visible demonstration.

MCP Requirement

For this repository and machine:

  1. Use official MATLAB MCP auto-mode control for model creation, block editing, simulation, and tuning by default.
  2. Let MCP reuse an existing shared session when present, otherwise allow it to start visible MATLAB automatically.
  3. Do not replace visible MCP-driven Simulink work with silent batch execution unless the user explicitly asks for headless execution.
  4. In reports, clearly state that the modeling path was MCP-driven and note any exact blocker if a required MCP action could not be completed.

Read the full file on GitHub · 104 lines

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. 12d ago First seen · 104 lines · 0 tokens per session scan A bc32ece12625

Subscribe to this mod's changes

matlab-simulink-modeling is a skill published in the GitHub repository wzyn20051216/matlab-agent-skills (25 stars, last pushed 2mo ago), licensed MIT. It adds 105 tokens to every session and 1,298 once invoked, about $0.0005 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

ml-experiment-tracker

Plan reproducible ML experiment runs with explicit parameters, metrics, and artifacts. Use before model training to standardize tracking-ready experiment definitions.

0x-Professor/Agent-Skills-Hub · 33 tokens

nature-statistics

Audit, revise, or draft manuscript statistical reporting for Nature / high-impact journal submissions. Use when the user asks to check statistical analysis sections, p values, confidence intervals, sample size, biological versus technical replicates, randomization, blinding, multiple-comparison correction, model…

Yuan1z0825/nature-skills · 139 tokens

nature-experiment-log

A workflow for turning experiment notes, images, audio, or text into structured Markdown laboratory logs with YAML metadata. It can also organize raw attachments and optionally connect the logs to Feishu or Obsidian.

Yuan1z0825/nature-skills · 45 tokens

nature-citation

Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default.…

Yuan1z0825/nature-skills · 236 tokens

cuopt-numerical-optimization-formulation

LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.

NVIDIA/skills · 42 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens