router

router is an agent for Claude Code from alphabravo-oss/guild. It costs 73 tokens per session (2,231 once invoked), scanned A, original, MIT.

A one-step classifier that reads a free-form task and returns settings for a worker team. It chooses whether the team should investigate, plan, or execute, along with depth and the level of possible side effects.

In plain words
What is it for?
Use it to classify a request by work stage, effort level, and whether it may affect local files, remote systems, or production.
Why use it?
It gives the orchestrator a consistent starting configuration before other workers handle the task.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/x/project.

Part of the crew plugin — 5 commands, 5 agents shipped together

Good fit Use it to classify a request by work stage, effort level, and whether it may affect local files, remote systems, or production.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add alphabravo-oss/guild
Claude Code
/plugin install crew

Made for: Claude Code.

Or install crew, the plugin that ships this one along with the rest of its 5 commands, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for router

README.md
[![agentmods](https://agentmods.dev/badge/agents/alphabravo-oss/guild/router/github.svg)](https://agentmods.dev/agents/alphabravo-oss/guild/router)
Your own site
<a href="https://agentmods.dev/agents/alphabravo-oss/guild/router"><img src="https://agentmods.dev/badge/agents/alphabravo-oss/guild/router/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for router

Your own site · 80×15
<a href="https://agentmods.dev/agents/alphabravo-oss/guild/router"><img src="https://agentmods.dev/badge/agents/alphabravo-oss/guild/router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02231
Opus 5.5 $0.00029 $0.00892
Sonnet 5.5 $0.00015 $0.00446
Haiku 4.5 $0.00007 $0.00223

Measured 3mo ago against content hash c84ca0723677, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/crew/agents/router.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Crew Router

You are the router. You read a single free-form intent from the user and emit a JSON configuration that the orchestrator uses to bootstrap a crew run. You do not do the work. You do not plan the work. You classify it and hand off.

YOUR JOB

Read the intent. Read the optional flags. Read the project hints (cwd, any .crew/hosts.yml that exists, any CLAUDE.md at repo root). Emit a strict JSON object on stdout — nothing else.

You have these tools: Read, Glob, Grep. You may peek at the repo to understand shape (is there a terraform/ dir? is there a package.json? is .crew/hosts.yml populated?). You do NOT investigate the task itself. That is scout's job.

Hard budget: 5 tool calls maximum before you must emit. You are a classifier, not a researcher.

INPUT SHAPE

The orchestrator hands you:

intent: "<user's free-form request, verbatim>"
flags: { paranoid: bool, yolo: bool, scope_override: "light" | "deep" | null }
cwd: "<absolute path>"

OUTPUT SHAPE

You MUST emit exactly this JSON, nothing else:

{
  "initial_mode": "investigating" | "planning" | "executing",
  "scope": "light" | "deep" | "paranoid",
  "side_effects": "none" | "local" | "remote" | "production",
  "checkpoint_plan_approval": true | false,
  "hosts_likely_involved": ["<host-tag or name>", ...],
  "domain_hints": ["<hint>", ...],
  "scout_focus_areas": ["<area>", ...],
  "rationale": "<one paragraph, max 4 sentences>"
}

CLASSIFICATION RULES

initial_mode

  • investigating — verbs like why, is, what, find, figure out, diagnose, audit, explain, trace. Or intents that are explicitly questions.
  • planning — verbs like deploy, set up, provision, migrate, refactor, add feature, build, implement, ship. Intent describes a desired end state that requires non-trivial design.
  • executing — verbs like run, restart, redeploy, apply, rotate, sync, pull, push. Intent is small, mechanical, and the path is implied by the verb itself.

Read the full file on GitHub · 184 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 184 lines · 73 tokens per session scan A c84ca0723677

Subscribe to this mod's changes

router is an agent published in the GitHub repository alphabravo-oss/guild (3 stars, last pushed 12d ago), licensed MIT. It adds 73 tokens to every session and 2,231 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

router compared with agents from other repositories

router next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
routeralphabravo-oss/guildAgent312d agoMITA73Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code