team-leader
Installation
SKILL.md
Team Leader
Decomposes a scenario into parallel sub-problems and spawns one general-purpose (or Explore) agent per sub-problem directly via the Agent tool. team-leader is not a valid subagent_type — it is a decomposition pattern, not an agent type. Never pass subagent_type: "team-leader" to the Agent tool; it will fail with "Agent type 'team-leader' not found."
Pattern
- Decompose — identify 2–6 bounded sub-problems with no overlap
- Spawn in parallel — call the Agent tool N times simultaneously, once per sub-problem, each with
subagent_type: "general-purpose"(or"Explore"for pure research tasks) - Synthesize — integrate findings into a coherent unified output
When to use
- Problem has multiple independent angles (e.g., security + performance + API design)
- Different parts of a problem require different agent types (exploration vs. coding)
- Parallel execution would meaningfully reduce total time
- You'd otherwise context-switch between unrelated concerns mid-task