用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/workweave/router --skill router-models命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | router-models |
| description | List the models the Weave Router may route to, and turn them on or off. |
When the user invokes $router-models, show which models this
installation lets the router pick from, and change that selection when asked.
This is the same list — and the same stored setting — as the checkboxes on the
router dashboard's settings page.
Start by running:
npx --package @workweave/router -y -- weave-router models --codex{{SCOPE}}
That prints every deployed model grouped by provider, with [x] for models the
router may pick and [ ] for models it may not. Present it back as a compact
checklist in that same [x] / [ ] form, keeping the provider grouping and the
exact model ids — the user selects models by id.
Then:
weave-router models enable <id>... --codex{{SCOPE}} or
weave-router models disable <id>... --codex{{SCOPE}} (add providers before
enable/disable to switch a whole provider). Several ids can go in one
call. Then re-run the list and show the result.Other things they might ask for:
weave-router models prefer <id> <id>... --codex{{SCOPE}} (order matters), or
weave-router models prefer clear --codex{{SCOPE}} to drop the ranking.weave-router models providers --codex{{SCOPE}}.If the command reports that this router doesn't expose model selection, that's a Weave-hosted router: model selection belongs to the whole organization there, so tell the user to change it at https://router.workweave.ai/dashboard/settings — don't try to work around it. Its listing carries no on/off state, so present it as a plain list; don't infer which models are enabled.
Disabling a model takes effect on the router's next routing decision; no restart is needed.
Alias for force-model — pin this Codex session to a specific model through the Weave Router.
Pin this Codex session to a specific model through the Weave Router.
Alias for router-feedback — submit feedback about a Weave Router decision or model performance.