model-router
Installation
SKILL.md
Smart Model Router
Intelligent cost-aware model routing for OpenClaw agents.
Before executing any task via sessions_spawn or delegating to a sub-agent, classify the task complexity using the rules below and route to the optimal model. This saves 60-90% on LLM costs by using cheap models for simple work and reserving premium models for tasks that genuinely need them.
Core Principle
Route every request to the cheapest model that can handle it well.
Step 1: Classify Task Complexity
Score the task on these dimensions. Count how many COMPLEX/REASONING indicators are present: