What is model-router?
model-router is a Claude Code mod by alexatennea that rates each coding task with Haiku and runs it on Haiku, Sonnet or Opus. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | alexatennea |
| Repository | alexatennea/claude-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Low risk (92/100) |
| Rank | #2,551 of 5,272 Claude Code mods; #186 in Agents & automation |
| Last commit | 2026-10-09 |
| Hooks | 3 events |
| Sees | subagent spawns |
| Draws on | nothing |
Is model-router safe to install?
model-router scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 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 |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.model.complete | drives Claude |
$.state.get | |
$.state.set | |
$.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/alexatennea/claude-mods claude plugin validate ./claude-mods/model-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add alexatennea/claude-mods && claude plugin install model-router@void-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/alexatennea/claude-mods/tree/main/model-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from alexatennea/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- coding-agents: A coder subagent the main session delegates focused coding tasks to (Low risk)
- mod-monitor: A pane showing what each mod is doing, the agents they start and the messages passing between them (Low risk)
- task-planner: Plan work with an Opus planner agent and track the steps in a pane (Low risk)