Borrowing it
Nothing to install: this file belongs to sabbour/agentweaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sabbour/agentweaver/dev/.specify/extensions/squad/commands/route.mdgit clone --depth 1 https://github.com/sabbour/agentweaverWrote 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.
[](https://agentmods.dev/commands/sabbour/agentweaver/route)<a href="https://agentmods.dev/commands/sabbour/agentweaver/route"><img src="https://agentmods.dev/badge/commands/sabbour/agentweaver/route/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.
<a href="https://agentmods.dev/commands/sabbour/agentweaver/route"><img src="https://agentmods.dev/badge/commands/sabbour/agentweaver/route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.00761 |
| Opus 5.5 | $0.00006 | $0.00304 |
| Sonnet 5.5 | $0.00003 | $0.00152 |
| Haiku 4.5 | $0.00001 | $0.00076 |
Grade A, and why
route 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Squad Bridge: Route Tasks
Read open tasks from the Speckit task list and assign each to the most
appropriate Squad agent using capability matching or round-robin (configured
in squad-config.yml).
This command is also triggered by the after_tasks hook.
User Input
$ARGUMENTS
Steps
-
Verify prerequisites:
specs/<id>/tasks.mdexists; if not, tell the user to run/speckit.tasksfirst and stop..squad/exists; if not, tell the user to run/speckit.squad.initfirst and stop.
-
Load bridge config from
.specify/extensions/squad/squad-config.ymlif it exists, otherwise use extension defaults. -
Read open tasks from
specs/<id>/tasks.md. Parse each task's title, description, and any tags or phase labels. -
Load Squad agents and routing rules from
.squad/(agents directory androuting.md). Only consider agents withstatus: active. -
Route each task using the configured
routing_strategy:capability-match(default):- Extract domain keywords from the task title and description
- Match against agent capabilities using the routing rules in
.squad/routing.md - If multiple agents match, prefer the one with the highest capability level for the matched domain
- If no agent matches, assign to coordinator and flag for manual review
round-robin:- Assign tasks to active agents in a rotating sequence
- Track assignment counts to ensure even distribution
-
Determine model tier for each task:
- Tasks involving architecture decisions, complex algorithms, or spec
interpretation →
fulltier - Standard feature implementation →
standardtier - Boilerplate, scaffolding, documentation →
lightweighttier
- Tasks involving architecture decisions, complex algorithms, or spec
interpretation →
-
Output a routing table:
Task Routing Summary ───────────────────────────────────────────────────────────────────── Task Agent Tier ───────────────────────────────────────────────────────────────────── Design REST API endpoints backend-engineer full Implement JWT authentication backend-engineer standard Build login form component frontend-engineer standard Write unit tests for auth service qa-engineer standard Set up GitHub Actions CI pipeline devops-engineer standard Add README and API docs ⚠️ coordinator lightweight ───────────────────────────────────────────────────────────────────── Routed: 5 / 6 Unrouted (needs review): 1
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.
- 1mo ago First seen · 84 lines · 14 tokens per session scan A 1d6f7bd14f67
route is a command published in the GitHub repository sabbour/agentweaver (7 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 761 once invoked, about $0.0001 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.
Other commands, from other repositories
dashboard-session-fork
Fork a session into a new one. Usage /dashboard:session-fork.
dashboard-session-hide
Hide a session from the dashboard list. Usage /dashboard:session-hide.
aigon-feedback-triage
Run a triage loop for one feedback item with explicit human confirmation before writes.
research-close
Close research - moves to done.
factory-ticket
Implement exactly one already-claimed Linear ticket in the current worktree.
ah
Show Aigon commands (shortcut for help).