Skip to content
The Daily Repo

tzachbon / claude-model-router-hook

Claude Code hooks that auto-switch model tier based on task complexity

Why this job: says: claude code hooks; topics: claude-code-plugin, claude-code

What it does

  • Routes prompts with local heuristics and an optional Claude Code fallback.
  • Uses Haiku only for clearly mechanical work; defaults agentic coding to Opus with graduated effort.
  • Routes Agent and Task sub-agents when they spawn. Nested delegation is floored at the implementation target, and an explicit model always wins.
  • Records the requested and resolved model for completed sub-agents, so host-side fallback or allowlist substitutions are visible.
  • Dampens borderline classifications instead of switching tiers on weak evidence.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 2 months ago
Stars
110
+3 this week
Licence
MIT
Allows business use
Downloads for
None listed
No release files
Latest version
None yet
No releases
Built with
Python
85% of the code

Is it looked after?

Contributors
1
Last 90 days
Issues
0% closed
3 still open
Pull requests
10 merged
5 waiting
Releases
None
Never published
More: languages, topics and project record

Languages

  • Python 85%
  • Shell 15%

Topics

  • ai-tools
  • anthropic
  • automation
  • bash
  • claude
  • claude-code
  • claude-code-plugin
  • claude-hooks
  • claudecode-hooks
  • developer-tools
  • haiku
  • llm

Project record

  • JobAgent skills
  • StatusListed
  • Commits40
  • Forks14
  • Watching0
  • Stars in 28 days+8
  • CreatedMar 7, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 7, 2026

Type to search.

Try