What is agent-ClaudeRouter?
agent-ClaudeRouter is a Claude Code mod by visualife that picks the model and effort per request, and shows a live band above the prompt: routing, running agents, skills, MCP, context and plan usage, plus a /ClaudeRouter pane. It is listed under Cost & usage and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | visualife |
| Repository | visualife/ClaudeRouter |
| Popularity | 2 GitHub stars |
| Category | Cost & usage |
| Security | High risk (52/100) |
| Rank | #3,204 of 9,397 Claude Code mods; #503 in Cost & usage |
| Last commit | 2026-11-27 |
| Hooks | 14 events |
| Sees | classic hooks, compaction, every skill, every tool call, subagent spawns |
| Draws on | AbovePrompt, Pane |
Is agent-ClaudeRouter safe to install?
agent-ClaudeRouter scores 52/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 2 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 |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.register | |
$.agent.spawn | drives Claude |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.model.fork | drives Claude |
$.session.append | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.blit | draws interface |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install agent-ClaudeRouter?
- 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/visualife/ClaudeRouter claude plugin validate ./ClaudeRouter/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add visualife/ClaudeRouter && claude plugin install agent-ClaudeRouter@router-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs agent-ClaudeRouter for you:
Install the "agent-ClaudeRouter" Claude Code mod from https://github.com/visualife/ClaudeRouter. Run claude plugin validate on it first and show me what it can access before you enable it.