claudegoodies
Command

swarm

From ruvnet

Main swarm orchestration command for Claude Flow.

Install

/swarm

Facts

Repository
ruvnet/ruflo
Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

# swarm

Main swarm orchestration command for Claude Flow.

## Usage
```bash
npx claude-flow swarm <objective> [options]
```

## Options
- `--strategy <type>` - Execution strategy (research, development, analysis, testing)
- `--mode <type>` - Coordination mode (centralized, distributed, hierarchical, mesh)
- `--max-agents <n>` - Maximum number of agents (default: 5)
- `--claude` - Open Claude Code CLI with swarm prompt
- `--parallel` - Enable parallel execution

## Examples
```bash
# Basic swarm
npx claude-flow swarm "Build REST API"

# With strategy
npx claude-flow swarm "Research AI patterns" --strategy research

# Open in Claude Code
npx claude-flow swarm "Build API" --claude
```
View full source on GitHub →

Other slash commands