Claude Auto Router — AI skill for Claude Code
Auto-route Claude Code prompts to the cheapest model that can handle them.
How to install Claude Auto Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open aiStackPilot/claude-auto-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Auto Router does
Auto-route Claude Code prompts to the cheapest model that can handle them. Save 3-5x on tokens. One-command install.
Alternatives in AI
README
Claude Code Auto-Router
[](https://github.com/bijumailbox/claude-auto-router/actions) [](https://opensource.org/licenses/MIT) [](https://github.com/bijumailbox/claude-auto-router/releases) [](https://github.com/bijumailbox/claude-auto-router)
**Automatic model routing and token optimization for [Claude Code](https://docs.anthropic.com/en/docs/claude-code).**
Stop burning Opus tokens on simple searches. This project makes Claude Code automatically route cheap tasks to Haiku and reserve full reasoning power for complex work — saving **3-5x on token costs** with zero quality loss.
You: "find all python files that import pandas"
→ [ROUTING: T0_LOOKUP] → Delegated to Haiku subagent (cheap, fast)
You: "fix the null check in auth.py line 45"
→ [ROUTING: T1_STANDARD] → Answered directly (normal)
You: "security review the RLS implementation for bypass vulnerabilities"
→ [ROUTING: T2_DEEP] → Full Opus reasoning + specialized agents (thorough)
How It Works
┌─────────────────────────────────────────────────────────────┐
│ You type a prompt │
└──────────────────────┬──────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────���──┐
│ UserPromptSubmit Hook (classify.sh) │
│ ┌─────────┐ ┌──────────┐ ┌──────────┐ ┌────────────┐ │
│ │T0_LOOKUP│ │T0_EXPLAIN│ │T1_STANDARD│ │ T2_DEEP │ │
│ │ Haiku │ │ Haiku │ │ Direct │ │ Full Power │ │
│ └─────────┘ └──────────┘ └──────────┘ └────────────┘ │
└──────────────────────┬─────────
Related Skills
Cheap LLM Router
Save Claude/Codex subscription tokens by routing context-only file reads through a cheaper LLM (DeepSeek, Kimi
Flux OS
Send every LLM request to the cheapest model that can handle it. Drop-in OpenAI + Anthropic compatible router
Pixel Crew
Smart MOD for Claude Code. Picks the cheapest model (Haiku, Sonnet or Opus) for every message and subagent to
Jev Router
Route to the cheapest model in claude code for your task using jev-router
Nectra
One chat for every AI model you have. Nectra routes each message to the best-fit model across Claude Code, Cod
Jev Flash Router
open-sourced jev-flash-router: an MCP server for TypeSafe's new Jev model. AI coding agents waste hundreds of
Related Agents
Router Haiku
Worker subagent dispatched by the auto-model-router for trivial tasks — reads, lists, lookups, quick edits, cl
Fec Design Token Mapper
Use this subagent to map styles and variables in Figma, Sketch, MasterGo, Pixso, Mokou, or Mockup to existing
Router Triage
Fast triage and routing. Classifies an incoming issue, bug report, request, or failure, extracts structured fi