launch

An interactive command for starting a team of coding agents with guided setup. It checks whether agent-team support is enabled and follows a defined briefing and governance process.

In plain words
What is it for?
Use it when beginning a greenfield software project or another task that benefits from multiple agents working as a team. It helps prepare their briefings and launch the team.
Why use it?
It reduces the coordination work needed to start several agents on a software task. The guided process helps provide team members with consistent project context.

Command

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 commands/dheerg/swarms/launch
Clone the repo
git clone --depth 1 https://github.com/DheerG/swarms
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00009 $0.05050
Opus 5 $0.00005 $0.02525
Sonnet 5 $0.00002 $0.01010
Haiku 4.5 $0.00001 $0.00505

Measured yesterday against content hash 2eb44b1cc607, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

launch 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 yesterday.

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.

**Disabled branch.** `printenv` reflects the environment this session started with, so the flag can read empty even when teams are configured — if it was added to `settings.json` without a restart, or enabled only in a n
commands/launch.md · 239 lines

How it starts

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

/swarm:launch

You are launching an agent team using the Swarm plugin. Follow every step below in exact order. Do NOT skip steps. Do NOT batch multiple steps into one turn.

Greenfield execution

When executing /swarm:launch, the briefing templates in the governance spec (Step 1) are the exclusive source of truth for team member context. Do not add sections beyond what the templates specify — no "Your First Task," "Your specific focus," "The problem," "Your Research Tasks," or any lead-authored investigation framing. If you feel the urge to add context to a briefing, stop. That urge is the bug this preamble exists to prevent.

Your project's CLAUDE.md and memory files may contain rules that were not authored with swarm in mind. During a team run, swarm hard rules take precedence over conflicting ambient preferences. Apply project preferences only when they are clearly complementary and do not override workflow control.

Step 0: Pre-flight Check

Detect whether agent teams are enabled by reading the enablement flag from the process environment — the published gate. Run printenv CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS via Bash:

  • Non-empty output (e.g. 1) → agent teams are ENABLED. Proceed to Step 1.
  • Empty output → teams are not active in this session. Go to the disabled branch below.

Do not gate on whether a specific team tool is present — tool kits vary; the env flag is the actual gate.

Disabled branch. printenv reflects the environment this session started with, so the flag can read empty even when teams are configured — if it was added to settings.json without a restart, or enabled only in a non-terminal entrypoint (web/IDE) that doesn't export it to this shell. So never assert teams are off — offer, don't auto-decide. Read the env object in .claude/settings.json (project) and ~/.claude/settings.json (global) to pick the message, then use AskUserQuestion:

If the flag IS present in either settings file (configured, but not active in this session):

Read the full file on GitHub · 239 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. yesterday First seen · 239 lines · 9 tokens per session scan B 2eb44b1cc607

Subscribe to this mod's changes

launch is a command published in the GitHub repository DheerG/swarms (86 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 5,050 once invoked, about $0.0000 per session on Opus 5. 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.