用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/KYRIE66nb/codex-omx-public-config --skill simulink-interactions命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | simulink-interactions |
| description | Resolve Simulink edit context. |
| metadata | {"version":"1.0"} |
Resolve what the user is referring to in an already-open Simulink session, then route to the right skill.
building-simulink-modelslogsout → use simulating-simulink-modelstesting-simulink-modelssimulink-data-managementUse mcp__simulink__evaluate_matlab_code to resolve references:
| User says | MATLAB expression |
|---|---|
| "this model" | bdroot(gcs) |
| "this system" / "this subsystem" | gcs |
| "this block" | gcb |
| "selected blocks" (plural) | see snippet below |
| "all [Type] blocks in this subsystem" | see snippet below |
| "all [Type] blocks in the model" | see snippet below |
Always verify the result is non-empty. If gcb or gcs returns an empty string, tell the user no block or subsystem is currently selected and ask them to select one or provide a path.
opts = Simulink.FindOptions;
opts.SearchDepth = 1;
blks = getfullname(Simulink.findBlocks(gcs, 'Selected', 'on', opts));
if isempty(blks)
disp('No blocks are currently selected.');
else
disp(blks)
end
opts = Simulink.FindOptions;
opts.SearchDepth = 1;
BlockType = 'Gain'; % replace with actual type
blks = getfullname(Simulink.findBlocksOfType(gcs, BlockType, opts));
BlockType = 'Gain'; % replace with actual type
blks = getfullname(Simulink.findBlocksOfType(bdroot, BlockType));
Once you have the resolved block path(s) or model name, use it as input to the appropriate skill:
| User intent | Hand off to |
|---|---|
| Inspect model structure or topology | model_read / model_overview |
| Query parameter values | model_query_params |
| Resolve variable-backed values | model_resolve_params |
| Edit structure or parameters | building-simulink-models (via model_edit) |
| Run simulation or access results | simulating-simulink-models |
| Write or run pass/fail tests | testing-simulink-models |
| Organize variables or dictionaries | simulink-data-management |