Skip to main contentAgent spawning, lifecycle management, and coordination patterns. Manages 60+ agent types with specialized capabilities.
Use when: spawning agents, coordinating multi-agent tasks, managing agent pools.
Skip when: single-agent work, no coordination needed.
npxskills add ruvnet/claude-flow--skill agent-coordination
claude-codeswarmagentic-aiagentic-engineeringagentic-frameworkagentic-rag
Agent Coordination Skill
Purpose
Spawn and coordinate agents for complex multi-agent tasks.
Agent Types
Core Development
coder, reviewer, tester, planner, researcher
V3 Specialized
security-architect, security-auditor, memory-specialist, performance-engineer
Swarm Coordination
, , ,
hierarchical-coordinator
mesh-coordinator
adaptive-coordinator
collective-intelligence-coordinator
Consensus
byzantine-coordinator, raft-manager, gossip-coordinator, consensus-builder
GitHub
pr-manager, code-review-swarm, issue-tracker, release-manager
SPARC
sparc-coord, sparc-coder, specification, pseudocode, architecture, refinement
Commands
Spawn Agent
npx claude-flow agent spawn --type coder --name my-coder
List Agents
npx claude-flow agent list --filter active
Agent Status
npx claude-flow agent status --id agent-123
Agent Metrics
npx claude-flow agent metrics --id agent-123
Stop Agent
npx claude-flow agent stop --id agent-123
Pool Management
npx claude-flow agent pool --size 5 --type coder
Routing Codes
| Code | Task | Agents |
|---|
| 1 | Bug Fix | coordinator, researcher, coder, tester |
| 3 | Feature | coordinator, architect, coder, tester, reviewer |
| 5 | Refactor | coordinator, architect, coder, reviewer |
| 7 | Performance | coordinator, perf-engineer, coder |
| 9 | Security | coordinator, security-architect, auditor |
Best Practices
- Use hierarchical topology for coordination
- Keep agent count under 8 for tight coordination
- Use specialized agents for specific tasks
- Coordinate via memory, not direct communication
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.