Skip to content
Development
Command

/agent-spawn

Spawn a new agent in the current swarm.

From plugin
claude-flow
67k194 skills157 agents194 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-spawn

Context preview

What this command does when you run it.

Spawn a new agent in the current swarm.

Command definition

agent-spawn.md

agent-spawn

Spawn a new agent in the current swarm.

Usage

npx claude-flow agent spawn [options]

Options

  • `--type <type>` - Agent type (coder, researcher, analyst, tester, coordinator)
  • `--name <name>` - Custom agent name
  • `--skills <list>` - Specific skills (comma-separated)

Examples

# Spawn coder agent
npx claude-flow agent spawn --type coder

# With custom name
npx claude-flow agent spawn --type researcher --name "API Expert"

# With specific skills
npx claude-flow agent spawn --type coder --skills "python,fastapi,testing"
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin