swarm task
A streamlined pipeline that skips the full planning ceremony. Faster than auto for tasks that don’t need extensive clarification.
swarm task "Fix the login validation bug"swarm task -f task-description.mdPipeline
Section titled “Pipeline”- Pre-analysis — Checks for research sub-tasks (URLs, libraries to investigate). Runs them in parallel.
- PM review — A PM agent reviews and refines the task into a clear specification, auto-answering open questions.
- Decomposition — Determines how many streams are needed. Dependent tasks are grouped into execution waves.
- Implementation — Parallel streams with QA loops. Wave-based execution for dependent tasks.
- Verification — Build/test/lint commands to verify the implementation.
When to Use
Section titled “When to Use”- Well-scoped, focused tasks
- Bug fixes
- Small features
- When you want fast execution without planning overhead
Comparison with Other Modes
Section titled “Comparison with Other Modes”| Aspect | task | auto | plan + run |
|---|---|---|---|
| User interaction | None | None | Interactive Q&A |
| Planning depth | PM review only | Full planning | Full planning |
| Speed | Fastest | Moderate | Slowest (but highest quality) |
| Best for | Bug fixes, small features | Well-defined features | Complex, ambiguous features |