Skip to content
Development
Command

/agent-spawning

Guide to spawning agents with Claude Code's Task tool.

From plugin
ruvnet-ruflo
72k196 skills160 agents196 commands1 MCP
Install
> /plugin marketplace add ruvnet/ruflo

How 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.md

agent-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

Ships withruvnet-ruflo

An agent meta-harness for Claude Code and Codex. 📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification.

Get the whole plugin

Other commands on ruvnet-ruflo.