Delegation
Installation
SKILL.md
Delegation — Agent Orchestration & Parallelization
Auto-invoked by the Algorithm when work can be parallelized or requires agent specialization.
🚨 CRITICAL ROUTING — Two COMPLETELY Different Systems
| the user Says | System | Tool | What Happens |
|---|---|---|---|
| "custom agents", "specialized agents", "spin up agents", "launch agents" | Agents Skill (ComposeAgent) | Task(subagent_type="general-purpose", prompt=<ComposeAgent output>) |
Unique personalities, voices, colors via trait composition |
| "create an agent team", "agent team", "swarm" | Claude Code Teams | TeamCreate → TaskCreate → SendMessage |
Persistent team with shared task list, message coordination, multi-turn collaboration |
These are NOT the same thing:
- Custom agents = one-shot parallel workers with unique identities, launched via
Task(), no shared state - Agent teams = persistent coordinated teams with shared task lists, messaging, and multi-turn collaboration via
TeamCreate