swarm
Initialize, monitor, and manage multi-agent swarms
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/swarm.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-swarm/commands/swarm.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/swarm.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-swarm/commands/swarm.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- name: swarm description: Initialize, monitor, and manage multi-agent swarms --- $ARGUMENTS Swarm lifecycle management. **Init**: `npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized` **Status**: `npx @claude-flow/cli@latest swarm status` **Health**: MCP `mcp__plugin_ruflo-core_ruflo__swarm_health` (the CLI has no `swarm health`) **Stop**: `npx @claude-flow/cli@latest swarm stop` (add `--force` to skip the graceful wait), or MCP `swarm_shutdown`; ask the user before stopping a swarm with running agents Parse $ARGUMENTS to determine the subcommand. If no arguments, show swarm status. After init, spawn agents via Claude Code's Task tool with `run_in_background: true` for parallel execution.