← 返回 Skills 市场
stpku

Model Router

作者 stpku · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install stpku-model-router
功能描述
Intelligent model routing for OpenClaw. Automatically selects the best model from 8 available models based on task type, content length, and quality requirem...
安全使用建议
This skill appears to do what it says (select models based on task/length/quality) and contains no network calls or secret exfiltration. Still, review these before installing: 1) The code defaults to /home/skyswind/.openclaw/openclaw.json — change the config_path to a path in your own home directory (or pass a different path when constructing ModelRouter) so it won't read someone else's files. 2) Verify the model IDs and mappings in MODEL_PROFILES and TASK_MODEL_MAP match the provider names you expect (there are small name variations in docs vs code). 3) Because the skill suggests editing agent config, double-check file permissions and back up your existing openclaw.json before changing it. If you want higher assurance, run the module locally (inspect model_router.py) and instantiate ModelRouter with an explicit config_path you control.
能力评估
Purpose & Capability
The name/description (intelligent model routing) align with the included Python implementation: TASK_MODEL_MAP, MODEL_PROFILES, CLI and Python API all implement routing. The skill claims support for 8 Bailian models and the code contains eight profiles. Minor naming differences (e.g., 'qwen3-max' vs 'qwen3-max-2026-01-23' shown in docs) are present but don't break routing logic.
Instruction Scope
SKILL.md instructs editing /home/skyswind/.openclaw/openclaw.json and the ModelRouter default config_path is hardcoded to that same absolute path. The module will attempt to read that file if present. This is user-specific and risky because it can read another user's config if such a path exists on the host; it also makes the skill less portable and may mislead users into editing a path that doesn't belong to them.
Install Mechanism
No install spec, no external downloads, and no required binaries — the skill is instruction-plus-code only. There are no network calls, no extraction or third-party package installs in the code. This is a low install risk.
Credentials
The skill does not request environment variables or credentials (requires.env none), which is proportional for a routing utility. However, it suggests editing a specific config file path and the code will read that path; reading user config files can expose local settings. There are no API keys or secrets requested in metadata.json (requires_api_key: false).
Persistence & Privilege
The skill is not always-enabled and does not declare elevated privileges. It only reads (not writes) the configured JSON path by default. Still, recommending edits to a specific agent-level config file in the user's home implies an expectation of persistent configuration; ensure the path is adjusted to the correct user and permissions before editing.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stpku-model-router
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stpku-model-router 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Add pricing: $1 USD one-time purchase
v1.0.0
model-router v1.0.0 - Initial release with support for intelligent routing across 8 BaiLian models. - Task-based model selection covering coding, writing, analysis, multimodal, and long-context scenarios. - Includes both a command-line interface and Python API. - Quality level routing (economy, balanced, premium) for cost/performance control. - Example configuration, usage guides, and best practices included.
元数据
Slug stpku-model-router
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Model Router 是什么?

Intelligent model routing for OpenClaw. Automatically selects the best model from 8 available models based on task type, content length, and quality requirem... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Model Router?

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

Model Router 是免费的吗?

是的,Model Router 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Model Router 支持哪些平台?

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

谁开发了 Model Router?

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

💬 留言讨论