
Swarm Advanced
Orchestrate multi-agent swarms with mesh, hierarchical, and star topologies for parallel research, development, and test workflows via Claude Flow MCP or CLI.
Overview
Swarm Advanced is an agent skill most often used in Build (also Idea, Ship) that teaches mesh, hierarchical, and star multi-agent orchestration with Claude Flow MCP and CLI commands.
Install
npx skills add https://github.com/ruvnet/ruflo --skill swarm-advancedWhat is this skill?
- Documents mesh, hierarchical, and star swarm topologies with when-to-use guidance
- Quick start via npm global claude-flow@alpha and optional MCP server registration
- MCP examples: swarm_init, agent_spawn, task_orchestrate with parallel strategy
- Covers research, development, testing, and complex distributed workflows
- Version 2.0.0 orchestration skill from Claude Flow team tagging
- 3 documented swarm topologies: mesh, hierarchical, and star
- Skill version 2.0.0 in frontmatter
Adoption & trust: 647 installs on skills.sh; 58.5k GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You hit agent context and serial bottlenecks when research, implementation, and verification should run concurrently across specialized roles.
Who is it for?
Indie builders already on Claude Flow who want production-style distributed agent patterns for R&D and test fan-out.
Skip if: Beginners on a single-file fix, projects without Node/npm, or teams that forbid multi-agent MCP tooling.
When should I use this skill?
Advanced swarm orchestration for research, development, testing, and complex distributed workflows using Claude Flow MCP or CLI.
What do I get? / Deliverables
You can initialize a sized swarm, spawn role-typed agents, and orchestrate parallel or structured task graphs instead of one monolithic agent thread.
- Configured swarm topology and agent roster
- Orchestrated multi-agent task runs with stated strategy
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Build agent-tooling is the primary shelf because the skill configures swarm_init, agent_spawn, and task_orchestrate primitives for implementation-time multi-agent execution. Agent-tooling captures distributed coordination patterns rather than a single feature ticket or UI task.
Where it fits
Spin a mesh of researcher agents to compare competitor APIs before you commit to an integration design.
Use hierarchical topology so a coordinator agent sequences implementation subtasks across spawned coders.
Orchestrate parallel test agents after feature completion without manually copying prompts.
Fan out integration probes across services while a lead agent merges findings into one plan.
How it compares
Skill documentation for orchestration patterns—not a hosted swarm SaaS or a simple single-agent coding skill.
Common Questions / FAQ
Who is swarm-advanced for?
Developers shipping agent-heavy workflows with Claude Flow who need topology-aware coordination beyond one chat session.
When should I use swarm-advanced?
During Idea research for parallel discovery, during Build for multi-agent implementation pipelines, and during Ship testing when distributed verification agents accelerate QA.
Is swarm-advanced safe to install?
Review the Security Audits panel on this Prism page; installing claude-flow globally and enabling MCP expands shell and network reach—treat agent spawn permissions as production-sensitive.
SKILL.md
READMESKILL.md - Swarm Advanced
# 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 coordinator, best for testing - Centralized control and monitoring - Parallel execution with coordination - Use for: Testing, validation, quality assurance **Ring Topology** - Sequential processing chain - Step-by-step processing - Pipeline workflows - Use for: Multi-stage processing, data pipelines ### Agent Strategies **Adaptive** - Dynamic adjustment based on task complexity **Balanced** - Equal distribution of work across agents **Specialized** - Task-specific agent assignment **Parallel** - Maximum concurrent execution ## Pattern 1: Research Swarm ### Purpose Deep research through parallel information gathering, analysis, and synthesis. ### Architecture ```javascript // Initialize research swarm mcp__claude-flow__swarm_init({ "topology": "mesh", "maxAgents": 6, "strategy": "adaptive" }) // Spawn research team const researchAgents = [ { type: "researcher", name: "Web Researcher", capabilities: ["web-search", "content-extraction", "source-validation"] }, { type: "researcher", name: "Academic Researcher", capabilities: ["paper-analysis", "citation-tracking", "literature-review"] }, { type: "analyst", name: "Data Analyst", capabilities: ["data-processing", "statistical-analysis", "visualization"] }, { type: "analyst", name: "Pattern Analyzer", capabilities: ["trend-detection", "correlation-analysis", "outlier-detection"] }, { type: "documenter", name: "Report Writer", capabilities: ["synthesis", "technical-writing", "formatting"] } ] // Spawn all agents researchAgents.forEach(agent => { mcp__claude-flow__agent_spawn({ type: agent.type, name: agent.name, capabilities: agent.capabilities }) }) ``` ### Research Workflow #### Phase 1: Information Gathering ```javascript // Parallel information collection mcp__claude-flow__parallel_execute({ "tasks": [ { "id": "web-search", "command": "search recent publications and articles" }, { "id": "academic-search", "command": "search academic databases and papers" }, { "id": "data-collection", "command": "gather relevant datasets and statistics" }, { "id": "expert-search", "command": "identify domain experts and thought leaders" } ] }) // Store research findings in memory mcp__claude-flow__memory_usage({ "action": "store", "key": "research-findings-" + Date.now(), "value": JSON.stringify(findings), "namespac