simulink-configure-model-for-code-generation
matlab/simulink-agentic-toolkitAI & ML engineeringCloud & DevOps
simulink-configure-model-for-code-generation is a skill in matlab/simulink-agentic-toolkit, last changed 7 Oct 2026. It can name web addresses and include files we can't read.
Configure Simulink models for Embedded Coder (ERT), Simulink Coder (GRT rapid-prototyping), or AUTOSAR code generation. Use when the user asks to generate embedded C or C++ code, run a full build of a model, produce a code generation report, configure a model for production/ECU deployment or rapid-prototyping code, target ARM or x86 hardware, apply MISRA C/C++ compliance (ERT/AUTOSAR only — Simulink Coder does not ship MISRA profiles), or set up GRT, ERT, AUTOSAR, or shared-library targets. Handles target selection, hardware mapping, model hierarchy propagation, and constraint introspection via the configure_for_codegen function. Do NOT use for GRT shared-library variants (grt_malloc.tlc), DDS, or ROS, or for iterative optimization workflows that measure baseline metrics, apply targeted changes, and re-measure to confirm improvement.
At a glance
What it can touch
How much a skill can do, not whether it is risky.
Pattern check
1 item to review
Binary, compiled, archived or document file
R32 · High · scripts/configure_for_codegen.pCommit ef5d5f8 · 29 Oct 2026
How the check worksPattern check:1 item to reviewSee it
Install
Each tab says whether it installs commit ef5d5f8, the one we checked, or the latest version.
OpenCode also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Goose also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Windsurf (Devin Desktop) also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Zed also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Roo Code also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Factory Droid also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Junie also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
Amp also looks in .agents/skills/ and ~/.agents/skills/, so use the Any agent steps.
No install command here reaches Kiro. Copy the skill's folder into .kiro/skills/ in your project, or ~/.kiro/skills/ for all your projects. matlab/simulink-agentic-toolkit/skills-catalog/code-generation/simulink-configure-model-for-code-generation (opens in a new tab)
Antigravity also looks in .agents/skills/, so the Any agent steps reach it with This project. For All projects, see where Antigravity looks.
Cline also looks in .claude/skills/, so the Claude Code steps reach it with This project. For All projects, see where Cline looks.
Read this before installing: Binary, compiled, archived or document file — scripts/configure_for_codegen.p
Claude Code
Pinned to commit ef5d5f8, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .claude/skills &&mkdir .claude/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .claude/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"If Claude Code was already running and this created the skills folder, run /reload-skills.
Or install the code-generation plugin it ships in. Installs the latest version, not the one we checked. Installs everything in the plugin, including any hooks, MCP servers and scripts our check doesn't cover.
claude plugin marketplace add matlab/simulink-agentic-toolkit --scope project &&claude plugin install code-generation@simulink-agentic-toolkit --scope projectClaude apps
Pinned to commit ef5d5f8, the one we checked.
Skills in the Claude apps belong to your account rather than to a project.
Make simulink-configure-model-for-code-generation.zip, with the skill folder at the top level:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&out="$(mktemp -d)" &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation "$out"/simulink-configure-model-for-code-generation &&(cd "$out" && zip -qr - simulink-configure-model-for-code-generation) > simulink-configure-model-for-code-generation.zip &&rm -rf "$tmp" "$out"In Claude, open Customize > Skills, select +, then + Create skill > Upload a skill, and choose simulink-configure-model-for-code-generation.zip.
On Free, Pro and Max plans, turn on Code execution and file creation (Create and edit files in newer settings) under Settings > Capabilities.
Codex
Pinned to commit ef5d5f8, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .agents/skills &&mkdir .agents/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .agents/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"Codex picks up new skills on its own; restart it if this one does not appear.
Cursor
Pinned to commit ef5d5f8, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .cursor/skills &&mkdir .cursor/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .cursor/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"Copilot & VS Code
Pinned to commit ef5d5f8, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .github/skills &&mkdir .github/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .github/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"In a running Copilot CLI session, run /skills reload.
Or install it with gh skill, which also installs the commit we checked. Needs GitHub CLI 2.90 or later.
gh skill install matlab/simulink-agentic-toolkit skills-catalog/code-generation/simulink-configure-model-for-code-generation/SKILL.md@ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f --agent github-copilot --scope projectGemini CLI
Pinned to commit ef5d5f8, the one we checked.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .gemini/skills &&mkdir .gemini/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .gemini/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"In a running session, run /skills reload.
Or use Gemini CLI’s own installer. Installs the latest version, not the one we checked.
gemini skills install https://github.com/matlab/simulink-agentic-toolkit.git --path skills-catalog/code-generation/simulink-configure-model-for-code-generation --scope workspaceAny agent
Pinned to commit ef5d5f8, the one we checked.
OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity read .agents/skills in a project.
From your project's root folder:
tmp="$(mktemp -d)" &&git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/matlab/simulink-agentic-toolkit.git "$tmp" &&git -C "$tmp" fetch -q --depth 1 origin ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&git -C "$tmp" sparse-checkout set -- skills-catalog/code-generation/simulink-configure-model-for-code-generation &&git -C "$tmp" checkout -q ef5d5f8faeca13d8c66e94828bf6a44aadaa8b3f &&mkdir -p .agents/skills &&mkdir .agents/skills/simulink-configure-model-for-code-generation &&cp -R "$tmp"/skills-catalog/code-generation/simulink-configure-model-for-code-generation/. .agents/skills/simulink-configure-model-for-code-generation/ &&rm -rf "$tmp"Or use the skills CLI from skills.sh. Installs the latest version, not the one we checked. The skills CLI reports installs to skills.sh unless you set DISABLE_TELEMETRY=1.
npx skills@1.7.4 add matlab/simulink-agentic-toolkit --skill simulink-configure-model-for-code-generationWhat it can touch
From the files and frontmatter at commit ef5d5f8. This is how much a skill can do, not whether it is risky.
Pattern check
Pattern check: 1 item to review · commit ef5d5f8 · 29 Oct 2026
We checked every text file in this skill, at commit ef5d5f8 on 29 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.
How the check worksReport an incorrect finding
Files we didn't read
- scripts/configure_for_codegen.p · binary file
Outside links we did not follow
- https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
Format check
Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.
Agent Skills specPasses with warnings
The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.
- Warning
The body is about 5,082 tokens (approx.); the spec suggests under 5,000. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Warning
Claude CodePasses
Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.
- Note
The body is about 5,082 tokens (approx.); the spec suggests under 5,000. After compaction Claude Code keeps only the first 5,000 tokens of a skill. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Note
Claude apps & API uploadPasses
Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.
- Note
The description is 845 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4
Fix: If the claude.ai upload refuses it, trim the description to 200 characters.
- Note
The body is about 5,082 tokens (approx.); the spec suggests under 5,000. Anthropic's guidance says the same. B2
Fix: Move detail into reference files that the agent reads only when needed.
- Note
- OpenAI (Codex & API)Passes
- VS Code & CopilotPasses
SKILL.md
We only show SKILL.md text here when its licence clearly allows it.
Read SKILL.md on GitHub (opens in a new tab)Files
3 files
| Path | Size |
|---|---|
| SKILL.md (opens in a new tab) | 21 KB |
| manifest.yaml (opens in a new tab) | 706 B |
| scripts/configure_for_codegen.p (opens in a new tab) | 36.1 KB |
More from matlab/simulink-agentic-toolkit
Other AI & ML engineering skills
Same category, most repo stars first.