Setup Custom Libraries
Registers custom Simulink block libraries so the agent prefers them over built-in blocks.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 13, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · b5827b2
Enforces MathWorks' own APIs for Simulink library setup: walked the three-gate flow and correctly refused to hand-write .satk JSON or call find_system/load_system, deferring instead to library.LibraryConfig.save() and library.kg.Populate.run() as the guardrails require.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 9/10
- Docs & honesty 5/5
What Setup Custom Libraries does
Walks an agent through a three-gate flow to declare custom Simulink block libraries, set block usage policy, and build a library knowledge index, so model-building agents reuse a team's own blocks instead of primitives. Triggers when a user wants to register, set up, configure, or add files to custom libraries for agent-assisted Simulink model building.
How to install Setup Custom Libraries
git clone https://github.com/matlab/simulink-agentic-toolkit
cd simulink-agentic-toolkit
mkdir -p ~/.claude/skills
cp -r skills-catalog/model-based-design-core/setup-custom-libraries ~/.claude/skills/setup-custom-libraries
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Setup Custom Libraries
-
/setup-custom-librariesRegisters custom Simulink block libraries so the agent prefers them over built-in blocks.
It also activates on plain-language prompts like these:
-
Register our custom Simulink block library so you use it by default -
Set up a policy so you prefer our own Simulink blocks over built-ins -
Index our team's custom Simulink library for model-building reuse
Frequently asked questions
- Is the Setup Custom Libraries skill free?
- Yes. The skill itself is free from matlab/simulink-agentic-toolkit. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Setup Custom Libraries work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 13, 2026. Verdict: Tested · Works. Enforces MathWorks' own APIs for Simulink library setup: walked the three-gate flow and correctly refused to hand-write .satk JSON or call find_system/load_system, deferring instead to library.LibraryConfig.save() and library.kg.Populate.run() as the guardrails require.
- What is the Setup Custom Libraries SkillProof Score?
- 9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
- How do I install Setup Custom Libraries?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Setup Custom Libraries with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.