Skip to content
Development
Command

/spawn

**This tool coordinates Claude Code's actions. It does NOT write code or create content.**

From plugin
claude-flow
67k194 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/claude-flow

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/spawn

Context preview

What this command does when you run it.

**This tool coordinates Claude Code's actions. It does NOT write code or create content.**

Command definition

spawn.md

Create Cognitive Patterns

๐ŸŽฏ Key Principle

**This tool coordinates Claude Code's actions. It does NOT write code or create content.**

MCP Tool Usage in Claude Code

**Tool:** `mcp__claude-flow__agent_spawn`

Parameters

{"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}

Description

Define cognitive patterns that represent different approaches Claude Code can take

Details

Agent types represent thinking patterns, not actual coders:

  • **researcher**: Systematic exploration approach
  • **coder**: Implementation-focused thinking
  • **analyst**: Data-driven decision making
  • **architect**: Big-picture system design
  • **reviewer**: Quality and consistency checking

These patterns guide how Claude Code approaches different aspects of your task.

Example Usage

**In Claude Code:** 1. Use the tool: `mcp__claude-flow__agent_spawn` 2. With parameters: `{"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}` 3. Claude Code then executes the coordinated plan using its native tools

Important Reminders

  • โœ… This tool provides coordination and structure
  • โœ… Claude Code performs all actual implementation
  • โŒ The tool does NOT write code
  • โŒ The tool does NOT access files directly
  • โŒ The tool does NOT execute commands

See Also

  • Main documentation: /claude.md
  • Other commands in this category
  • Workflow examples in /workflows/
Read more
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