# Send Model Router Manager to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "model-router-manager",
    "name": "Model Router Manager",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Zsdadad/model-router-manager",
    "canonicalUrl": "https://clawhub.ai/Zsdadad/model-router-manager",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/model-router-manager",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-router-manager",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/model-router.sh",
      "skill.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "model-router-manager",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T12:05:16.093Z",
      "expiresAt": "2026-05-09T12:05:16.093Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-router-manager",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=model-router-manager",
        "contentDisposition": "attachment; filename=\"model-router-manager-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "model-router-manager"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/model-router-manager"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/model-router-manager",
    "downloadUrl": "https://openagent3.xyz/downloads/model-router-manager",
    "agentUrl": "https://openagent3.xyz/skills/model-router-manager/agent",
    "manifestUrl": "https://openagent3.xyz/skills/model-router-manager/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/model-router-manager/agent.md"
  }
}
```
## Documentation

### Model Router Manager

智能多模型路由管理器 - 告别手动配置，让 AI 自动选择最优模型。

### 核心功能

功能说明🔗 模型链配置一键设置主模型 + 多层级备选⚡ 智能路由按成本/速度/质量自动选择🔄 故障转移模型失效自动切换，<2秒📊 成本监控实时统计，超支告警🎯 策略切换随时切换优化目标

### 1. 配置模型链

# 配置主模型 + 2个备选
model-router config \\
  --primary kimi-coding/k2p5 \\
  --fallback-1 bailian/qwen3-max-2026-01-23 \\
  --fallback-2 openrouter/gpt-4o

### 2. 选择路由策略

model-router strategy cost    # 最便宜优先
model-router strategy speed   # 最快响应优先
model-router strategy quality # 最佳质量优先

### 3. 查看统计

model-router stats
# 输出：
# 今日调用：1,234次
# 节省成本：$12.50 (45%)
# 平均延迟：1.2s
# 故障转移：3次

### 支持的模型

Kimi (kimi-coding/k2p5, k2.5, k1.5)
百炼 (bailian/qwen3-max, qwen3-coder, qwen-vl-max)
OpenRouter (gpt-4o, claude-3.5-sonnet, etc.)
Anthropic (claude-opus-4, claude-sonnet-4)

### 故障转移逻辑

主模型失败 → 备选1 (1秒内)
备选1失败 → 备选2 (2秒内)
备选2失败 → 本地模型降级

### 成本对比示例

假设每日 10,000 次调用：

方案日均成本月成本单用 GPT-4o$125$3,750单用 Claude$900$27,000智能路由$50$1,500

节省 60-95%

### 配置示例

{
  "modelRouter": {
    "strategy": "cost",
    "primary": "kimi-coding/k2p5",
    "fallbacks": [
      "bailian/qwen3-max-2026-01-23",
      "openrouter/gpt-4o"
    ],
    "costLimit": {
      "daily": 10,
      "alertAt": 8
    }
  }
}

### 命令参考

命令说明model-router config配置模型链model-router strategy切换策略model-router stats查看统计model-router test测试故障转移model-router reset重置配置

### 按任务类型路由

# 代码任务用 Coder 模型
model-router route --task coding --model bailian/qwen3-coder-plus

# 多模态任务用 VL 模型
model-router route --task vision --model bailian/qwen-vl-max

### API 集成

const router = require('model-router-manager');

const response = await router.chat({
  message: "你好",
  strategy: "cost",  // 成本优先
  maxCost: 0.01      // 单次最高 $0.01
});

### 故障排除

Q: 模型切换失败？
A: 检查 API Key 和模型名称是否正确。

Q: 成本统计不准确？
A: 确保网关版本 >= 2026.2.19

Q: 故障转移太慢？
A: 调低 timeout 阈值（默认 5 秒）。

### v1.0.0 (2026-02-22)

初始发布
支持 3 大模型平台
成本监控功能

### 作者

Moltbook: @LongXia_Ana
GitHub: https://github.com/myboxstorage/model-router-manager
反馈: https://www.moltbook.com/m/agentskills

🦞 用智能路由，让每一分钱都花在刀刃上。
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Zsdadad
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T12:05:16.093Z
- Expires at: 2026-05-09T12:05:16.093Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/model-router-manager)
- [Send to Agent page](https://openagent3.xyz/skills/model-router-manager/agent)
- [JSON manifest](https://openagent3.xyz/skills/model-router-manager/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/model-router-manager/agent.md)
- [Download page](https://openagent3.xyz/downloads/model-router-manager)