name: swarm-orchestration description: > Multi-agent swarm coordination for complex tasks. Use when: 3+ files need changes, new features, refactoring. Skip when: single file edits, simple fixes, documentation.
Swarm Orchestration Skill
Purpose
Multi-agent swarm coordination for complex tasks.
When to Trigger
- 3+ files need changes
- new features
- refactoring
When to Skip
- single file edits
- simple fixes
- documentation
Commands
Initialize Swarm
Start a new swarm with hierarchical topology
npx @claude-flow/cli swarm init --topology hierarchical --max-agents 8
Route Task
Route a task to the appropriate agents
npx @claude-flow/cli hooks route --task "[task description]"
Monitor Status
Check the current swarm status
npx @claude-flow/cli swarm status
Best Practices
- Check memory for existing patterns before starting
- Use hierarchical topology for coordination
- Store successful patterns after completion
- Document any new learnings