- name
SKILL.md
Le fichier du skill reste dans le dépôt de l'éditeur.
Collez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a cursor -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a claude-code -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a codex -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a grok -yEnvoyez le message copié dans un chat Grok Bot. Le Bot récupère ce SKILL.md sur GitHub et l'ajoute aux skills que partagent tous vos Bots.
Install this skill: https://github.com/matlab/simulink-agentic-toolkit/tree/HEAD/skills-catalog/model-based-design-core/configuring-block-policyDe l'éditeur
Create or update .satk/block-policy.json — the file that controls which blocks (library or built-in) the agent can use, which are excluded, and which block parameters the agent should not modify.
building-simulink-models routes here via the policy gatebuilding-simulink-modelssimulink-curating-library-kgbuilding-simulink-models.satk/reuse-libraries.json must exist..satk/block-policy.json exist? If yes, load and summarize. If no, start fresh.referenceBlock + reason.referenceBlock + protectedParams[].library.BlockPolicy.save().policyData = struct();
policyData.policyMode = 'approved_blocks_only';
policyData.fallbackToBuiltins = false;
% Excluded — agent will never place these blocks
policyData.blockedBlocks = struct('referenceBlock', 'LegacyLib/OldCtrl', 'reason', 'Superseded');
% Protected params — agent won't modify these values
policyData.blockRules = struct('referenceBlock', 'Lib/SpeedCtrl', ...
'protectedParams', {{'Kp', 'Ki', 'Kd'}});
library.BlockPolicy.save(projectRoot, policyData);
For defaults (no restrictions):
policyData = library.BlockPolicy.defaults();
library.BlockPolicy.save(projectRoot, policyData);
{
"schemaVersion": 1,
"policyMode": "approved_blocks_only | prefer_customer_libraries",
"fallbackToBuiltins": false,
"blockedBlocks": [
{ "referenceBlock": "LegacyLib/OldController", "reason": "Superseded" }
],
"blockRules": [
{ "referenceBlock": "Lib/SpeedController", "protectedParams": ["Kp", "Ki", "Kd", "SampleTime"] }
]
}
policyMode: must be prefer_customer_libraries or approved_blocks_onlyapproved_blocks_only + fallbackToBuiltins: true → rejected (contradictory)protectedParams must be a non-empty array of stringsWhen .satk/block-policy.json already exists:
library.BlockPolicy.loadRaw(projectRoot, libConfig)Common updates: exclude a block, mark params as off-limits, change mode, remove an entry.
block-policy.json without user confirmationlibrary.BlockPolicy.validate(policyData))referenceBlockCopyright 2026 The MathWorks, Inc.
Guide users through creating and managing .satk/block-policy.json for controlling which blocks the agent can use, which are excluded, and which block parameters the agent should not modify. Use when s
---name: configuring-block-policydescription: Guide users through creating and managing .satk/block-policy.json for controlling which blocks the agent can…---# skills-catalog/model-based-design-core/configuring-block-policy/SKILL.mdVue d'ensemble
Guide users through creating and managing .satk/block-policy.json for controlling which blocks the agent can use, which are excluded, and which block parameters the agent should not modify. Use when setting up block usage policy for a project.
FAQ
Téléchargez skills-catalog/model-based-design-core/configuring-block-policy/SKILL.md auprès de l'éditeur, ou copiez le chemin et ouvrez le dépôt. PlugMCP répertorie le skill et n'héberge pas le fichier.
L'éditeur le maintient sur https://github.com/matlab/simulink-agentic-toolkit.
Claude, Cursor, Codex et Grok Build peuvent lire un SKILL.md que vous ajoutez depuis le dépôt de l'éditeur. Grok Bot l'installe lorsque vous envoyez dans un chat le lien du dossier GitHub du skill.