What is agent-router?
agent-router is a Claude Code mod by CiroVilmer that picks the model and effort of every subagent from its task type; with hot mode on, raises them when the 5-hour window resets with usage to spare. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | CiroVilmer |
| Repository | CiroVilmer/jev-agent-router |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #5,364 of 9,397 Claude Code mods; #955 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 10 events |
| Sees | Agent calls, subagent spawns |
| Draws on | Pane |
Is agent-router safe to install?
agent-router scores 56/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; reads environment variables. 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 |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.model.classify | drives Claude |
$.model.complete | drives Claude |
$.session.cwd | |
$.session.id | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install agent-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/CiroVilmer/jev-agent-router claude plugin validate ./jev-agent-router/router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add CiroVilmer/jev-agent-router && claude plugin install agent-router@jev-agent-router
Or ask Claude to set it up
Paste this into Claude Code and it installs agent-router for you:
Install the "agent-router" Claude Code mod from https://github.com/CiroVilmer/jev-agent-router/tree/main/router. Run claude plugin validate on it first and show me what it can access before you enable it.