Claude Code mod
agent-router
Choose a model and effort for five agent roles and for agent team teammates with /agent-models, and inspect routing and usage. Requires Claude Code Mod function hooks enabled.
Install
/plugin marketplace add alexandernicholson/agent-router
/plugin install agent-router@agent-router-toolsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, sets env vars, changes config, reads env vars, reads settings, persists state, draws
- Sees
- every tool call, subagent spawns
- Draws in
AbovePromptPane- Hooks
tool.callsession.startagent.spawnturn.stepturn.completeui.rendersession.endcommand.runui.close
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- alexandernicholson/agent-router
- Folder
agent-router- Marketplace
agent-router-tools- Author
- Alexander Nicholson
- License
- MIT
- Last updated
- 21 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is agent-router?
Choose a model and effort for five agent roles and for agent team teammates with /agent-models, and inspect routing and usage. Requires Claude Code Mod function hooks enabled. It is a mod for Claude Code, from alexandernicholson/agent-router on GitHub.
What can the agent-router mod access?
Its widest reach is "writes or runs" (runs processes, sets env vars, changes config, reads env vars, reads settings, persists state, draws). It sees every tool call, subagent spawns. It draws in AbovePrompt, Pane. Like any mod, it runs with your permissions.
How do I install agent-router?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add alexandernicholson/agent-router and then /plugin install agent-router@agent-router-tools.
Is agent-router popular?
alexandernicholson/agent-router has 11 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 21 October 2026.
More context & usage mods
leaks
12davekiss/mods
Find where your Claude Code week went and fix it: /leaks ranks the avoidable spend in your transcripts with one-press fixes, and a strip above the prompt flags a leak while it happens.
budget-guard
11Arunjay4213/claude-mods
Stops a session before it runs past a budget. Three figures are guarded, each with a limit you set: the session cost in dollars, the 5-hour plan window and the 7-day plan window. It says nothing until a figure nears its limit, then pins a status line and warns once; past the limit it refuses tool calls and asks before sending another prompt. /guard shows the state and changes the limits.
context-diet
12drkokorev/context-diet
Trims huge tool outputs (logs, JSON, diffs, grep, file lists) before they reach Claude's context, and saves the full text to a file Claude can read
keepalive
11alexandernicholson/agent-router
A prompt cache bar for every conversation, subagent and teammate, a dashboard with /keepalive, per-conversation cache TTLs, and upkeep that keeps an idle cache warm or compacts it before it expires. Requires Claude Code Mod function hooks enabled.
cache-warm
12KilimcininKorOglu/claude-code-mods
Keeps the 1-hour prompt cache warm for a window you set, or with no end in every session under always, with one cache-shared fork per idle stretch and one keep-warm message after a resume, arms a window for you after a paid cold write, and shows the cache state, the cold price and this session's cold writes.
limits-meter
11ice-lfernandes/claude-code-mods
Plan limits, cache clock and context above the prompt: model and effort, 5-hour and weekly windows with reset times, a countdown of the prompt cache with an opt-in keep-warm that spends plan, context split by group (system, MCP, messages), tokens per turn, and a toast on a costly model switch near the limit
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.