/agent-spawning
Guide to spawning agents with Claude Code's Task tool.
$ 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
/agent-spawning
Context preview
What this command does when you run it.
Guide to spawning agents with Claude Code's Task tool.
Command definition
agent-spawning.mdagent-spawning
Guide to spawning agents with Claude Code's Task tool.
Using Claude Code's Task Tool
**CRITICAL**: Always use Claude Code's Task tool for actual agent execution:
// Spawn ALL agents in ONE message
Task("Researcher", "Analyze requirements...", "researcher")
Task("Coder", "Implement features...", "coder")
Task("Tester", "Create tests...", "tester")MCP Coordination Setup (Optional)
MCP tools are ONLY for coordination:
mcp__claude-flow__swarm_init { topology: "mesh" }
mcp__claude-flow__agent_spawn { type: "researcher" }Best Practices
1. Always spawn agents concurrently 2. Use Task tool for execution 3. MCP only for coordination 4. Batch all operations
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-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 - /performance-bottlenecks
Identify and resolve performance bottlenecks in your development workflow.
Open command

