swarm
Installation
SKILL.md
/swarm - Parallel Agent Swarm
$ARGUMENTS
MANDATORY: You MUST use the Agent tool
DO NOT do the work yourself. Decompose the task and invoke agents via multiple parallel Agent tool calls. Single-agent execution = failure.
Modes
Map-Reduce (default)
Split task into N independent sub-tasks. Launch ALL agents in a single response (parallel execution).
# Single response with N Agent tool calls:
Agent(subagent_type="...", prompt="sub-task 1 — own files: path/a/")
Agent(subagent_type="...", prompt="sub-task 2 — own files: path/b/")
Agent(subagent_type="...", prompt="sub-task N — own files: path/n/")