spawn-team

spawn-team is a command for Claude Code from alinaqi/maggy. It costs 0 tokens per session (1,990 once invoked), scanned B, original, MIT.

A command that starts a coordinated group of coding agents. It follows TDD, or test-driven development: write tests before implementation, then review and check the result.

In plain words
What is it for?
Implementing project features with separate steps for tests, coding, review, security checks, branches, and pull requests.
Why use it?
It organizes parallel coding work and gives each change a defined path from specification to pull request.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths.

Good fit Implementing project features with separate steps for tests, coding, review, security checks, branches, and pull requests.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alinaqi/maggy/spawn-team
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.

Clone the repo
git clone --depth 1 https://github.com/alinaqi/maggy

Made for: Claude Code.

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 spawn-team

README.md
[![agentmods](https://agentmods.dev/badge/commands/alinaqi/maggy/spawn-team/github.svg)](https://agentmods.dev/commands/alinaqi/maggy/spawn-team)
Your own site
<a href="https://agentmods.dev/commands/alinaqi/maggy/spawn-team"><img src="https://agentmods.dev/badge/commands/alinaqi/maggy/spawn-team/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 spawn-team

Your own site · 80×15
<a href="https://agentmods.dev/commands/alinaqi/maggy/spawn-team"><img src="https://agentmods.dev/badge/commands/alinaqi/maggy/spawn-team.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,990 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00000 $0.01990
Opus 5.5 $0.00000 $0.00796
Sonnet 5.5 $0.00000 $0.00398
Haiku 4.5 $0.00000 $0.00199

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

Security

Grade B, and why

spawn-team scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

BOOTSTRAP_DIR=$(cat ~/.claude/.bootstrap-dir 2>/dev/null)
commands/spawn-team.md · 267 lines

How it starts

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

/spawn-team - Spawn Agent Team

Spawn the default agent team for this project. Creates a coordinated team of agents that implement features in parallel following the strict TDD pipeline.

Pipeline: Specs > Tests > Ensure tests fail > Implement > Test again > Code Review > Security > Create branch > Create PR


Phase 1: Prerequisites Check

1.1 Detect Container Mode

Check if Polyphony container isolation is available. Container mode is the default when both Docker and polyphony CLI are present.

BOOTSTRAP_DIR=$(cat ~/.claude/.bootstrap-dir 2>/dev/null)
DETECTED_AGENTS=$("$BOOTSTRAP_DIR/scripts/detect-agents.sh" 2>/dev/null || echo "claude")

CONTAINER_MODE="false"
if echo "$DETECTED_AGENTS" | grep -qE "docker|orbstack"; then
    if command -v polyphony &>/dev/null; then
        CONTAINER_MODE="true"
        echo "✓ Container mode: ON (Docker + polyphony detected)"
        echo "  Each feature agent will run in its own isolated container"
    else
        echo "⚠ Docker found but polyphony CLI missing"
        echo "  Run: cd \$(cat ~/.claude/.bootstrap-dir) && ./install.sh"
        echo "  Falling back to native agents (shared workspace)"
    fi
else
    echo "ℹ Docker not found — using native agents (shared workspace)"
    echo "  Install Docker for container isolation: brew install --cask docker"
fi

1.2 Check Agent Definitions

Verify .claude/agents/ exists and has the required agent definitions:

ls .claude/agents/

Required files (with proper frontmatter: name, description, model, tools, disallowedTools, maxTurns):

  • team-lead.md
  • quality.md
  • security.md
  • code-review.md
  • merger.md
  • feature.md

If missing, copy from the agent-teams skill:

cp -r ~/.claude/skills/agent-teams/agents/ .claude/agents/

1.3 Check Feature Specs

ls _project_specs/features/

If no feature specs exist, ask the user:

No feature specs found. The agent team needs features to implement.

What are the key features of this project? I'll create a spec file for each one.

Read the full file on GitHub · 267 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 · 267 lines · 0 tokens per session scan B e1f798a89adb

Subscribe to this mod's changes

spawn-team is a command published in the GitHub repository alinaqi/maggy (713 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,990 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

spawn-team compared with commands from other repositories

spawn-team next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spawn-teamalinaqi/maggyCommand7133d agoMITB0Claude Code
python-reviewloulanyue/awesome-claude-notesCommand2711mo agoMITA31Claude Code
frappe-backendDkm0315/frappe-agentCommand271mo agoMITA0Claude Code, Cursor
py-structuremathisk2095/jko-claude-pluginsCommand31mo agoMITA23Claude Code
py-hardenmathisk2095/jko-claude-pluginsCommand31mo agoMITA32Claude Code
skill-fastapi-apidewtech-technologies/dare-methodCommand54mo agoMITA0Claude Code
skill-mcp-serverdewtech-technologies/dare-methodCommand54mo agoMITA0Claude Code