← 返回 Skills 市场
digitaladaption

Model Router

作者 digitaladaption · GitHub ↗ · v1.1.0
cross-platform ⚠ suspicious
4875
总下载
5
收藏
53
当前安装
2
版本数
在 OpenClaw 中安装
/install model-router
功能描述
A comprehensive AI model routing system that automatically selects the optimal model for any task. Set up multiple AI providers (Anthropic, OpenAI, Gemini, Moonshot, Z.ai, GLM) with secure API key storage, then route tasks to the best model based on task type, complexity, and cost optimization. Includes interactive setup wizard, task classification, and cost-effective delegation patterns. Use when you need "use X model for this", "switch model", "optimal model", "which model should I use", or to balance quality vs cost across multiple AI providers.
安全使用建议
Review before installing if you handle private, regulated, or business-sensitive data. Only configure provider keys you are comfortable storing locally, restrict access to ~/.model-router, verify each provider is approved for the data you route, and do not rely on the documented model aliases until the alias-to-model mapping is corrected.
功能分析
Type: OpenClaw Skill Name: model-router Version: 1.1.0 The skill is classified as suspicious due to its inherent high-risk capability of collecting and locally storing sensitive API keys for multiple AI providers (e.g., Anthropic, OpenAI, Gemini). While the `scripts/setup-wizard.py` script implements security best practices like using `getpass` for input and setting restrictive file permissions (0o600) on the `~/.model-router/.api-keys` file, the handling of such credentials always presents a significant risk. There is no clear evidence of intentional malicious behavior like exfiltration or unauthorized execution within the provided code or documentation, but the presence of this sensitive capability without explicit API call logic to external endpoints in the provided files, makes it a 'risky capability without clear malicious intent'.
能力评估
Purpose & Capability
The main purpose is coherent: configure providers, classify tasks, and recommend/spawn model-specific sessions. However, the model-spec reference maps several different personas to the same underlying model while describing different quality, cost, and safety-relevant routing behavior.
Instruction Scope
The activation language is broad, but it is mostly aligned with model-routing requests. The documented commands are user-directed rather than hidden automatic execution.
Install Mechanism
No install hook, obfuscated loader, or automatic package execution was found. Setup is manual via the documented Python wizard.
Credentials
The setup wizard collects provider API keys and stores them locally with restrictive permissions, which is expected for the purpose. The larger concern is under-disclosure that routed prompts, attachments, logs, emails, documents, or business data may be sent to external AI providers.
Persistence & Privilege
The skill creates persistent files under ~/.model-router for config and API keys and uses 0o700/0o600 permissions. There is no evidence of background persistence beyond user-invoked spawned sessions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install model-router
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /model-router 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Major update v1.1: Added interactive setup wizard for secure API key configuration, multi-provider support (Anthropic, OpenAI, Gemini, Moonshot, Z.ai, GLM), task-to-model mapping customization, cost optimization levels (aggressive/balanced/quality), enhanced security with file permissions (600), comprehensive documentation with provider comparison tables, troubleshooting guide, and usage examples.
v1.0.0
Initial release - route tasks to optimal models based on complexity
元数据
Slug model-router
版本 1.1.0
许可证
累计安装 183
当前安装数 53
历史版本数 2
常见问题

Model Router 是什么?

A comprehensive AI model routing system that automatically selects the optimal model for any task. Set up multiple AI providers (Anthropic, OpenAI, Gemini, Moonshot, Z.ai, GLM) with secure API key storage, then route tasks to the best model based on task type, complexity, and cost optimization. Includes interactive setup wizard, task classification, and cost-effective delegation patterns. Use when you need "use X model for this", "switch model", "optimal model", "which model should I use", or to balance quality vs cost across multiple AI providers. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4875 次。

如何安装 Model Router?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-router」即可一键安装,无需额外配置。

Model Router 是免费的吗?

是的,Model Router 完全免费(开源免费),可自由下载、安装和使用。

Model Router 支持哪些平台?

Model Router 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Model Router?

由 digitaladaption(@digitaladaption)开发并维护,当前版本 v1.1.0。

💬 留言讨论