ruvnet avatar

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-code

Installs 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

Recommended

More Security
1mindrally avatarrest-api-djangomindrally/skillsComprehensive guidelines for Django REST API development covering project structure, views, models, serializers, authentication, performance, and error handling741skills.sh installs
2github avatarcode-tourgithub/awesome-copilotUse this skill to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers. Trigger for: "create a tou739skills.sh installs
3ruvnet avatarbrowser-loginruvnet/rufloDrive an authentication flow once, sanitize cookies through AIDefence, and vault a reusable cookie handle in browser-cookies for future sessions730skills.sh installs
4syncfusion avatarsyncfusion-react-speech-to-textsyncfusion/react-ui-components-skillsImplement the Syncfusion React SpeechToText component. Use this skill to convert speech to text, manage microphone input, control listening states, process spee730skills.sh installs
5cap-go avatarcapgo-organization-managementcap-go/capgo-skillsGuides the agent through Capgo account lookup and organization administration. Use when listing organizations, managing members, changing security settings, or 725skills.sh installs
6joellewis avatarfinancial-planning-integrationjoellewis/finance_skillsIntegrate financial planning engines with the advisor technology stack — data flows between planning tools, CRM, PMS, custodians, and aggregation platforms; cap723skills.sh installs