cc-model-router
by Gilchrist Kante · ★ 5 · updated 25 days ago
0
Routes each Claude Code turn to Haiku, Sonnet, or Opus based on task complexity, with cache-aware switching.
Install
/plugin marketplace add misterkante/cc-model-router/plugin install cc-model-router@cc-model-routerThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startprompt.submitturn.startturn.stepturn.completecommand.run- API calls
$.command.register$.env.get$.fs.exists$.fs.read$.session.cwd$.session.model- Can see
every prompt- Reach
- level 1 of 3 reads filesreads env vars
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/misterkante/cc-model-router
- Path in repo
plugin- Source commit
b49b304the exact code the scan read- Author
- Gilchrist Kante @misterkante
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.