Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
27
.claude/commands/swarm/swarm.md
Normal file
27
.claude/commands/swarm/swarm.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user