speckit.squad.route

speckit.squad.route is an agent for coding agents from sabbour/agentweaver. It costs 14 tokens per session (777 once invoked), scanned A, original, MIT.

A command that reads open Speckit tasks and assigns them to suitable Squad agents. It uses task details, agent capabilities, and configured routing rules to decide who should handle each task.

In plain words
What is it for?
Use it after generating tasks.md when several agents will work on the feature. It can update the task list with the selected agent assignments.
Why use it?
It removes the need to assign every task by hand. It also checks that the task list, Squad setup, and active agents required for routing exist.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/sabbour/agentweaver/speckit.squad.route
Clone the repo
git clone --depth 1 https://github.com/sabbour/agentweaver

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 speckit.squad.route

README.md
[![agentmods](https://agentmods.dev/badge/agents/sabbour/agentweaver/speckit.squad.route.svg)](https://agentmods.dev/agents/sabbour/agentweaver/speckit.squad.route)
Your own site
<a href="https://agentmods.dev/agents/sabbour/agentweaver/speckit.squad.route"><img src="https://agentmods.dev/badge/agents/sabbour/agentweaver/speckit.squad.route.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00777
Opus 5 $0.00007 $0.00388
Sonnet 5 $0.00003 $0.00155
Haiku 4.5 $0.00001 $0.00078

Measured 4d ago against content hash 8e276b85394a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

speckit.squad.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 4d 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.

.github/agents/speckit.squad.route.agent.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 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

  1. Verify prerequisites:

    • specs/<id>/tasks.md exists; if not, tell the user to run /speckit.tasks first and stop.
    • .squad/ exists; if not, tell the user to run /speckit.squad.init first and stop.
  2. Load bridge config from .specify/extensions/squad/squad-config.yml if it exists, otherwise use extension defaults.

  3. Read open tasks from specs/<id>/tasks.md. Parse each task's title, description, and any tags or phase labels.

  4. Load Squad agents and routing rules from .squad/ (agents directory and routing.md). Only consider agents with status: active.

  5. 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
  6. Determine model tier for each task:

    • Tasks involving architecture decisions, complex algorithms, or spec interpretation → full tier
    • Standard feature implementation → standard tier
    • Boilerplate, scaffolding, documentation → lightweight tier
  7. 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
    

Read the full file on GitHub · 86 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. 4d ago First seen · 86 lines · 14 tokens per session scan A 8e276b85394a

Subscribe to this mod's changes

speckit.squad.route is an agent published in the GitHub repository sabbour/agentweaver (5 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 777 once invoked, about $0.0001 per session on Opus 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.