跳到正文
cccskills
免费在 GitHub 公开

router-models

View which models Weave Router can choose, grouped by provider. Enable or disable individual models or entire providers, set a preference order, and review the updated selection without restarting the router.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

List the models the Weave Router may route to, and turn them on or off.

查看安装方法

适用场景

  • Review available models by provider
  • Enable or disable specific models
  • Enable or disable an entire provider
  • Set or clear model preferences

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

<!-- weave-router managed router-models skill -->

Weave Router model selection

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 @weave-os/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:

  • If the user named models or providers, work out whether they want them on or off from how they phrased it, and apply it with 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.
  • If they named nothing, stop after the list and ask which ones to change. Never change anything they did not ask for.

Other things they might ask for:

  • Rank models by preference: weave-router models prefer <id> <id>... --codex{{SCOPE}} (order matters), or weave-router models prefer clear --codex{{SCOPE}} to drop the ranking.
  • Providers only: 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/models — 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Investigate unexpected Claude Code output by matching a session’s local transcript with production router logs. Identify the serving model and trace response conversion code to explain empty blocks, tool output, or other rendering symptoms.

中文简介正在准备中。当前显示英语简介。

  • Investigate unexpected output in a specific session
  • Examine an empty thinking block
  • Match displayed content to the serving model and provider
weave-os/router55952026年10月19日 更新

Investigate a Codex CLI session by matching its local conversation record with production router logs. Use the session ID to examine missing reasoning summaries, routing markers, unexpected models, or unusual tool calls and trace relevant code paths.

中文简介正在准备中。当前显示英语简介。

  • Investigate missing reasoning summaries
  • Confirm which model actually served a turn
  • Trace missing or unexpected routing markers
weave-os/router55952026年10月19日 更新

Switch Codex from Weave Router back to its normal provider for future sessions. Keep the existing login and router configuration, receive the command result, and retain the option to turn routing on again later.

中文简介正在准备中。当前显示英语简介。

  • Return Codex to its normal provider
  • Disable routing while keeping router configuration
  • Switch providers without logging out
weave-os/router55952026年10月19日 更新

fm

免费

Pin the current Codex session to a chosen model through Weave Router. This short alias accepts a model ID, runs the included script, and reports the router’s response while allowing the current turn to continue.

中文简介正在准备中。当前显示英语简介。

  • Pinning a Codex session to a chosen model
  • Using a short alias for force-model
  • Checking the router’s response after pinning a model
weave-os/router55952026年10月19日 更新

Pin the current Codex session to a specific model through Weave Router by providing its model ID. The skill applies the pin, continues the same turn, and reports the router's response.

中文简介正在准备中。当前显示英语简介。

  • Pinning the current Codex session to a model
  • Specifying a model by its ID
  • Applying a model pin while continuing the same turn
weave-os/router55952026年10月19日 更新

Set up language servers, programs that help tools understand source code, for Go, TypeScript, Python, and Rust. Check missing prerequisites, install them with approval, and verify the lsp tool against a real source file.

中文简介正在准备中。当前显示英语简介。

  • Enable language support for the lsp tool
  • Install a missing language server
  • Set up prerequisite development tools
weave-os/router55952026年10月19日 更新

查看 weave-os 的全部技能

报告此技能的问题