Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By EONRaiderv0.1.0MITIn 1 marketplace
Sizes subagents to the task: four pre-sized agent tiers (scout, worker, analyst, judge), a routing skill, an enforcement hook, a per-project spawn log with outcome signals, and proposals a person accepts or rejects.
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that sizes subagents to the task.
When a Claude Code session spawns a subagent, nothing matches the agent's model and effort to the work. Sessions run cheap lookups on an expensive model, or send judgment work to a model too weak for it. The second mistake is the costlier one: the work gets redone or, worse, trusted.
agent-router turns routing into a choice between four pre-sized agent types, enforces that choice with a hook, logs what happened to each spawn, and uses the log to propose changes per project. It never changes its own configuration. A person accepts or rejects every proposal.
claude plugin marketplace add EONRaider/claude-plugins
claude plugin install agent-router@eonraider
Requires Claude Code 2.1.246 or later and python3 (3.8+) on the PATH. Linux and macOS.
The hooks use the Python standard library only; they make no model calls and no network
calls.
| Tier | Agent type | Work it takes | Model | Effort |
|---|---|---|---|---|
| scout | agent-router:scout | Lookups, file finding, status reads, bounded extraction | Haiku | low |
| worker | agent-router:worker | Implementation with a checkable result (tests, a diff) | Sonnet | medium |
| analyst | agent-router:analyst | Research and synthesis across many sources | Sonnet | high |
| judge | agent-router:judge | Review, adversarial critique, security or design calls | Opus | high |
The routing skill tells the session how to choose: what does a wrong answer cost, and how
cheaply can the result be checked? Cheap-to-check work goes down a tier. Judgment work never
does.
A PreToolUse hook on the Agent tool rejects a spawn with one line that names the correct
call, so the session re-spawns correctly. It rejects:
model override below the tier's floor;"strict": true, any agent type the project has not mapped or exempted.Moving up is always allowed, so a wrong rejection costs usage and never blocks the work.
Built-in agents are treated as a tier (Explore as scout, Plan as analyst,
general-purpose as worker). Other plugins' agents pass unchecked.
The hook fails open: if it crashes or the project's overlay is unusable, the spawn goes ahead.
Out of the box the plugin provides the tiers and the model-floor rule, and writes nothing into your repositories. To get the spawn log, the full rules and proposals for a project, run this in it:
/agent-router:init
It creates:
| Path | What it is |
|---|---|
.claude/agent-router.json | The overlay: this project's tiers, aliases, exemptions and floors |
.claude/agent-router/log/<session-id>.jsonl | The spawn log, one file per session |
.claude/agent-router/decisions.jsonl | Proposals you accepted or rejected |
.claude/agents/router-<tier>.md | Generated agents for tiers the overlay resizes or adds |
These files are meant to be committed. The plugin never runs git; they ride along with your normal commits. See the overlay reference.
One line per spawn: tier, model, effort, tokens, duration, tool-use count, and the Agent
tool's short description as a task summary. The prompt is never stored, only its length
and hashes. The description is free text written by the session and becomes part of your
repository's history; set "log": {"summary": false} in the overlay to leave it out. The
full record format is in docs/log-format.md.
Some outcomes can be read from the log by rule: a rejected first attempt, a model override, a
turn limit, an identical brief sent again, a judge's verdict. Others have to be told. At
session start the plugin gives the session a mark.py command for three of them: the result
was redone, a review found a serious problem, or the user rejected it. To let the session run
it without a permission prompt, add an allow rule for that command to your own settings.
/agent-router:report
The report lists, per tier, the spawns, how many had problems and the estimated spend at list prices. Then it lists proposals:
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Indexed from dc3ca3aMarketplace JSON
agent-router@eonraider is listed by eonraider/claude-plugins — review the source before installing
npx claudepluginhub eonraider/claude-plugins --plugin agent-router