
Swarm Orchestration
- 97 installs
- 67k repo stars
- Updated August 4, 2026
- ruvnet/claude-flow
Helps with ai & agent building tasks during AI-assisted development.
About
swarm-orchestration is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- swarm-orchestration
- AI & Agent Building
- AI-coding skill
Swarm Orchestration by the numbers
- 97 all-time installs (skills.sh)
- Ranked #4,520 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/claude-flow --skill swarm-orchestrationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 97 |
|---|---|
| repo stars | ★ 67k |
| Last updated | August 4, 2026 |
| Repository | ruvnet/claude-flow ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
Swarm Orchestration Skill
Purpose
Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules.
When to Trigger
- 3+ files need changes
- new feature implementation
- cross-module refactoring
- API changes with tests
- security-related changes
- performance optimization across codebase
- database schema changes
When to Skip
- single file edits
- simple bug fixes (1-2 lines)
- documentation updates
- configuration changes
- quick exploration
Commands
Initialize Swarm
Start a new swarm with hierarchical topology (anti-drift)
npx @claude-flow/cli swarm init --topology hierarchical --max-agents 8 --strategy specializedExample:
npx @claude-flow/cli swarm init --topology hierarchical --max-agents 6 --strategy specializedRoute Task
Route a task to the appropriate agents based on task type
npx @claude-flow/cli hooks route --task "[task description]"Example:
npx @claude-flow/cli hooks route --task "implement OAuth2 authentication flow"Spawn Agent
Spawn a specific agent type
npx @claude-flow/cli agent spawn --type [type] --name [name]Example:
npx @claude-flow/cli agent spawn --type coder --name impl-authMonitor Status
Check the current swarm status
npx @claude-flow/cli swarm status --verboseOrchestrate Task
Orchestrate a task across multiple agents
npx @claude-flow/cli task orchestrate --task "[task]" --strategy adaptiveExample:
npx @claude-flow/cli task orchestrate --task "refactor auth module" --strategy parallel --max-agents 4List Agents
List all active agents
npx @claude-flow/cli agent list --filter activeScripts
| Script | Path | Description |
|---|---|---|
swarm-start | .agents/scripts/swarm-start.sh | Initialize swarm with default settings |
swarm-monitor | .agents/scripts/swarm-monitor.sh | Real-time swarm monitoring dashboard |
References
| Document | Path | Description |
|---|---|---|
Agent Types | docs/agents.md | Complete list of agent types and capabilities |
Topology Guide | docs/topology.md | Swarm topology configuration guide |
Best Practices
1. Check memory for existing patterns before starting 2. Use hierarchical topology for coordination 3. Store successful patterns after completion 4. Document any new learnings
#!/bin/bash
# Swarm Orchestration - Monitor Script
# Real-time swarm monitoring
set -e
echo "Starting swarm monitor..."
npx @claude-flow/cli swarm status --watch --interval 5
#!/bin/bash
# Swarm Orchestration - Start Script
# Initialize swarm with default anti-drift settings
set -e
echo "Initializing hierarchical swarm..."
npx @claude-flow/cli swarm init \
--topology hierarchical \
--max-agents 8 \
--strategy specialized
echo "Swarm initialized successfully"
npx @claude-flow/cli swarm status