simulink-integrate-python-code
matlab/simulink-agentic-toolkitAI & ML engineeringCoding & code review
simulink-integrate-python-code is a skill in matlab/simulink-agentic-toolkit, last changed 11 Nov 2026. It can name web addresses.
Use this skill when running or integrating general Python code (functions, classes, libraries) inside a Simulink model with the Python Code block (R2025a+). Not for trained neural-network models (.pt, .onnx, .h5) or deep-learning inference; use the Deep Learning Toolbox Model Predict blocks or network importers. Covers the SymbolSpec API, data-type mapping, persistent state, shared interpreter, venvs, and module reloading. Triggers: "Python Code block", "Python in Simulink", "integrate Python", "call Python from Simulink", "run my Python function/class in a model", "add Python to model", "use a Python library in a simulation".
At a glance
Pattern check
Nothing flagged
That isn't proof the skill is harmless.
Commit 632f560 · 11 Nov 2026
How the check worksPattern check: nothing flagged
That isn't proof the skill is harmless.
QAI Index
We rate every listed skill the same way, from 0 to 100.
A guide to compare by, not a verdict on the skill.
How it's scoredInstall
Each tab says whether it installs commit 632f560, 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/simulink-modeling/simulink-integrate-python-code (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.
Claude Code
Pinned to commit 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .claude/skills &&mkdir .claude/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .claude/skills/simulink-integrate-python-code/ &&rm -rf "$tmp"If Claude Code was already running and this created the skills folder, run /reload-skills.
Or install the simulink-modeling 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 simulink-modeling@simulink-agentic-toolkit --scope projectClaude apps
Pinned to commit 632f560, the one we checked.
Skills in the Claude apps belong to your account rather than to a project.
Make simulink-integrate-python-code.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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&out="$(mktemp -d)" &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code "$out"/simulink-integrate-python-code &&(cd "$out" && zip -qr - simulink-integrate-python-code) > simulink-integrate-python-code.zip &&rm -rf "$tmp" "$out"In Claude, open Customize > Skills, select +, then + Create skill > Upload a skill, and choose simulink-integrate-python-code.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 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .agents/skills &&mkdir .agents/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .agents/skills/simulink-integrate-python-code/ &&rm -rf "$tmp"Codex picks up new skills on its own; restart it if this one does not appear.
Cursor
Pinned to commit 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .cursor/skills &&mkdir .cursor/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .cursor/skills/simulink-integrate-python-code/ &&rm -rf "$tmp"Copilot & VS Code
Pinned to commit 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .github/skills &&mkdir .github/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .github/skills/simulink-integrate-python-code/ &&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/simulink-modeling/simulink-integrate-python-code/SKILL.md@632f560f34259cad5ef9a6f523c29b0ac3caa588 --agent github-copilot --scope projectGemini CLI
Pinned to commit 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .gemini/skills &&mkdir .gemini/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .gemini/skills/simulink-integrate-python-code/ &&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/simulink-modeling/simulink-integrate-python-code --scope workspaceAny agent
Pinned to commit 632f560, 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 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&git -C "$tmp" sparse-checkout set -- skills-catalog/simulink-modeling/simulink-integrate-python-code &&git -C "$tmp" checkout -q 632f560f34259cad5ef9a6f523c29b0ac3caa588 &&mkdir -p .agents/skills &&mkdir .agents/skills/simulink-integrate-python-code &&cp -R "$tmp"/skills-catalog/simulink-modeling/simulink-integrate-python-code/. .agents/skills/simulink-integrate-python-code/ &&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-integrate-python-codeWhat it can touch
From the files and frontmatter at commit 632f560. This is how much a skill can do, not whether it is risky.
Pattern check
Pattern check: nothing flagged · commit 632f560 · 11 Nov 2026
We checked every text file in this skill, at commit 632f560 on 11 Nov 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
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
The open format from agentskills.io, held to the strictest version of each rule among the agents we check.
- Note
Reference files over 100 lines with no table of contents at the top: references/environment.md (103 lines) and references/examples.md (129 lines). B5
Fix: Add a short list of the sections at the top of each.
- Note
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
Reference files over 100 lines with no table of contents at the top: references/environment.md (103 lines) and references/examples.md (129 lines). B5
Fix: Add a short list of the sections at the top of each.
- 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 634 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
Reference files over 100 lines with no table of contents at the top: references/environment.md (103 lines) and references/examples.md (129 lines). B5
Fix: Add a short list of the sections at the top of each.
- 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
More from matlab/simulink-agentic-toolkit
Other AI & ML engineering skills
Same category, most repo stars first.