swarm
From ruvnet
Main swarm orchestration command for Claude Flow.
Install
/swarmFacts
- Repository
- ruvnet/ruflo
- Status
- Actively maintained
- Last commit
- Source file
- .claude/commands/flow-nexus/swarm.md
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
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 15d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 15d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 15d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 14d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 14d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 14d ago