
Setup Custom Libraries
Register, add, or update existing custom Simulink block libraries and configure block...
Install
npx skills add matlab/simulink-agentic-toolkit --skill setup-custom-libraries -g -a claude-code -y- Repository
- matlab/simulink-agentic-toolkit1.3k
- Category
- AI and agents
- Updated
- 6d ago
- License
- See repository
- Context cost
- Lightabout 1,370 tokens
- Runs scripts
- No, instructions only
What it does
Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index. Use when a user wants to register, set up, configure, or add existing .slx library files for agent-assisted model building. Do NOT use when the user wants to create or author a new library from scratch, that requires building-simulink-models.
Setup Custom Libraries
Register or update custom Simulink block libraries so the agent prefers them over built-in blocks during model building.
When to Use
- User asks to set up, register, add, or configure custom libraries
- User wants to add new
.slxfiles to an existing library configuration - User says "setup custom libraries", "add my library", "configure libraries", "add a new library file"
building-simulink-modelsroutes here via the policy gate (gatePass: false)- Never invoke when
found: false, that means no custom libraries are configured and the user hasn't asked for them
When NOT to Use
- User wants to create a custom library from scratch (author new blocks, build a new
.slxlibrary file) → usebuilding-simulink-modelsskill withmodel_editdirectly. This skill only registers existing libraries; it cannot create library content. - Only configuring block exclusions or parameter protection (libraries already declared) →
configuring-block-policy - Only curating block descriptions/categories (libraries already declared) →
simulink-curating-library-kg
Workflow
Do this FIRST and ALONE, no other tool calls in the same message.
Call library.settingsLookup(), returns a struct with resolved absolute paths:
found, whether a libraries file was located (satk-libraries.json or legacy reuse-libraries.json)enabled, whether custom libraries are configuredgatePass, whether the gate is satisfieddataRoot, absolute path to the directory containing.satk/kgIndexPath,librariesPath,policyPath, absolute paths to data files
Interpret the result:

