← Back to Skills Marketplace
94
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install stpku-model-router
Description
Intelligent model routing for OpenClaw. Automatically selects the best model from 8 available models based on task type, content length, and quality requirem...
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stpku-model-router - After installation, invoke the skill by name or use
/stpku-model-router - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install Model Router?
Run "/install stpku-model-router" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Model Router free?
Yes, Model Router is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Model Router support?
Model Router is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Model Router?
It is built and maintained by stpku (@stpku); the current version is v1.0.1.
More Skills