From claude-workflow
Orchestrates multi-agent teams in Claude Code team mode for coordinating teammates, decomposing complex tasks, and managing shared task lists in collaborative workflows.
npx claudepluginhub spences10/claude-code-toolkit --plugin claude-workflowThis skill uses the workspace's default tool permissions.
Patterns for coordinating multi-agent work in Claude Code using team mode.
Orchestrates Claude Code agent teams: spawn teammates, assign tasks with dependencies, manage communication via messages or broadcasts, configure modes, and set quality gate hooks.
Coordinates multiple Claude Code instances as agent teams with shared tasks, inter-agent messaging, and management for parallel research, feature development, debugging, and cross-layer coordination.
Coordinates multiple Claude Code sessions as lead + teammates with shared tasks, messaging, file locks for parallel repo development. Includes sizing, decomposition patterns.
Share bugs, ideas, or general feedback.
Patterns for coordinating multi-agent work in Claude Code using team mode.
Source: code.claude.com/docs/en/agent-teams
Tell the lead what team you want in natural language:
Create an agent team to refactor the auth module. Spawn three teammates:
- One focused on extracting shared utilities
- One migrating tests to the new structure
- One updating documentation
Use Sonnet for each teammate.
The lead creates the team, spawns teammates, distributes work via a shared task list, and synthesizes results.
| Component | Role |
|---|---|
| Team lead | Your main session — creates team, spawns teammates, coordinates |
| Teammates | Separate Claude Code instances working on assigned tasks |
| Task list | Shared work items teammates claim and complete |
| Messaging | SendMessage for DMs, broadcasts, and shutdown requests |
Teammates are persistent — they go idle between turns and can be woken up with messages. They can message each other directly.
| Subagents | Teams | |
|---|---|---|
| Communication | Report back to caller only | Message each other directly |
| Coordination | Main agent manages all work | Shared task list, self-coordination |
| Best for | Focused tasks, only result matters | Complex work needing collaboration |
| Token cost | Lower | Higher (each teammate = separate instance) |