What is model-router?
model-router is a Claude Code mod by rabanderlipe that routes prompts and subagents to a cheaper or stronger model by what they ask. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | rabanderlipe |
| Repository | rabanderlipe/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Low risk (88/100) |
| Rank | #4,347 of 5,272 Claude Code mods; #337 in Agents & automation |
| License | MIT |
| Last commit | 2026-10-09 |
| Hooks | 7 events |
| Sees | every prompt, subagent spawns |
| Draws on | nothing |
Is model-router safe to install?
model-router scores 88/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 7 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 no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.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/rabanderlipe/claude-code-mods claude plugin validate ./claude-code-mods/plugins/model-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add rabanderlipe/claude-code-mods && claude plugin install model-router@claude-code-mods
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/rabanderlipe/claude-code-mods/tree/main/plugins/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from rabanderlipe/claude-code-mods
This repository has 7 Claude Code mods on MCPMods.
- boss-fight: Failing lint, tests or typechecks spawn a boss above the prompt; each fix damages it (Low risk)
- chime: Chimes and notifies when a long turn finishes or Claude waits on you (Low risk)
- cute-feed: A pet that hatches, grows and reacts to what Claude is doing, over a live emoji feed (Low risk)
- dashboard: Live dashboard pane: subagents, activity, project, git and session usage (Low risk)
- repo-radar: Live map of the repo that lights up as Claude and its subagents read, edit and fail on files (Low risk)
- swarm: Live map of the session's agent tree: who spawned whom and what each is doing (Low risk)