[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1530":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},1530,"simulink-agentic-toolkit","matlab\u002Fsimulink-agentic-toolkit","matlab","The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.","",null,"HTML",602,74,20,11,0,36,81,332,108,99.63,"Other",false,"main",[26,27,28,29,30,7,31,32,33],"agent-skills","claude-code","codex-plugin","engineering-agents","github-copilot","matlab-mcp-server","mcp-tools","simulink","2026-06-12 04:00:10","# Simulink Agentic Toolkit\n\nGive your AI coding agent the ability to read, build, edit, and test Simulink® models using Model-Based Design best practices.\n\n---\n\n## What It Does\n\nThe Simulink Agentic Toolkit packages MathWorks® Model-Based Design expertise for AI coding agents. It connects agents to Simulink through the [Model Context Protocol (MCP)](https:\u002F\u002Fmodelcontextprotocol.io\u002F), giving them both the **ability** (tools) and the **knowledge** (skills) to work with Simulink models effectively.\n\n- **6 MCP tools** for reading, editing, querying, testing, and checking Simulink models\n- **7 agent skills** encoding MBD best practices for model building, simulation, plant specification, testing, requirements, and more\n- **Automated setup** via a MATLAB&reg; function that installs the MCP server, configures your agent, and registers skills\n- Supports **Claude Code, Copilot, Codex, Amp, and Gemini CLI**\n\n---\n\n## How It Works\n\n```\n┌───────────┐       ┌───────────┐       ┌──────────┐\n│ AI Agent  │◄─MCP─►│MCP Server │◄─────►│ MATLAB \u002F │\n│ (Claude,  │       │ (MATLAB   │       │ Simulink │\n│  Codex,   │       │ MCP Core) │       └──────────┘\n│  Copilot) │       └───────────┘\n└───────────┘\n      ▲\n      │ reads\n┌─────┴─────┐\n│  Skills   │\n│ (MBD best │\n│ practices)│\n└───────────┘\n```\n\nYour agent reads **skills** for domain knowledge, then calls **MCP tools** to interact with MATLAB and Simulink. The [MATLAB MCP Core Server](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fmatlab-mcp-core-server) bridges the connection (downloaded during setup).\n\n---\n\n## Supported Platforms\n\n| Platform | Setup | Notes |\n|----------|-------|-------|\n| [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) | Automated | |\n| [GitHub Copilot](https:\u002F\u002Fgithub.com\u002Ffeatures\u002Fcopilot) | Automated | |\n| [OpenAI Codex](https:\u002F\u002Fopenai.com\u002Fcodex) | Automated | |\n| [Gemini CLI](https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-cli) | Automated | |\n| [Sourcegraph Amp](https:\u002F\u002Fampcode.com\u002F) | Automated | |\n\n> Automated setup has been verified with basic workflows on each platform. The toolkit is under active development — please [report issues](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fsimulink-agentic-toolkit\u002Fissues) if you encounter problems.\n\n## Quick Start\n\n> **Full walkthrough:** See the [Getting Started guide](GETTING_STARTED.md) for detailed instructions, platform-specific notes, verification steps, and troubleshooting.\n\n**Prerequisites:**\n* MATLAB R2023a or later with Simulink\n* Supported AI coding agent\n\n### Automated Setup (Recommended)\n\nThe `setupAgenticToolkit` function handles installation, configuration, updates, and uninstallation for both the MATLAB and Simulink Agentic Toolkits. Download `agenticToolkitInstaller.mltbx` from the [latest release](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fsimulink-agentic-toolkit\u002Freleases), install it in MATLAB, then run:\n\n```matlab\nsetupAgenticToolkit(\"install\")\n```\n\nThis downloads the MCP server binary and toolkit files to `~\u002F.matlab\u002Fagentic-toolkits\u002F`, then walks you through configuring your first coding agent (MCP server entry + skill registration). To set up additional agents later, run `setupAgenticToolkit(\"configure\")`. To update to the latest version, run `setupAgenticToolkit(\"update\")`. If your organization uses a CLI wrapper, pass `AgentCLI=\"claude-code=\u002Fpath\u002Fto\u002Fwrapper\"` during configure.\n\n> **Existing users:** If you previously set up the toolkit using the agent-driven workflow, you must uninstall that setup first. See [Migrating from a Previous Installation](GETTING_STARTED.md#migrating-from-a-previous-installation) in the Getting Started guide.\n\n### Manual Setup\n\nIf you already have the [MATLAB MCP Core Server](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fmatlab-mcp-core-server) installed or prefer full control, you can configure the toolkit manually. See [Manual Setup](GETTING_STARTED.md#manual-setup) in the Getting Started guide.\n\n### MATLAB Setup (all platforms)\n\nThe MCP server connects to a running MATLAB session. Open MATLAB and run:\n\n```matlab\naddpath(\"~\u002F.matlab\u002Fagentic-toolkits\u002Fsimulink\")\nsatk_initialize\n```\n\n### Verify\n\nIn MATLAB, open any Simulink model — your own, or a shipped example like `f14`:\n\n```matlab\nopenExample(\"simulink\u002FAddBlockToModelFromLibraryExample\")       % only needed for R2023b+\nopen_system(\"f14\")\n```\n\nThen ask your agent:\n\n```\nDescribe the structure of the currently open model.\n```\n\n---\n\n## MCP Tools\n\n| Tool | What your agent can do |\n|------|------------------------|\n| `model_overview` | Explore model architecture — see subsystem hierarchy, interfaces, and how major components connect |\n| `model_read` | Understand model behavior — inspect blocks, algorithmic expressions, signal flow, and parameter values |\n| `model_edit` | Build and modify models — add blocks, wire signals, create subsystems, and configure parameters |\n| `model_test` | Verify requirements — run human-readable Gherkin tests with automatic harness generation *(requires Simulink Test)* |\n| `model_query_params` | Inspect any parameter — query block settings, signal properties, solver config, and logging flags |\n| `model_resolve_params` | Get actual values — resolve workspace variables like `Kp` to their numeric values across all scopes |\n\n---\n\n## Agent Skills\n\nSkills are organized in the [skills catalog](skills-catalog\u002F). The core skill group includes:\n\n| Skill | What it teaches your agent |\n|-------|---------------------------|\n| `building-simulink-models` | Best practices for structural model changes — adding blocks, wiring, layout |\n| `filing-bug-reports` | Generate standalone bug reports for reproducing, investigating, and fixing issues |\n| `simulating-simulink-models` | Run simulations for data exploration, parameter sweeps, and custom analysis |\n| `specifying-mbd-algorithms` | Specify algorithms for MBD — system specs, architecture specs, implementation and test plans |\n| `specifying-plant-models` | How to specify plant models for closed-loop simulation |\n| `testing-simulink-models` | How to test model behavior — reproduce issues, verify changes, regression tests |\n| `generate-requirement-drafts` | Requirements generation — prefers Requirements Toolbox (.slreqx) with traceability links when available, falls back to structured YAML |\n\n---\n\n## Repository Structure\n\n```\nsimulink-agentic-toolkit\u002F\n├── skills-catalog\u002F           # Agent skills (not auto-discovered)\n│   └── model-based-design-core\u002F  # Core MBD skills (7 skills)\n├── tools\u002F                    # MCP tool implementations\n├── satk_initialize.m         # MATLAB session setup entry point\n└── research-previews\u002F        # Curated example tasks\n```\n\n---\n\n## Research Preview: Agentic Task Explorer\n\nThe Agentic Task Explorer provides curated, multi-step tasks that demonstrate what agents can do with Simulink — model understanding, creation, modification, testing, bug fixing, and verification. Each task includes Simulink models and supporting files, ready to go.\n\n```matlab\nslAgenticTaskExplorer\n```\n\nSelect a task from the interactive UI. The explorer stages it into an isolated workspace with all required files, then opens your coding agent. Each task presents step-by-step prompts — copy each prompt into your coding agent and watch it work.\n\n*This is a research preview. Behavior and interfaces may change.*\n\n---\n\n## Requirements\n\n- **MATLAB R2023a or later** with **Simulink**\n- **Simulink Test** *(optional)* — required only for `model_test`\n- **System Composer** *(optional)* — enables architecture modeling and component analysis\n- **Simscape** *(optional)* — enables physical modeling domain support\n- **Stateflow** *(optional)* — enables state machine and chart analysis\n- A supported **AI coding agent** (see [Supported Platforms](#supported-platforms))\n\n---\n\n## AI Model Capability Guidance\n\nThis toolkit relies on strong multi-step reasoning, tool use, and coding performance from the AI model.\n\nWe have tested the toolkit with higher-capability models, including Claude Opus and Sonnet, OpenAI GPT-5 models, and Gemini Pro models, and have generally seen good results on demanding workflows.\n\nModel capability has a significant impact on quality. In our testing, lightweight or lower-capability models were less reliable for tasks such as model construction and complex edits, and were more likely to produce incomplete or incorrect results. These models may still be sufficient for simpler tasks, but for the best overall experience we recommend using a higher-capability model.\n\n---\n\n## Documentation\n\n| Resource | Description |\n|----------|-------------|\n| [Getting Started](GETTING_STARTED.md) | Setup tutorial with per-agent instructions and troubleshooting |\n| [Skills Catalog](skills-catalog\u002F) | Browse all agent skill groups and individual skills |\n\n## Reporting Bugs\n\nIf you encounter a bug, use the **filing-bug-reports** skill to generate a report before opening a GitHub issue. Ask your agent:\n\n```\nFile a bug report for this issue\n```\n\nThe skill automatically captures environment details, reproduction steps, and error output — producing a complete report in your workspace. Then [open a bug report](https:\u002F\u002Fgithub.com\u002Fmathworks\u002Fsimulink-agentic-toolkit\u002Fissues\u002Fnew?template=bug_report.yml) and paste the generated report. **Be sure to run the skill in the same session where the bug occurred**, since it uses conversation context to reconstruct what happened. If the issue did not occur in a chat session, describe the issue as best you can to the agent, then ask it to file a bug report.\n\n## Contributing\n\nWe welcome feedback through [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fsimulink-agentic-toolkit\u002Fissues). Pull requests are reviewed for ideas and feedback but are not merged from external contributors. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## Security Considerations\n\nWhen using the Simulink Agentic Toolkit and MATLAB MCP Core Server, you should thoroughly review and validate all tool calls before you run them. Always keep a human in the loop for important actions and only proceed once you are confident the call will do exactly what you expect. For more information, see [User Interaction Model (MCP)](https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002F2025-06-18\u002Fserver\u002Ftools#user-interaction-model) and [Security Considerations (MCP)](https:\u002F\u002Fmodelcontextprotocol.io\u002Fspecification\u002F2025-06-18\u002Fserver\u002Ftools#security-considerations).\n\n## Licensing and Usage\n\nThe license is available in the [LICENSE.md](LICENSE.md) file in this GitHub repository.\n\nMCP servers are only permitted to be used with MATLAB and Simulink in accordance with the MathWorks Software License Agreement, and must not be shared by multiple users. Contact MathWorks if you need to support shared or centralized server use.\n\n## Contact Support\n\nMathWorks encourages you to use this repository and provide feedback. To request technical support or submit an enhancement request, [create a GitHub issue](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fsimulink-agentic-toolkit\u002Fissues) or [contact technical support](https:\u002F\u002Fwww.mathworks.com\u002Fsupport\u002Fcontact_us.html). For MATLAB MCP Core Server issues and support, see the [MATLAB MCP Core Server](https:\u002F\u002Fgithub.com\u002Fmatlab\u002Fmatlab-mcp-core-server) repository.\n\n---\n\nCopyright 2025-2026 The MathWorks, Inc.\n","Simulink Agentic Toolkit 是一个为AI编码代理提供与Simulink和基于模型设计高效协作能力的工具包。它通过Model Context Protocol (MCP)连接AI代理至Simulink环境，赋予代理读取、构建、编辑及测试Simulink模型的能力，并内置了7种编码最佳实践技能以指导模型开发、仿真、测试等任务。该工具包自动配置MATLAB MCP服务器并注册相关技能，支持Claude Code、Copilot、Codex等多种AI编码平台。适用于需要将AI技术集成到复杂系统建模与仿真的场景中，如自动化控制系统的开发与测试等领域。",2,"2026-06-11 02:44:29","CREATED_QUERY"]