- name
SKILL.md
El archivo de la skill permanece en el repositorio del publicador.
Pega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a cursor -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a claude-code -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a codex -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add matlab/simulink-agentic-toolkit --skill configuring-block-policy -a grok -yEnvía el mensaje copiado en un chat de Grok Bot. El Bot obtiene este SKILL.md de GitHub y lo añade a las skills que comparten todos tus Bots.
Install this skill: https://github.com/matlab/simulink-agentic-toolkit/tree/HEAD/skills-catalog/model-based-design-core/configuring-block-policyDel publicador
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.mdResumen general
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.
Preguntas frecuentes
Descarga skills-catalog/model-based-design-core/configuring-block-policy/SKILL.md desde el publicador, o copia la ruta y abre el repositorio. PlugMCP lista la skill y no aloja el archivo.
El publicador lo mantiene en https://github.com/matlab/simulink-agentic-toolkit.
Claude, Cursor, Codex y Grok Build pueden leer un SKILL.md que añadas desde el repositorio del publicador. Grok Bot lo instala cuando envías en un chat el enlace a la carpeta de la skill en GitHub.