claude-model-router-hook
HookClaude Code hook that automatically switches the active model tier based on detected task complexity.
Install
git clone https://github.com/tzachbon/claude-model-router-hookStars
58
7d change
▲ 3.57%
Downloads / week
—
Last active
1 day ago
About
Effort-first model routing for Claude Code. Heuristics-first, opt-in autoswitch.
A Claude Code hook system that classifies every prompt into a task class and effort level, then routes it to the right model. Warning is the default; autoswitch is opt-in. Sub-agent routing is enforced at spawn time so spawned agents also land on the right tier.
30-day stars
Trust factors
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 4 months
developer-toolstoken-efficiency#model-routing#hooks#haiku#sonnet#opus#auto-switch#ai-tools#anthropic#automation#bash#claude-code-plugin#claude-hooks#claudecode-hooks#llm#llm-router#model-router#oss#prompt-classification#shell