Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Swarm Init

Initialize a multi-agent swarm with anti-drift configuration. Use when starting a complex multi-file task that needs 3+ coordinated agents (feature implementation, refactor across modules, security audit). Skip for single-file edits or quick questions.

thedixitjain ad9e00e 1.2 KB Updated 2 repo stars

File contents

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

Source: ruvnet/rufloplugins/ruflo-swarm/skills/swarm-init/SKILL.md

thedixitjain/the-mega-skill-library/tree/main/library/ai-agents-and-harness/swarm-init commit ad9e00e483

Frequently asked questions

npx skillmds add thedixitjain/swarm-init