Specify plant models for closed-loop simulation: system specs, architecture, build plans, validation plans. Use when creating, updating, or reviewing plant model specifications, planning plant model architecture, or planning plant model validation.
npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill specifying-plant-models
Structured specification of plant models for closed-loop simulation. Adapts the specifying-software templates for the physics-modeling domain.
building-simulink-modelstesting-simulink-modelsspecifying-mbd-algorithmsspecifying-softwarespecifying-mbd-algorithms for the algorithm side, this skill for the plant sideStore specs per plant model. Prefix every filename with the plant name so files are self-identifying in editor tabs, search results, and flat listings:
docs/specs/plant-models/<plant-name>/
├── <plant-name>-system.md # What & why
├── <plant-name>-architecture.md # Subsystem decomposition
├── <plant-name>-implementation-plan.md # Build sequence
└── <plant-name>-test-plan.md # Validation plan
Example for a plant called motor:
docs/specs/plant-models/motor/
├── motor-system.md
├── motor-architecture.md
├── motor-implementation-plan.md
└── motor-test-plan.md
> Does this plant have <5 states, single-rate dynamics, no strong nonlinearities, and will be built by one person/agent?
> - Yes → Quick spec: 2 documents (system+architecture combined, implementation+test combined)
> - No → Full spec: 4 separate documents
| Spec | Answers | Does NOT Contain |
|------|---------|------------------|
| System | What are we building and why? | Subsystem decomposition, equations |
| Architecture | How is it structured? | Simulink block details, parameter values |
| Implementation Plan | How do we build it? | Actual model_edit commands |
| Test Plan | How do we validate it? | Test execution results |
In quick mode, combine system+architecture and implementation+test into two documents.
Read the controller model with model_overview and model_read. Classify every signal as:
Define the plant boundary and document sample times.
Before researching the domain, establish what evidence exists: test data, datasheets, standard maneuvers, analytic expectations, reference models.
Fidelity must be justified by available evidence — no point modeling dynamics you can't validate. Intended use matters: MIL rapid iteration → lower fidelity acceptable; HIL/code generation → fixed-step, real-time constraints.
Use web_search and read_web_page for standard modeling approaches, reference parameters, and authoritative sources. Consult references/plant-model-guidance.md for cross-domain patterns if needed.
Use references/system-spec-template.md. Key plant-model sections: operating scenarios, physical model requirements, controller interface contract (u/w/y/z with sample times, data types, units), initialization & operating points, rate & timing alignment, validation evidence, reference sources.
Review gate before proceeding — verify:
Get user review before proceeding.
Use references/architecture-spec-template.md. Key plant-model sections: component catalog with physics domain and port interfaces, equations of motion per subsystem, nonlinearities & constraints, numerical considerations (solver, stiffness, algebraic loops), parameter management, uncertainty hooks.
Review gate before finalizing — verify:
Get user review before proceeding.
Use references/implementation-plan-template.md and references/test-plan-template.md.
Implementation plan essentials:
model_read verification and model_query_params spot-checksTest plan essentials:
model_test formatReview gate — Implementation Plan — verify:
Review gate — Test Plan — verify:
Get user approval before building begins.
web_search for domain-specific researchweb_search results from unvetted sources — prefer standards, textbooks, MathWorks docs, and peer-reviewed papersreferences/system-spec-template.md — System spec template (what & why)references/architecture-spec-template.md — Architecture template (subsystem decomposition)references/implementation-plan-template.md — Build sequence templatereferences/test-plan-template.md — Validation plan templatereferences/plant-model-guidance.md — Optional domain reference (decomposition examples, validation maneuvers, solver guide). Human-facing; do not copy verbatim into specs.----
Copyright 2026 The MathWorks, Inc.
----
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Take matlab/specifying-plant-models from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.