Agent skill

Setup Custom Libraries

by matlab in matlab/simulink-agentic-toolkit

Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index.

Custom licenceAuto-check passedTesting & QA

Install Setup Custom Libraries

skills CLI
$ npx skills add matlab/simulink-agentic-toolkit --skill setup-custom-libraries -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install matlab/simulink-agentic-toolkit setup-custom-libraries --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/matlab/simulink-agentic-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills-catalog/model-based-design-core/setup-custom-libraries .claude/skills/setup-custom-libraries && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-custom-libraries
GitHub stars
1.2k
Token cost
~1.5k tokens
SKILL.md length
708 words
Files
3 (incl. references)
Skills in repo
36
Repo updated
First seen
Licence
Custom licence

At a glance

Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index.

  • A user wants to register
  • SKILL.md covers When to Use, When NOT to Use, Workflow and Guardrails
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Add existing .slx library files for agent-assisted model building

What it does

Setup Custom Libraries is an agent skill from matlab/simulink-agentic-toolkit. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `manifest.yaml` and `references/library-setup.md`).

It sits in Testing & QA. The repository describes itself as: The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

When your agent uses it

  • A user wants to register
  • Add existing .slx library files for agent-assisted model building
  • The user wants to create
  • Author a new library from scratch — that requires building-simulink-models

Example prompts

  • “/setup-custom-libraries”

What it can do on your machine

Read from SKILL.md and the folder at commit 455dded. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup Custom Libraries loads about 1.5k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 708 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 708 words (~1,504 tokens).

“Register or update custom Simulink block libraries so the agent prefers them over built-in blocks during model building.”

— opening of SKILL.md by matlab, Custom licence
name
setup-custom-libraries
license
https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata.author
MathWorks
metadata.version
1.2

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills-catalog/model-based-design-core/setup-custom-libraries of matlab/simulink-agentic-toolkit.

  • SKILL.md
  • manifest.yaml
  • references/library-setup.md

Open the folder on GitHubat commit 455dded

Compare with similar skills

Setup Custom Libraries next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup Custom Libraries compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup Custom Libraries this skillmatlab/simulink-agentic-toolkit1.2k—~1.5kAutomated safety check: PassCustom licence
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k31 repos~2.1kAutomated safety check: PassApache-2.0
TDDfossasia/eventyay-interpretation1.6k28 repos~1.1kAutomated safety check: PassApache-2.0
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 31 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    fossasia/eventyay-interpretation

    Test-driven development. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 28 repos~1.1k tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    380 GitHub starsUsed in 8 repos~2.9k tokens
    Testing & QAAuto-check passed

More from matlab/simulink-agentic-toolkit

All 36 skills in this repo
  • Resolve Design Errors

    matlab/simulink-agentic-toolkit

    A skill your agent uses when asked to run Design Error Detection (quick defect scan), find design errors in a Simulink model, perform root cause analysis on DED findings, fix division-by-zero…

    1.2k GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed
  • Simscape Write Ssc

    matlab/simulink-agentic-toolkit

    A skill your agent uses when writing or editing Simscape Language (.ssc) source files — components, domains, or functions.

    1.2k GitHub stars~2.1k tokensUpdated 7 days ago
    Auto-check passed
  • Simulink Optimizing Embedded Code

    matlab/simulink-agentic-toolkit

    Optimizes Simulink models for Embedded Coder generated code.

    1.2k GitHub stars~4.5k tokensUpdated 7 days ago
    Auto-check passed
  • Checking Model Compliance

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to check Simulink model compliance against a standard (MISRA, MAB, JMAAB, ISO, DO, IEC, EN, CERT C/CWE, AUTOSAR, Simulink Code Inspector (SLCI)), wants to…

    1.2k GitHub stars~3k tokensUpdated 7 days ago
    Auto-check passed
  • Fix Sldv Incompatibility

    matlab/simulink-agentic-toolkit

    A skill your agent uses when a Simulink model is incompatible with Simulink Design Verifier (sldvcompat returns false, or an SLDV analysis errors out on an unsupported construct) and needs to be…

    1.2k GitHub stars~3.8k tokensUpdated 7 days ago
    Auto-check passed
  • Simulink Explain Missing Coverage

    matlab/simulink-agentic-toolkit

    A skill your agent uses when the user asks to summarize, or asks why Simulink Coverage objectives are missing, unsatisfied, or uncovered on a coverage result they already have — why specific…

    1.2k GitHub stars~3.2k tokensUpdated 7 days ago
    Auto-check passed

Categories

Questions about Setup Custom Libraries

What does Setup Custom Libraries do?

Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index. Setup Custom Libraries is an agent skill from matlab/simulink-agentic-toolkit. Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index.

When should I use Setup Custom Libraries?

Setup Custom Libraries fits situations like: A user wants to register; add existing .slx library files for agent-assisted model building; the user wants to create; author a new library from scratch — that requires building-simulink-models.

How do I install Setup Custom Libraries in Claude Code?

Run `npx skills add matlab/simulink-agentic-toolkit --skill setup-custom-libraries -a claude-code`. Or copy the skill folder (skills-catalog/model-based-design-core/setup-custom-libraries in matlab/simulink-agentic-toolkit) into .claude/skills/setup-custom-libraries in your project. Claude Code loads it when a task matches its description.

How do I install Setup Custom Libraries in Codex?

Run `npx skills add matlab/simulink-agentic-toolkit --skill setup-custom-libraries -a codex`. Or copy the skill folder (skills-catalog/model-based-design-core/setup-custom-libraries in matlab/simulink-agentic-toolkit) into .agents/skills/setup-custom-libraries in your project. Codex loads it when a task matches its description.

Can I use Setup Custom Libraries in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matlab/simulink-agentic-toolkit --skill setup-custom-libraries -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-custom-libraries, .gemini/skills/setup-custom-libraries, .github/skills/setup-custom-libraries and .opencode/skills/setup-custom-libraries in your project.

What does Setup Custom Libraries need to run?

SKILL.md names no scripts, command-line tools or credentials: Setup Custom Libraries is instructions for the agent only.

Does Setup Custom Libraries access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Setup Custom Libraries safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup Custom Libraries use?

Setup Custom Libraries has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Setup Custom Libraries use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Setup Custom Libraries?

Skills that share tags, products or a category with Setup Custom Libraries: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (fossasia/eventyay-interpretation, 1.6k stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup Custom Libraries?

matlab (a GitHub organization) maintains it in matlab/simulink-agentic-toolkit, which has 1,195 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 30, 2026.

Source: matlab/simulink-agentic-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.