by matlab
The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.
# Add to your Claude Code skills
git clone https://github.com/matlab/simulink-agentic-toolkitGuides for using ai agents skills like simulink-agentic-toolkit.
Last scanned: 5/23/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-23T06:34:28.388Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how simulink-agentic-toolkit compares with popular alternatives.
simulink-agentic-toolkit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by matlab. The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design. It has 1,446 GitHub stars.
Yes. simulink-agentic-toolkit passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/matlab/simulink-agentic-toolkit" and add it to your Claude Code skills directory (see the Installation section above).
simulink-agentic-toolkit is primarily written in HTML. It is open-source under matlab on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh simulink-agentic-toolkit against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
See comparison
The Simulink® Agentic Toolkit enables you to use AI agents with Simulink. It gives your AI agent the knowledge and context to read, build, edit, and test Simulink models by using Model-Based Design best practices. It connects agents to Simulink through the MATLAB MCP Server, giving them the ability (tools) and the knowledge (skills) to work with Simulink models effectively. Use this toolkit to provide trusted Simulink capabilities to your agent. This toolkit helps prevent your AI coding agent from hallucinating, missing new features, and wasting time with extra steps that experienced Simulink users skip.
The toolkit provides:
To use AI agents with MATLAB, install the MATLAB Agentic Toolkit. The Agentic Toolkit Installer can install both toolkits in one step.
┌───────────┐ ┌───────────┐ ┌──────────┐
│ AI Agent │◄─MCP─►│MCP Server │◄─────►│ MATLAB / │
│ (Claude, │ │ (MATLAB │ │ Simulink │
│ Codex, │ │ MCP) │ └──────────┘
│ Copilot) │ └───────────┘
└───────────┘
▲
│ reads
┌─────┴─────┐
│ Skills │
│ (MBD best │
│ practices)│
└───────────┘
Your agent reads skills for domain knowledge, then calls MCP tools to interact with MATLAB and Simulink. The MATLAB MCP Server bridges the connection.
MATLAB R2023a or later with Simulink
An AI coding agent that supports MCP servers and skills. The installer configures supported agents automatically. Supported agents include:
If you use an agent that the installer does not support, follow the instructions in Manual Coding Agent Setup.
Simulink Test (optional) — required only for the model_test tool
Some skills require additional toolboxes (e.g., System Composer, Simscape, Stateflow). Check the requires-products field in each skill's manifest.yaml under skills-catalog/ for additional requirements.
These steps show you how to install the Simulink Agentic Toolkit and the MATLAB MCP Server and how to add skills to your agent.
To install, update, or uninstall the Simulink Agentic Toolkit and MATLAB MCP Server together, use the Agentic Toolkit Installer. Follow the installation instructions in the repository. The installer downloads the toolkit and MATLAB MCP Server, installs the required MATLAB toolboxes, and configures the MCP server and skills for your agent.
If the installer does not support your agent, use the installer to install the toolkit, and then configure your agent manually. For instructions, see Manual Coding Agent Setup.
When you use the installer, you do not need to set up the toolkit for each MATLAB session. The toolkit is automatically available on the MATLAB path, and agents can connect to MATLAB automatically. To use an existing MATLAB session and retain its workspace and loaded models, run shareMATLABSession in that session.
Existing users: If you previously set up the toolkit by using
setupAgenticToolkitor the earlier agent-driven workflow, the installer detects the previous installation and prompts you to remove it. You no longer need to runsatk_initialize. Removesatk_initializefrom yourstartup.mfile. For more information, see Migrate from a Previous Installation.
To check your installation, run this in MATLAB:
satk_doctor
satk_doctor checks the toolkit's MATLAB tools, the MATLAB path, and MATLAB session sharing. To check installed versions, configured agents, and the MCP server, run agentic-toolkit-installer status in a terminal. Confirm that your agent lists the Simulink Agentic Toolkit skills. For example, in Claude Code, use the /skills command.
Then, open a Simulink model. You can use your own model or open an example model.
openExample('simulink_general/sldemo_househeatExample')
This command opens the shipped example model sldemo_househeat. Ask your agent:
Describe the structure of the currently open model.
For troubleshooting, see Configuration and Troubleshooting.
Use satk.Configuration.setToolboxes to activate pre-built knowledge bases for installed MathWorks toolboxes:
satk.Configuration.setToolboxes('all') % Activate all installed toolbox KBs
satk.Configuration.setToolboxes({'Aerospace Blockset', 'Simscape'}) % Activate specific toolboxes by name
satk.Configuration.setToolboxes('none') % Deactivate all toolbox KBs
satk.Configuration.setToolboxes('Simscape', Mode="add") % Keep the active toolbox KBs and add one
satk.Configuration.setToolboxes('Simscape', Mode="remove") % Deactivate just this toolbox
By default (Mode="replace"), the toolboxes you list become the only active ones.
To use your own custom Simulink block libraries with the toolkit, register them in MATLAB once:
satk.Configuration.setCustomLibraries("C:\path\to\customLibs")
This declares your custom libraries. By default (GenerateKB=false), the toolkit does not build the knowledge base immediately. Instead, the agent indexes the libraries into a knowledge base on the next model-building task or when you invoke the simulink-setup-custom-libraries skill. Indexing takes about 3–5 minutes and enables the agent to use custom blocks alongside built-in ones.
Each entry is either a folder, which registers every .slx and .mdl file in
it, or the path to a single library file. To register more than one entry, pass
a string array or a cell array:
% Multiple folders
satk.Configuration.setCustomLibraries(["C:\path\to\motorLibs", "C:\path\to\sensorLibs"])
% Individual library files
satk.Configuration.setCustomLibraries(["C:\libs\motorLib.slx", "C:\libs\sensorLib.slx"])
By default, each call replaces the full set of registered custom libraries.
To keep the registered libraries and add more, use Mode="add":
satk.Configuration.setCustomLibraries("C:\libs\valveLib.slx", Mode="add")
To unregister one library, use satk.Configuration.removeCustomLibrary.
setCustomLibraries accepts the following options:
% Build the knowledge base deterministically from block metadata present in the libraries.
satk.Configuration.setCustomLibraries("C:\path\to\customLibs", GenerateKB=true)
% Choose where the KB and configuration folder is written.
% Omitted -> MATLAB prefdir (default): per-user, global, paths stored absolute.
% <dir> -> an existing directory: library paths on the same drive are
% stored relative to this root (so the .satk folder can be
% committed and shared); paths on a different drive are stored
% absolute.
satk.Configuration.setCustomLibraries("libs", Location="C:\repo\myProject")
When you register custom libraries with a Location, activating toolbox
knowledge bases with setToolboxes writes them into that same .satk folder.
If you activate toolbox KBs globally first and later register custom
libraries with a Location, the toolkit automatically moves the toolbox KBs
alongside the custom libraries.
The agent finds blocks through the knowledge base (KB), markdown pages in the OKF format at .satk/library-kg/. The toolkit generates the pages: setToolboxes adds toolbox pages, and setCustomLibraries registers your custom libraries.
Use satk.Configuration to review and correct how the agent sees your custom library blocks. All methods act on the effective KB; pass Location="global", "project", or a folder to target a specific one.
| Method | Description |
|---|---|
listBlocks |
Table of blocks with each block's library, category, and description. Filter by library (Library=) or category (Category=). |
setBlockDescription |
Set a block's description. The block's pages are regenerated in the same call. |
setBlockCategory |
Move blocks to a category, creating the category if it is new. The affected pages are regenerated in the same call. |
pack |
Zip the KB so you can share it. Relative links keep working. |
% See the blocks of one library, with their categories and descriptions
t = satk.Configuration.listBlocks(Library="MotorLib")
% Improve a block's description so the agent picks it for the right task
satk.Configuration.setBlockDescription("SpeedController", "PI speed loop with anti-windup")
% Move a block to an existing category
satk.Configuration.setBlockCategory("CurrentObserver", "Estimators")
% Move several blocks to a new category (it is created automatically)
satk.Configuration.setBlockCategory(["LegacyPI", "OldPID"], "Deprecated Controllers")
% Check the result
s