You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add Claude Code agent team support to execution skills
Add team mode as an optional execution path for all three execution
skills, gated behind TeamCreate detection and user choice:
- writing-plans: Third execution handoff option (team-based)
- subagent-driven-development: Full team mode with parallel
implementers, sequential review gates, team lifecycle management
- dispatching-parallel-agents: Team mode alternative with
inter-agent messaging and shared task tracking
- executing-plans: Within-batch parallelism via teams
All changes are additive and cross-platform safe - team features
only activate on Claude Code with teams enabled, existing behavior
is preserved on Codex, OpenCode, and Claude Code without teams.
Relates to: #469
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: skills/dispatching-parallel-agents/SKILL.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,37 @@ When agents return:
79
79
- Run full test suite
80
80
- Integrate all changes
81
81
82
+
## Team Mode (Claude Code Only)
83
+
84
+
If `TeamCreate` is available and the user opts in, use a coordinated team instead of individual `Task` calls.
85
+
86
+
### Standard Mode vs Team Mode
87
+
88
+
| Aspect | Standard (Task calls) | Team Mode |
89
+
|--------|----------------------|-----------|
90
+
| Dispatch | Individual `Task` tool calls |`TeamCreate` + team members |
91
+
| Communication | None between agents |`SendMessage` for sharing findings |
92
+
| Progress tracking | Wait for Task return | Shared `TaskList` with live status |
93
+
| Result collection | Read each Task result | Agents report via messages + `TaskUpdate`|
94
+
| Best for | Quick independent investigations | Longer investigations needing coordination |
95
+
96
+
### When to Prefer Team Mode
97
+
98
+
- Investigations may need to share context mid-flight (e.g., "I found the root cause is in module X, check if it affects your area too")
99
+
- More than 3 parallel agents (better lifecycle management)
100
+
- Agents may discover dependencies during investigation
101
+
102
+
### Team Mode Pattern
103
+
104
+
1.**Create team:**`TeamCreate` with descriptive name
105
+
2.**Spawn investigators:** One team member per independent domain
106
+
3.**Let them work:** Agents investigate, can message each other if relevant findings
107
+
4.**Collect results:** Team lead monitors `TaskList`, reads agent messages
108
+
5.**Integrate:** Same as standard - verify fixes don't conflict, run full suite
109
+
6.**Shutdown:**`shutdown_request` to all members, then `TeamDelete`
110
+
111
+
**Cross-platform note:** Team mode requires Claude Code with teams enabled (beta). On Codex, OpenCode, or Claude Code without teams, use the standard parallel `Task` dispatch. Always detect capability before offering team mode.
Copy file name to clipboardExpand all lines: skills/executing-plans/SKILL.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,30 @@ After all tasks complete and verified:
49
49
-**REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
50
50
- Follow that skill to verify tests, present options, execute choice
51
51
52
+
### Team Mode (Claude Code Only)
53
+
54
+
If `TeamCreate` is available and the user opted in during the writing-plans handoff, parallelize tasks within each batch.
55
+
56
+
**What changes:**
57
+
- Step 2 (Execute Batch): Instead of executing 3 tasks sequentially, spawn a team and assign batch tasks to team members working in parallel
58
+
- Step 3 (Report): Wait for all batch members to complete, then report combined results
59
+
- Steps 1, 4, 5: Unchanged (plan review, feedback loop, and completion stay the same)
60
+
61
+
**What doesn't change:**
62
+
- Batch boundaries and human review checkpoints remain
63
+
- Default batch size is still 3 tasks
64
+
- "Ready for feedback" checkpoint after each batch
65
+
- The human-in-the-loop approval between batches is preserved
66
+
67
+
**Team lifecycle per batch:**
68
+
1.`TeamCreate` for the batch (or reuse existing team)
69
+
2. Assign batch tasks to team members
70
+
3. Wait for all to complete
71
+
4. Report results, wait for feedback
72
+
5.`TeamDelete` when all work is done (or reuse for next batch)
73
+
74
+
**Cross-platform note:** Team mode requires Claude Code with teams enabled (beta). On Codex, OpenCode, or Claude Code without teams, use the standard sequential batch execution. Always detect capability before offering team mode.
After saving the plan, check for team support and offer execution choice:
100
100
101
-
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
101
+
**Detection:** Before presenting options, check if the `TeamCreate` tool is available in this environment. If it is, include Option 3 below. If not, only show Options 1 and 2.
102
+
103
+
**"Plan complete and saved to `docs/plans/<filename>.md`. Execution options:**
102
104
103
105
**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration
104
106
105
107
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
106
108
109
+
**3. Team-Based (parallel, this session)***(only if TeamCreate is available)* - Spawn an agent team with parallel implementers and reviewers, coordinated via shared task list
110
+
107
111
**Which approach?"**
108
112
109
113
**If Subagent-Driven chosen:**
@@ -114,3 +118,9 @@ After saving the plan, offer execution choice:
114
118
**If Parallel Session chosen:**
115
119
- Guide them to open new session in worktree
116
120
-**REQUIRED SUB-SKILL:** New session uses superpowers:executing-plans
121
+
122
+
**If Team-Based chosen:**
123
+
-**REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development (team mode)
0 commit comments