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

  1. Decompose — identify 2–6 bounded sub-problems with no overlap
  2. 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)
  3. 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

When NOT to use

Installs
3
Repository
lanej/dotfiles
GitHub Stars
39
First Seen
May 29, 2026
team-leader — lanej/dotfiles