model-router
by Andrea Scotti · ★ 0 · updated 18 days ago
Model router: a steady Sonnet 5.5 main thread does the work; Haiku 5.5 workers take bulk reading and test runs; a read-only Opus 5.5 advisor reviews hard calls; optional local implementer: a model on your own computer (llama.cpp, Ollama, any OpenAI-compatible server) makes the planned edits; shared knowledge base from agents' facts; meters tokens per model.
Install
/plugin marketplace add AndreaScotti01/claude_router/plugin install model-router@claude-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
tool.callsession.startprompt.submitconfig.setprompt.composesession.compactturn.stepagent.spawnturn.completeui.rendercommand.run- API calls
$.agent.list$.agent.register$.clock.sleep$.command.register$.config.list$.config.set$.env.get$.fs.read$.fs.write$.http.fetch$.process.run$.process.spawn$.session.id$.session.messages$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.open$.ui.resolve$.ui.status- Draws
PaneToolUseCommandOutput- Can see
/".*"/ callsevery promptcompactionsubagent spawnsAgent callsSendMessage calls- Reach
- level 3 of 3 networkruns processeswrites fileschanges configdrives Claudereads filesreads env varsreads settingsreads the transcriptreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/AndreaScotti01/claude_router
- Path in repo
- repository root
- Source commit
cb828b7the exact code the scan read- Author
- Andrea Scotti @AndreaScotti01
- License
- No license declared — ask the author before reusing code.
- 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.
Related mods
Other mods in Panes, close to this one by stars.