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.
npx agentmods add commands/wshobson/agents/team-spawngit clone --depth 1 https://github.com/wshobson/agentsWhat 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 | $0.00025 | $0.01114 |
| Opus 5 | $0.00013 | $0.00557 |
| Sonnet 5 | $0.00005 | $0.00223 |
| Haiku 4.5 | $0.00003 | $0.00111 |
Grade A, and why
team-spawn 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 2d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Team Spawn
Spawn a multi-agent team using preset configurations or custom composition. Handles team creation, teammate spawning, and initial task setup.
Pre-flight Checks
-
Verify that
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1is set:- If not set, inform the user: "Agent Teams requires the experimental feature flag. Set
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1in your environment." - Stop execution if not enabled
- If not set, inform the user: "Agent Teams requires the experimental feature flag. Set
-
Parse arguments from
$ARGUMENTS:- First positional arg: preset name or "custom"
--name: team name (default: auto-generated from preset)--members N: override default member count--delegate: enter delegation mode after spawning
Phase 1: Team Configuration
Preset Teams
If a preset is specified, use these configurations:
review — Multi-dimensional code review (default: 3 members)
- Spawn 3
team-revieweragents with dimensions: security, performance, architecture - Team name default:
review-team
debug — Competing hypotheses debugging (default: 3 members)
- Spawn 3
team-debuggeragents, each assigned a different hypothesis - Team name default:
debug-team
feature — Parallel feature development (default: 3 members)
- Spawn 1
team-leadagent + 2team-implementeragents - Team name default:
feature-team
fullstack — Full-stack development (default: 4 members)
- Spawn 1
team-implementer(frontend), 1team-implementer(backend), 1team-implementer(tests), 1team-lead - Team name default:
fullstack-team
research — Parallel codebase, web, and documentation research (default: 3 members)
- Spawn 3
general-purposeagents, each assigned a different research question or area - Agents have access to codebase search (Grep, Glob, Read) and web search (WebSearch, WebFetch)
- Team name default:
research-team
security — Comprehensive security audit (default: 4 members)
- Spawn 1
team-reviewer(OWASP/vulnerabilities), 1team-reviewer(auth/access control), 1team-reviewer(dependencies/supply chain), 1team-reviewer(secrets/configuration) - Team name default:
security-team
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.
- 2d ago First seen · 107 lines · 25 tokens per session scan A cf350aa8de37
team-spawn is a command published in the GitHub repository wshobson/agents (39,318 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 1,114 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-30.
Other commands, from other repositories
update-changelog-and-tag
You are preparing a release. Follow these steps precisely.
post
Post the current OCR review to a GitHub PR.
show
Display a past OCR review session.
test-feature
Test a React Native feature on the running simulator/emulator. Verifies UI, user flows, and internal state. Generates a persistent Maestro test file.
doctor
Diagnose installation health. Check Node, CDP bridge, rn-fast-runner (iOS), rn-android-runner (Android), maestro-runner, simulators, Metro, CDP, injected helpers, ffmpeg, physical devices, plugin version, Vercel rules sync. Reports what's missing — does NOT modify your project.
research_web
Conduct extensive web research on technical topics with validated references.