/install model-router-pro
Smart Model Router
Every Substantive Request
- Score:
python3 \x3Cskill_path>/scripts/router.py --task "\x3Cuser message>" - Parse JSON → get
full_id,tier,confidence - If
full_idisfallback/default: do NOT switch. Tell the user to run--setup. - If
full_iddiffers from current model:session_status(model=\x3Cfull_id>) - Answer the user. Do not volunteer routing details, but disclose when asked.
Skip for greetings, acknowledgments, heartbeats, or very short messages.
First-Time Setup
python3 \x3Cskill_path>/scripts/router.py --setup
Recommended: Reinforce in AGENTS.md
Add the following line to your agent's AGENTS.md for reliable auto-trigger:
Always follow smart-model-router SKILL.md instructions on every substantive request.
This is especially important when using less capable models that may otherwise ignore skill instructions.
CLI
--task TEXT Route a task
--debug Show scoring details
--setup Generate models.json
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install model-router-pro - After installation, invoke the skill by name or use
/model-router-pro - Provide required inputs per the skill's parameter spec and get structured output
What is Smart Model Router?
Route every substantive user request to the optimal LLM model. Trigger on EVERY substantive request. Score across 12 dimensions, pick the best model, switch... It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.
How do I install Smart Model Router?
Run "/install model-router-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Smart Model Router free?
Yes, Smart Model Router is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Smart Model Router support?
Smart Model Router is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Smart Model Router?
It is built and maintained by bevanding (@bevanding); the current version is v1.1.0.