Skip to content
Development
Command

/init

**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/init

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

init.md

Initialize Coordination Framework

๐ŸŽฏ 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__swarm_init`

Parameters

{"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}

Description

Set up a coordination topology to guide Claude Code's approach to complex tasks

Details

This tool creates a coordination framework that helps Claude Code:

  • Break down complex problems systematically
  • Approach tasks from multiple perspectives
  • Maintain consistency across large projects
  • Work more efficiently through structured coordination

Remember: This does NOT create actual coding agents. It creates a coordination pattern for Claude Code to follow.

Example Usage

**In Claude Code:** 1. Use the tool: `mcp__claude-flow__swarm_init` 2. With parameters: `{"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}` 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/
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