/swarm
AI swarm deployment and coordination in cloud
$ npx -y skills add ruvnet/agentic-flow --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/swarm
Context preview
What this command does when you run it.
AI swarm deployment and coordination in cloud
Command definition
swarm.mdname: flow-nexus-swarm
description: AI swarm deployment and coordination in cloud
Flow Nexus Swarms
Deploy and manage AI agent swarms in the cloud.
Initialize Swarm
mcp__flow-nexus__swarm_init({
topology: "hierarchical", // mesh, ring, star, hierarchical
maxAgents: 8,
strategy: "balanced" // balanced, specialized, adaptive
})Spawn Agents
mcp__flow-nexus__agent_spawn({
type: "researcher", // coder, analyst, optimizer, coordinator
name: "Lead Researcher",
capabilities: ["web_search", "analysis", "summarization"]
})Orchestrate Tasks
mcp__flow-nexus__task_orchestrate({
task: "Build a REST API with authentication",
strategy: "parallel", // parallel, sequential, adaptive
maxAgents: 5,
priority: "high"
})Monitor Swarm
// Get swarm status
mcp__flow-nexus__swarm_status()
// List active swarms
mcp__flow-nexus__swarm_list({ status: "active" })
// Scale swarm
mcp__flow-nexus__swarm_scale({ target_agents: 10 })
// Destroy swarm
mcp__flow-nexus__swarm_destroy({ swarm_id: "id" })Templates
// Use pre-built swarm template
mcp__flow-nexus__swarm_create_from_template({
template_name: "full-stack-dev",
overrides: {
maxAgents: 6,
strategy: "specialized"
}
})
// List available templates
mcp__flow-nexus__swarm_templates_list({
category: "quickstart" // specialized, enterprise, custom
})Common Swarm Patterns
Research Swarm
mcp__flow-nexus__swarm_init({ topology: "mesh", maxAgents: 5 })
mcp__flow-nexus__agent_spawn({ type: "researcher", name: "Lead" })
mcp__flow-nexus__agent_spawn({ type: "analyst", name: "Data Analyst" })
mcp__flow-nexus__task_orchestrate({ task: "Research ML trends" })Development Swarm
mcp__flow-nexus__swarm_init({ topology: "hierarchical", maxAgents: 8 })
mcp__flow-nexus__agent_spawn({ type: "coordinator", name: "PM" })
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Backend Dev" })
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Frontend Dev" })
mcp__flow-nexus__task_orchestrate({ task: "Build e-commerce platform" })Read more
name: flow-nexus-swarm description: AI swarm deployment and coordination in cloud
Flow Nexus Swarms
Deploy and manage AI agent swarms in the cloud.
Initialize Swarm
mcp__flow-nexus__swarm_init({
topology: "hierarchical", // mesh, ring, star, hierarchical
maxAgents: 8,
strategy: "balanced" // balanced, specialized, adaptive
})Spawn Agents
mcp__flow-nexus__agent_spawn({
type: "researcher", // coder, analyst, optimizer, coordinator
name: "Lead Researcher",
capabilities: ["web_search", "analysis", "summarization"]
})Orchestrate Tasks
mcp__flow-nexus__task_orchestrate({
task: "Build a REST API with authentication",
strategy: "parallel", // parallel, sequential, adaptive
maxAgents: 5,
priority: "high"
})Monitor Swarm
// Get swarm status
mcp__flow-nexus__swarm_status()
// List active swarms
mcp__flow-nexus__swarm_list({ status: "active" })
// Scale swarm
mcp__flow-nexus__swarm_scale({ target_agents: 10 })
// Destroy swarm
mcp__flow-nexus__swarm_destroy({ swarm_id: "id" })Templates
// Use pre-built swarm template
mcp__flow-nexus__swarm_create_from_template({
template_name: "full-stack-dev",
overrides: {
maxAgents: 6,
strategy: "specialized"
}
})
// List available templates
mcp__flow-nexus__swarm_templates_list({
category: "quickstart" // specialized, enterprise, custom
})Common Swarm Patterns
Research Swarm
mcp__flow-nexus__swarm_init({ topology: "mesh", maxAgents: 5 })
mcp__flow-nexus__agent_spawn({ type: "researcher", name: "Lead" })
mcp__flow-nexus__agent_spawn({ type: "analyst", name: "Data Analyst" })
mcp__flow-nexus__task_orchestrate({ task: "Research ML trends" })Development Swarm
mcp__flow-nexus__swarm_init({ topology: "hierarchical", maxAgents: 8 })
mcp__flow-nexus__agent_spawn({ type: "coordinator", name: "PM" })
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Backend Dev" })
mcp__flow-nexus__agent_spawn({ type: "coder", name: "Frontend Dev" })
mcp__flow-nexus__task_orchestrate({ task: "Build e-commerce platform" })Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.
Repo: ruvnet/agentic-flow
Other commands on agentic-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

