- name
- smart-model-router
- description
- |
- metadata
Smart Model Router
Every Substantive Request
- Score:
python3 <skill_path>/scripts/router.py --task "<user 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=<full_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 <skill_path>/scripts/router.py --setupRecommended: 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