model-router
by Akurganow · ★ 1 · updated 2 days ago
Routes each subagent to a Claude model and effort that fits its task, judged by Jev or the decision model the provider option names. For each routed Agent call it sends the task text, condensed to at most 12,000 characters, the agent's description, cut to 500 characters, and the call's one-line description, all with token-shaped strings such as keys masked, to the provider's own API...
Install
/plugin marketplace add Akurganow/model-router/plugin install model-router@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
agent.offertool.calltool.describeagent.spawnturn.stepturn.completesession.startcommand.run- API calls
$.clock.after$.clock.sleep$.config.set$.env.get$.http.fetch$.tool.check$.tool.register$.ui.ask$.ui.log- Can see
Agent callssubagent spawnsmcp__model-router__config calls- Reach
- level 3 of 3 networkchanges configdrives Claudereads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Akurganow/model-router
- Path in repo
plugins/model-router- Source commit
39722bbthe exact code the scan read- Author
- @Akurganow
- 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.
Related mods
Other mods in Guards, close to this one by stars.