model-router

by Andrea Scotti · ★ 0 · updated 5 days ago

PanesStatus lineReskinsGuardsCommandsPromptTools & agentsvalidates

0

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; shared knowledge base from agents' facts; meters tokens per model.

install model-router

Install

/plugin marketplace add AndreaScotti01/claude_router
/plugin install model-router@claude-router

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.submitprompt.composesession.compactturn.stepagent.spawnui.rendercommand.run
API calls
$.agent.register$.command.register$.env.get$.fs.read$.fs.write$.process.run$.session.id$.session.usage$.state.get$.state.set$.store.get$.ui.open$.ui.resolve$.ui.status
Draws
PaneToolUseCommandOutput
Can see
/".*"/ callsevery promptcompactionsubagent spawnsAgent callsSendMessage calls
Reach
level 2 of 3 other: $.agent.registerother: $.state.getother: $.state.setruns processeswrites filesreads filesreads env varspersists 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
d9bbe90 the 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.