
Swarm Init
This sets up multi-agent swarms where multiple Claude instances can work in parallel without stepping on each other's toes. You get hierarchical, mesh, or ring topologies depending on whether you need 3 agents or 15, and it uses git worktrees to keep everyone in their own sandbox. The anti-drift configuration is the real selling point here since coordinating multiple AI agents usually turns into chaos fast. If you're trying to parallelize a large refactor or split up a complex feature across a team of Claudes, this gives you the scaffolding to actually make that work instead of merging conflicts forever.
- skills.sh installs
- 749
- GitHub stars
- 81.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ruvnet/ruflo --skill swarm-init --agent claude-codeInstalls into .claude/skills of the current project.
Files
Initialize a hierarchical swarm for coordinated multi-agent work.
Via MCP: mcp__plugin_ruflo-core_ruflo__swarm_init({ topology: "hierarchical", maxAgents: 8, strategy: "specialized" })
Or via CLI:
npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized
Then spawn named agents in ONE message via Claude Code's Task tool with name: (for SendMessage addressability) and run_in_background: true (for parallel execution). Use EnterWorktree per agent for git-safe parallel work, and SendMessage for inter-agent coordination.
For larger teams (10+), use hierarchical-mesh topology:
npx @claude-flow/cli@latest swarm init --topology hierarchical-mesh --max-agents 15 --strategy specialized
Sponsors
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Security, Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026
More from ruvnet/ruflo
All 236- Security Scan748
- Cost Optimize747
- Horizon Track747
- Agentdb Query746
- Monitor Stream746
- Trader Backtest746
- Adr Review745
- Daa Agent745
- Loop Worker745
- Memory Bridge745
- Trader Signal745
- Autopilot Predict744
- Doc Gen744
- Safety Scan744
- Workflow Run744
- Chat Format743
- Create Plugin743
- Git Workflow743
- Intelligence Route743
- Tdd Workflow743
- Adr Create742
- Trader Portfolio742
- Validate Plugin742
- Wasm Gallery742