/swarm
Main swarm orchestration command for Claude Flow V3.
> /plugin marketplace add proffesor-for-testing/agentic-qe > /plugin install agentic-qe-fleet@agentic-qe
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/swarm
Context preview
What this command does when you run it.
Main swarm orchestration command for Claude Flow V3.
Command definition
swarm.md/swarm
Main swarm orchestration command for Claude Flow V3.
๐จ CRITICAL: Background Execution Pattern
**When spawning a swarm, Claude Code MUST:**
1. **Spawn ALL agents in background** using `run_in_background: true` 2. **Put ALL Task calls in ONE message** for parallel execution 3. **Display status board** with ASCII table and emojis 4. **STOP and WAIT** - don't add more tool calls or poll status
โ
CORRECT Spawn Pattern
// Spawn ALL agents IN BACKGROUND in ONE message
Task({ prompt: "Research...", subagent_type: "researcher", run_in_background: true })
Task({ prompt: "Design...", subagent_type: "architect", run_in_background: true })
Task({ prompt: "Implement...", subagent_type: "coder", run_in_background: true })
Task({ prompt: "Test...", subagent_type: "tester", run_in_background: true })
Task({ prompt: "Review...", subagent_type: "reviewer", run_in_background: true })๐ Required Status Display (ASCII Table)
**After spawning, Claude Code MUST display this status board:**
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ SWARM LAUNCHED โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ ๐ Task: [user's task description] โ
โ ๐ Topology: hierarchical โ ๐ฅ Agents: 5/15 โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ AGENT โ STATUS โ TASK โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ ๐ Researcher โ ๐ข ACTIVE โ Analyzing requirements โ
โ ๐๏ธ Architect โ ๐ข ACTIVE โ Designing approach โ
โ ๐ป Coder โ ๐ข ACTIVE โ Implementing solution โ
โ ๐งช Tester โ ๐ข ACTIVE โ Writing tests โ
โ ๐ Reviewer โ ๐ข ACTIVE โ Code review & security โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โณ Working in parallel... Results will arrive automatically โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ DO NOT
TaskOutput({ task_id: "..." }) // โ Don't poll
"Should I check on agents?" // โ Don't ask
swarm status // โ Don't check repeatedly๐ Agent Types by Task
โโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ TASK TYPE โ AGENTS โ
โ โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ ๐ New Feature โ researcher, architect, coder, tester, rev โ
โ ๐ Bug Fix โ researcher, coder, tester โ
โ โป๏ธ Refactor โ architect, coder, reviewer โ
โ ๐ Security โ security-architect, auditor, reviewer โ
โ โก Performance โ researcher, perf-engineer, coder โ
โ ๐ Documentation โ researcher, api-docs โ
โโโโโโโโโโโโโโโโโโโโโฉโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Usage
npx @claude-flow/cli@latest swarm init --topology hierarchical
npx @claude-flow/cli@latest swarm status # Only after completion
Options
โโโโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ OPTION โ DESCRIPTION โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ --strategy <type> โ research, development, analysis โ
โ --topology <type> โ hierarchical, mesh, ring, star โ
โ --max-agents <n> โ Maximum agents (default: 15) โ
โ --background โ Run in background (default: true) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโฉโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Read more
/swarm
Main swarm orchestration command for Claude Flow V3.
๐จ CRITICAL: Background Execution Pattern
**When spawning a swarm, Claude Code MUST:**
1. **Spawn ALL agents in background** using `run_in_background: true` 2. **Put ALL Task calls in ONE message** for parallel execution 3. **Display status board** with ASCII table and emojis 4. **STOP and WAIT** - don't add more tool calls or poll status
โ CORRECT Spawn Pattern
// Spawn ALL agents IN BACKGROUND in ONE message
Task({ prompt: "Research...", subagent_type: "researcher", run_in_background: true })
Task({ prompt: "Design...", subagent_type: "architect", run_in_background: true })
Task({ prompt: "Implement...", subagent_type: "coder", run_in_background: true })
Task({ prompt: "Test...", subagent_type: "tester", run_in_background: true })
Task({ prompt: "Review...", subagent_type: "reviewer", run_in_background: true })๐ Required Status Display (ASCII Table)
**After spawning, Claude Code MUST display this status board:**
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ ๐ SWARM LAUNCHED โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ ๐ Task: [user's task description] โ โ ๐ Topology: hierarchical โ ๐ฅ Agents: 5/15 โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ AGENT โ STATUS โ TASK โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ ๐ Researcher โ ๐ข ACTIVE โ Analyzing requirements โ โ ๐๏ธ Architect โ ๐ข ACTIVE โ Designing approach โ โ ๐ป Coder โ ๐ข ACTIVE โ Implementing solution โ โ ๐งช Tester โ ๐ข ACTIVE โ Writing tests โ โ ๐ Reviewer โ ๐ข ACTIVE โ Code review & security โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ โณ Working in parallel... Results will arrive automatically โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ DO NOT
TaskOutput({ task_id: "..." }) // โ Don't poll
"Should I check on agents?" // โ Don't ask
swarm status // โ Don't check repeatedly๐ Agent Types by Task
โโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ TASK TYPE โ AGENTS โ โ โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ ๐ New Feature โ researcher, architect, coder, tester, rev โ โ ๐ Bug Fix โ researcher, coder, tester โ โ โป๏ธ Refactor โ architect, coder, reviewer โ โ ๐ Security โ security-architect, auditor, reviewer โ โ โก Performance โ researcher, perf-engineer, coder โ โ ๐ Documentation โ researcher, api-docs โ โโโโโโโโโโโโโโโโโโโโโฉโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Usage
npx @claude-flow/cli@latest swarm init --topology hierarchical npx @claude-flow/cli@latest swarm status # Only after completion
Options
โโโโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ OPTION โ DESCRIPTION โ โ โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ โ --strategy <type> โ research, development, analysis โ โ --topology <type> โ hierarchical, mesh, ring, star โ โ --max-agents <n> โ Maximum agents (default: 15) โ โ --background โ Run in background (default: true) โ โโโโโโโโโโโโโโโโโโโโโโโโโโฉโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns โ across 11 coding agent platforms.
Repo: proffesor-for-testing/agentic-qe
Other commands on agentic-qe.
- /agent-capabilities
Capability matrix for all agent types
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 87 available agent types in Claude Flow V3
Open command - /health
Show agent health and metrics
Open command - /list
List all active agents
Open command

