Claude-code-flow agent-coordination

install
source · Clone the upstream repo
git clone https://github.com/ruvnet/ruflo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ruvnet/ruflo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/agent-coordination" ~/.claude/skills/ruvnet-claude-code-flow-agent-coordination && rm -rf "$T"
manifest: .agents/skills/agent-coordination/SKILL.md
source content

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

CodeTaskAgents
1Bug Fixcoordinator, researcher, coder, tester
3Featurecoordinator, architect, coder, tester, reviewer
5Refactorcoordinator, architect, coder, reviewer
7Performancecoordinator, perf-engineer, coder
9Securitycoordinator, security-architect, auditor

Best Practices

  1. Use hierarchical topology for coordination
  2. Keep agent count under 8 for tight coordination
  3. Use specialized agents for specific tasks
  4. Coordinate via memory, not direct communication