Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/setup-custom-libraries
Register, add, or update existing custom Simulink block libraries and configure block policy and knowledge index.
Passed 4 of 10 test cases with the skill, and 2 of 10 without it.
and 4 more in the full report
6 fixed2 passed either way12 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am looking at the custom library management menu in my configured project. I selected option (b) to update my block policy. What skill should be loaded?
| Checked | Without skill | With skill |
|---|---|---|
| Loads the configuring-block-policy skill. | Missed | Passed |
The instructions your model reads when the skill loads.
Register or update custom Simulink block libraries so the agent prefers them over built-in blocks during model building.
.slx files to an existing library configurationbuilding-simulink-models routes here via the policy gate (gatePass: false)found: false — that means no custom libraries are configured and the user hasn't asked for them.slx library file) → use building-simulink-models skill with model_edit directly. This skill only registers existing libraries; it cannot create library content.configuring-block-policysimulink-curating-library-kgDo 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 filesInterpret the result:
found: false → no custom libraries configured. Do NOT proceed with setup unless the user explicitly asked. Return control to the calling skill.gatePass: true, found: true → all data files present and KB populated. Offer management menu (below).gatePass: false, found: true → libraries declared but KB needs population. Skip Gate 1 (libraries already exist). Start from Gate 2 below using dataRoot as the target.Follow references/library-setup.md for all gate API details — it is the single source of truth for API calls, examples, and options at each gate.
Gate 1 — Library declaration: Only when the user explicitly asked to set up custom libraries and no libraries file exists yet. STOP and ask the user about reusable libraries. Present two options: Yes (declare libraries) or None (no libraries right now). Do not read reference files, open models, or plan blocks until they respond.
prefdir via library.LibraryConfig.save(prefdir(), libraries).test cases passed, vs 2 / 10 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.