What is model-router?
model-router is a Claude Code mod by AndreaScotti01 that 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. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | AndreaScotti01 |
| Repository | AndreaScotti01/claude_router |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (48/100) |
| Rank | #2,613 of 5,272 Claude Code mods; #444 in Cost & usage |
| Last commit | 2026-10-12 |
| Hooks | 9 events |
| Sees | /".*"/ calls, Agent calls, SendMessage calls, compaction, every prompt, subagent spawns |
| Draws on | Pane, ToolUse, CommandOutput |
Is model-router safe to install?
model-router scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.register | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install model-router?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/AndreaScotti01/claude_router claude plugin validate ./claude_router/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add AndreaScotti01/claude_router && claude plugin install model-router@claude-router
Or ask Claude to set it up
Paste this into Claude Code and it installs model-router for you:
Install the "model-router" Claude Code mod from https://github.com/AndreaScotti01/claude_router. Run claude plugin validate on it first and show me what it can access before you enable it.