swarm-advanced
Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows
npx skills add ruvnet/ruflo --skill swarm-advanced --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Advanced Swarm Orchestration guides agents to master complex distributed workflows using both MCP tooling and CLI commands. It covers initializing swarms with various topologies, spawning specialized agents, and orchestrating tasks with different strategies for research, development, testing, and analysis contexts.
How it works
- Initialize swarm topology and capacity with commands like mcp__claude-flow__swarm_init and specify topology (mesh, hierarchical, star, etc.) and maxAgents.
- Spawn agents by iterating through defined agent specs and calling mcp__claude-flow__agent_spawn with type, name, and capabilities.
- Orchestrate tasks using mcp__claude-flow__task_orchestrate, mcp__claude-flow__parallel_execute, and related functions to assign tasks to agents or groups, with strategies such as adaptive, balanced, parallel, or sequential.
- Use memory and knowledge management calls like mcp__claude-flow__memory_usage and mcp__claude-flow__memory_search to store and retrieve findings, architecture decisions, or knowledge graphs.
- Monitor swarm progress via mcp__claude-flow__swarm_status or mcp__claude-flow__swarm_monitor and generate reports with mcp__claude-flow__workflow_execute or mcp__claude-flow__performance_report.
When to use it
Use when orchestrating complex distributed workflows for research, development, testing, and analysis that require multiple topology patterns and role-specific agents, and when you need structured progression through phases (initialization, spawning, orchestration, monitoring, reporting).
What it can touch
- Tools: claude-code, codex
- Commands and functions: mcp__claude-flow__swarm_init, mcp__claude-flow__agent_spawn, mcp__claude-flow__task_orchestrate, mcp__claude-flow__parallel_execute, mcp__claude-flow__swarm_status, mcp__claude-flow__memory_usage, mcp__claude-flow__memory_search, mcp__claude-flow__performance_report, mcp__claude-flow__workflow_execute
Caveats
License: MIT There are no stated risks or limitations beyond what is shown in the provided workflow blocks.
# Advanced Swarm Orchestration Master advanced swarm patterns for distributed research, development, and testing workflows. This skill covers comprehensive orchestration strategies using both MCP tools and CLI commands. ## Quick Start ### Prerequisites ```bash # Ensure Claude Flow is installed npm install -g claude-flow@alpha # Add MCP server (if using MCP tools) claude mcp add claude-flow npx claude-flow@alpha mcp start ``` ### Basic Pattern ```javascript // 1. Initialize swarm topology mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 }) // 2. Spawn specialized agents mcp__claude-flow__agent_spawn({ type: "researcher", name: "Agent 1" }) // 3. Orchestrate tasks mcp__claude-flow__task_orchestrate({ task: "...", strategy: "parallel" }) ``` ## Core Concepts ### Swarm Topologies **Mesh Topology** - Peer-to-peer communication, best for research and analysis - All agents communicate directly - High flexibility and resilience - Use for: Research, analysis, brainstorming **Hierarchical Topology** - Coordinator with subordinates, best for development - Clear command structure - Sequential workflow support - Use for: Development, structured workflows **Star Topology** - Central
- Quick Start
- Prerequisites
- Basic Pattern
- Core Concepts
- Swarm Topologies
- Agent Strategies
- Pattern 1: Research Swarm
- Purpose
- Architecture
- Research Workflow
- CLI Fallback
- Pattern 2: Development Swarm
- Development Workflow
- Pattern 3: Testing Swarm
Ensure Claude Flow is installed npm install -g claude-flow@alpha Add MCP server (if using MCP tools) claude mcp add claude-flow npx claude-flow@alpha mcp start Quick research swarm npx claude-flow swarm "research AI trends in 2025" \ Quick development swarm npx claude-flow swarm "build REST API with authentication" \ Quick testing swarm npx claude-flow swarm "test application comprehensively" \
What does the swarm-advanced skill do?
Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows
How do I install it?
Run `npx skills add ruvnet/ruflo --skill swarm-advanced --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.