← 返回 Skills 市场
3480
总下载
11
收藏
20
当前安装
1
版本数
在 OpenClaw 中安装
/install model-router-premium
功能描述
Route model requests based on configured models, costs and task complexity. Use for routing general/low-complexity requests to the cheapest available model and for higher-complexity requests to stronger models.
安全使用建议
This skill appears to do only local model selection based on a JSON config and heuristics. Before installing: review your models.json (or OpenClaw config) to ensure entries point only to providers you trust (the example includes an 'internal' provider), because the router will pick whatever model records you give it; consider cost implications if you wire the router into an automated pipeline (it may route many requests to expensive models); test the heuristics on representative tasks to ensure routing matches your expectations; and avoid passing sensitive user data to untrusted provider entries in the models file. Overall the package is coherent and low-risk, but validate the models configuration and how the chosen model is subsequently invoked in your system.
功能分析
Type: OpenClaw Skill
Name: model-router-premium
Version: 0.1.1
The OpenClaw skill 'model-router-premium' is designed to route model requests based on configuration. The `SKILL.md` instructs the agent to execute a local Python script (`scripts/router.py`), which reads a local JSON file (`examples/models.json`) for model definitions. The Python script performs string processing and file I/O for its stated purpose but does not engage in network communication, arbitrary command execution, or access to sensitive system files. No prompt injection attempts against the agent or the script itself were identified that would lead to malicious behavior.
能力评估
Purpose & Capability
Name/description match the code and SKILL.md. The script's inputs (models JSON, task text, optional prefer/min-capability flags) are exactly what you'd expect for a model-routing utility.
Instruction Scope
SKILL.md instructs running the included CLI/library against a models file and task text. The runtime instructions and code only read the provided JSON file and the CLI args; they do not reference other files, environment variables, or external endpoints.
Install Mechanism
No install spec is present (instruction-only with one included Python script). No downloads, package installs, or extracted archives are requested.
Credentials
The skill requires no environment variables, credentials, or config paths. The example models JSON contains provider names (including an 'internal' provider) but no secrets — review model entries before use to ensure they don't point to sensitive endpoints.
Persistence & Privilege
The skill does not request persistent presence (always=false) and does not modify agent or system configs. It prints a chosen model and reasoning only.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install model-router-premium - 安装完成后,直接呼叫该 Skill 的名称或使用
/model-router-premium触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Added support for routing model requests based on configured models, costs, and task complexity.
- Introduced a CLI/library (scripts/router.py) to select an appropriate model using a configuration file.
- Provided example configuration (examples/models.json) for easy setup.
- Implemented heuristics for routing: defaulting simple tasks to the cheapest model, escalating complex tasks as needed.
- Made model metadata (capabilities, cost score, tags) explicit for transparency and auditability.
元数据
常见问题
Model Router 是什么?
Route model requests based on configured models, costs and task complexity. Use for routing general/low-complexity requests to the cheapest available model and for higher-complexity requests to stronger models. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3480 次。
如何安装 Model Router?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-router-premium」即可一键安装,无需额外配置。
Model Router 是免费的吗?
是的,Model Router 完全免费(开源免费),可自由下载、安装和使用。
Model Router 支持哪些平台?
Model Router 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Model Router?
由 MrJootta(@mrjootta)开发并维护,当前版本 v0.1.1。
推荐 Skills