speckit.squad.generate

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

An agent-definition generator for Squad, a project system that assigns coding work to specialised agents. It updates those definitions when the implementation plan changes.

In plain words
What is it for?
Use it after creating or changing a project plan to regenerate Squad agents, capabilities, and routing rules.
Why use it?
It keeps agent roles and routing rules aligned with the current plan without deleting unsupported agents or their accumulated history.

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.generate
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.generate

README.md
[![agentmods](https://agentmods.dev/badge/agents/sabbour/agentweaver/speckit.squad.generate.svg)](https://agentmods.dev/agents/sabbour/agentweaver/speckit.squad.generate)
Your own site
<a href="https://agentmods.dev/agents/sabbour/agentweaver/speckit.squad.generate"><img src="https://agentmods.dev/badge/agents/sabbour/agentweaver/speckit.squad.generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 699 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.00010 $0.00699
Opus 5 $0.00005 $0.00349
Sonnet 5 $0.00002 $0.00140
Haiku 4.5 $0.00001 $0.00070

Measured 4d ago against content hash 6d654855cf42, 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.generate 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.generate.agent.md · 75 lines

How it starts

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

Squad Bridge: Generate

Re-read the implementation plan and regenerate Squad agent definitions, capabilities, and routing rules to stay in sync with plan changes. Safe to run repeatedly — existing agents are updated in place; agents no longer supported by the plan are flagged (not deleted).

This command is also triggered by the after_plan hook.

User Input

$ARGUMENTS

Steps

  1. Verify .squad/ exists — if not, tell the user to run /speckit.squad.init first and stop.

  2. Read the plan from the active spec directory under specs/ (e.g., specs/001-<name>/plan.md). Also read spec.md for supplementary context (goals, constraints).

  3. Load bridge config from .specify/extensions/squad/squad-config.yml if it exists, otherwise use extension defaults.

  4. Read existing agents from .squad/agents/ (each agent lives in .squad/agents/{name}/charter.md) so changes can be diffed rather than blindly overwritten. Preserve history.md files (accumulated project knowledge — never touch these).

  5. Analyze the plan to extract technology stack, architecture layers, implementation phases, and cross-cutting concerns (same logic as init). If $ARGUMENTS names a specific domain, limit regeneration to that domain's agent.

  6. Diff against existing agents:

    • New domains found in plan but no matching agent → create new agent
    • Changed domains (different prominence or tech stack) → update agent capabilities and model tier
    • Removed domains (in existing agents but absent from new plan) → set status: inactive and note in output (do NOT delete)
  7. Update squad.config.ts at the project root (using defineSquad() with defineTeam(), defineAgent(), and defineRouting()) to reflect the new agent set, routing rules, and model tier assignments.

  8. Update .squad/routing.md to add routing rules for any new agents and update patterns for changed agents.

Read the full file on GitHub · 75 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 · 75 lines · 10 tokens per session scan A 6d654855cf42

Subscribe to this mod's changes

speckit.squad.generate is an agent published in the GitHub repository sabbour/agentweaver (5 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 699 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.

Related

Other agents, from other repositories

AGENTS

Files in this directory. One row per file. Non-source area. Project-tier subagent definitions; resolved by pi-dashboard-subagents tier 1 ( /.pi/agents/ .md), beating user/bundled/package tiers. Frontmatter schema: description, model, thinking, tools, inheritcontext, prompt. tools: MUST be YAML array form …

BlackBeltTechnology/pi-agent-dashboard · 0 tokens

cli

Use as the primary implementation agent for this .NET repository. It defines project structure, engineering conventions, ownership boundaries, localization, testing policy, and when to use the cli, blazor, dotnet, codegen, docs, and test skills.

AterDev/Perigon.CLI · 52 tokens

merge-scan

Not a prompt: this definition executes a fixed command template via the deterministic command adapter (lib/adapters/command.mjs). No model runs.

watt-mind/factory · 0 tokens

merge-apply

This is a closed command definition, not a model prompt. Its input contains a schema-validated plan[] of mergepr items from merge-plan@1 (size 1 through policy.merge.batchsize). Immediately before each squash, the command re-reads that PR's head and base SHA, exact branch names, open/draft/mergeable state, GitHub and…

watt-mind/factory · 0 tokens

merge-notify

Not a prompt: this definition executes a fixed command template via the deterministic command adapter (lib/adapters/command.mjs). No model runs.

watt-mind/factory · 0 tokens

wpf-control-designer

WPF CustomControl design and implementation specialist. Defines DependencyProperty, implements Parts and States Model, OnApplyTemplate patterns.

christian289/dotnet-with-claudecode · 0 tokens