← 返回 Skills 市场
jsgoecke

Model Router

作者 jsgoecke · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
656
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-model-router
功能描述
Intelligent cost-aware model routing that classifies task complexity and selects the optimal AI model. Automatically routes simple tasks to cheap models and...
安全使用建议
This skill appears to be what it claims — a classifier + router that chooses cheaper or more capable models — but there are a few things to check before installing: - Provider access: The SKILL.md references OpenRouter and many provider model IDs, but the skill declares no required API keys. Confirm who supplies model credentials in your environment (the platform, the user, or the skill). If the platform will route model calls on your behalf, verify its access controls; if the skill expects your keys, ask the author to declare them explicitly. - Source & transparency: There's no source repository or homepage listed. Prefer skills with auditable source code or at least a maintainer contact, especially for anything that will autonomously route requests across external models. - Sensitive data routing: This router will send user tasks to external models. Consider restricting it or not using it for confidential or regulated data unless you know which provider and what policies apply. Cheap/free models may have different privacy/retention rules. - Pricing accuracy & maintenance: Pricing and model availability change quickly. Treat the included pricing/model list as advisory and test in a safe environment; ask for a way to pin or update provider mappings. - Test in non-production: Try it in a sandbox with low-risk workloads to confirm routing behavior, rate limits, and that the platform enforces provider credentials as you expect. If you want a higher-confidence assessment, provide the full SKILL.md (untruncated), the platform's model-credential model (who holds API keys), or a source repo/homepage for the skill so we can inspect whether it ever reads environment variables or attempts to fetch external code.
功能分析
Type: OpenClaw Skill Name: openclaw-model-router Version: 0.1.0 The skill bundle provides instructions for an OpenClaw agent to intelligently route tasks to different AI models based on complexity and cost, using the `sessions_spawn` command. All instructions in `SKILL.md` are consistent with this stated purpose, detailing model selection, optimization modes, and escalation patterns. There is no evidence of prompt injection designed to subvert the agent's core function, exfiltrate data, establish persistence, execute arbitrary malicious commands, or engage in any other harmful behavior. The use of `sessions_spawn` is for legitimate task execution within the agent's expected capabilities, not for malicious self-exploitation.
能力评估
Purpose & Capability
The SKILL.md describes model-tier classification and explicit provider model IDs and pricing, which aligns with a 'model router' purpose. However, the skill references multiple external providers and OpenRouter model IDs but declares no required credentials or primary credential—this is unexpected unless the platform itself supplies provider access. Also the registry metadata lists no source or homepage, reducing transparency.
Instruction Scope
Runtime instructions are narrowly focused on (1) classifying task complexity and (2) selecting a model tier before calling sessions_spawn / delegating to a sub-agent. The guidance does not (as provided) ask the agent to read unrelated files, harvest environment variables, or exfiltrate data outside model invocation. Rules and keyword-based heuristics are explicit rather than vague.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so it writes nothing to disk and has minimal installation risk.
Credentials
The instructions reference OpenRouter and many provider-specific model IDs and pricing, which in practice requires model-access credentials (API keys) or platform-managed provider access. Yet requires.env and primary credential are empty. That mismatch is concerning because it hides the true credential/permission model: either the platform already supplies credentials (acceptable) or the SKILL.md expects the agent to obtain/require keys but doesn't declare them (poor hygiene and a transparency gap).
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent or cross-skill config changes in the provided instructions. It can be invoked autonomously (platform default), which is normal — but combined with credential/coverage gaps this increases impact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-model-router
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-model-router 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Major release: introduces a comprehensive, cost-aware model routing guide for OpenClaw agents. - Describes a 5-tier system (FREE to REASONING) for routing tasks based on complexity and cost. - Provides clear criteria and keywords for classifying tasks into SIMPLE, MODERATE, COMPLEX, and REASONING. - Lists recommended models, default choices, and pricing for each tier. - Supports optimization modes: Balanced, Aggressive (max savings), and Quality (max quality). - Explains progressive escalation and model selection procedures for efficient cost management.
元数据
Slug openclaw-model-router
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Model Router 是什么?

Intelligent cost-aware model routing that classifies task complexity and selects the optimal AI model. Automatically routes simple tasks to cheap models and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 656 次。

如何安装 Model Router?

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

Model Router 是免费的吗?

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

Model Router 支持哪些平台?

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

谁开发了 Model Router?

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

💬 留言讨论