Skip to content

Commit 5a76bbe

Browse files
Gregg CochranCopilot
andcommitted
🐝 Add interactive launch sequence to Phase 0
Replace plain text prompts with a step-by-step interactive launch: 1. Banner displayed immediately 2. ask_user for mission (freeform) if not inline 3. ask_user with 3 pre-selected choices (50/100/250) if not inline 4. Mission briefing + countdown Inline shortcuts still work β€” skip prompts when scale/task provided. Updated both SKILL.md and agent.md. Synced .github copy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 37073f0 commit 5a76bbe

3 files changed

Lines changed: 118 additions & 25 deletions

File tree

β€Ž.github/skills/swarm-command/SKILL.mdβ€Ž

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,36 +36,65 @@ Parse the user's input for:
3636
1. **Scale**: `ss-50`, `ss-100` (default), or `ss-250` β€” if provided inline
3737
2. **Task**: Everything after the scale identifier, or the full message if no scale given
3838

39-
If no task provided, ask: "🐝 **Swarm Command ready.** What's the mission?"
39+
### Interactive Launch Sequence
4040

41-
If no scale provided inline, use ask_user to prompt:
41+
**Step 1 β€” Display the launch banner immediately:**
4242

4343
```
44-
🐝 Choose your swarm size:
44+
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
45+
S W A R M C O M M A N D
46+
Multi-Model Consensus Orchestrator
47+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
48+
49+
50–250 agents Β· 16 models Β· one mission
50+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
51+
```
52+
53+
**Step 2 β€” If no task provided inline, ask for the mission:**
54+
55+
Use ask_user: "🐝 What's the mission?"
56+
(Freeform text β€” the user describes what they want the swarm to do.)
57+
58+
**Step 3 β€” If no scale provided inline, ask the user to choose swarm size:**
4559

46-
SS-50 (~52 agents) ⚑ Fast β€” single-focus tasks
47-
SS-100 (~89 agents) 🎯 Balanced β€” most tasks (recommended)
48-
SS-250 (~316 agents) 🐝 Full swarm β€” maximum consensus
60+
Use ask_user with these choices (SS-100 is the recommended default, listed first):
61+
62+
```
63+
choices:
64+
- "🎯 100 agents β€” balanced, fits most tasks (Recommended)"
65+
- "⚑ 50 agents β€” fast, single-focus tasks"
66+
- "🐝 250 agents β€” full swarm, maximum consensus"
4967
```
5068

51-
Display the mission briefing:
69+
Map the user's selection:
70+
- "100 agents" β†’ SS-100 (~89 agents, 5 commanders, 8 reviewers)
71+
- "50 agents" β†’ SS-50 (~52 agents, 3 commanders, 3 reviewers)
72+
- "250 agents" β†’ SS-250 (~316 agents, 5 commanders, 10 reviewers, 50 squad leads)
73+
74+
**Step 4 β€” Display the mission briefing and launch:**
5275

5376
```
5477
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
55-
S W A R M C O M M A N D
56-
Multi-Model Consensus Orchestrator
57-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5878
5979
πŸ“‹ Mission: <task summary>
6080
⚑ Scale: <SS-50 | SS-100 | SS-250>
6181
πŸ€– Agents: <agent count>
62-
🧬 Models: <model count>
82+
🧬 Models: 16
6383
πŸ’° Cost cap: $<ceiling>
6484
⏱️ Timeout: <timeout>s
6585
66-
Deploying swarm in 5... 4... 3... 2... 1...
86+
Deploying swarm in 5... 4... 3... 2... 1...
87+
88+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6789
```
6890

91+
### Shortcut: Inline Launch
92+
93+
If the user provides everything inline, skip the interactive prompts and go straight to the mission briefing. Examples:
94+
- `swarm command ss-250 "Audit the entire codebase for security vulnerabilities"` β†’ skip Steps 2 & 3
95+
- `swarm command "Refactor auth to JWT"` β†’ skip Step 2, still ask Step 3
96+
- `swarm command ss-50` β†’ skip Step 3, still ask Step 2
97+
6998
---
7099

71100
# PHASE 1 β€” TASK DECOMPOSITION

β€Žagents/swarm-command.agent.mdβ€Ž

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,49 @@ When the user gives you a task, execute the SwarmSpeed protocol:
2828

2929
Parse for scale (`ss-50`, `ss-100` default, `ss-250`) and task.
3030

31-
Display mission briefing:
31+
### Interactive Launch Sequence
32+
33+
**Step 1 β€” Display launch banner immediately:**
34+
3235
```
3336
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3437
S W A R M C O M M A N D
3538
Multi-Model Consensus Orchestrator
3639
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
40+
41+
50–250 agents Β· 16 models Β· one mission
42+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3743
```
3844

45+
**Step 2 β€” If no task provided inline, ask:**
46+
Use ask_user: "🐝 What's the mission?" (freeform text)
47+
48+
**Step 3 β€” If no scale provided inline, ask with choices:**
49+
```
50+
choices:
51+
- "🎯 100 agents β€” balanced, fits most tasks (Recommended)"
52+
- "⚑ 50 agents β€” fast, single-focus tasks"
53+
- "🐝 250 agents β€” full swarm, maximum consensus"
54+
```
55+
56+
**Step 4 β€” Display mission briefing and launch:**
57+
```
58+
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
59+
60+
πŸ“‹ Mission: <task summary>
61+
⚑ Scale: <SS-50 | SS-100 | SS-250>
62+
πŸ€– Agents: <agent count>
63+
🧬 Models: 16
64+
πŸ’° Cost cap: $<ceiling>
65+
⏱️ Timeout: <timeout>s
66+
67+
Deploying swarm in 5... 4... 3... 2... 1...
68+
69+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
70+
```
71+
72+
If user provides everything inline (e.g., `swarm command ss-250 "audit security"`), skip prompts and go straight to briefing.
73+
3974
## Phase 1 β€” Task Decomposition
4075

4176
Split the task into up to 5 domains:

β€Žskills/swarm-command/SKILL.mdβ€Ž

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,36 +36,65 @@ Parse the user's input for:
3636
1. **Scale**: `ss-50`, `ss-100` (default), or `ss-250` β€” if provided inline
3737
2. **Task**: Everything after the scale identifier, or the full message if no scale given
3838

39-
If no task provided, ask: "🐝 **Swarm Command ready.** What's the mission?"
39+
### Interactive Launch Sequence
4040

41-
If no scale provided inline, use ask_user to prompt:
41+
**Step 1 β€” Display the launch banner immediately:**
4242

4343
```
44-
🐝 Choose your swarm size:
44+
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
45+
S W A R M C O M M A N D
46+
Multi-Model Consensus Orchestrator
47+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
48+
49+
50–250 agents Β· 16 models Β· one mission
50+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
51+
```
52+
53+
**Step 2 β€” If no task provided inline, ask for the mission:**
54+
55+
Use ask_user: "🐝 What's the mission?"
56+
(Freeform text β€” the user describes what they want the swarm to do.)
57+
58+
**Step 3 β€” If no scale provided inline, ask the user to choose swarm size:**
4559

46-
SS-50 (~52 agents) ⚑ Fast β€” single-focus tasks
47-
SS-100 (~89 agents) 🎯 Balanced β€” most tasks (recommended)
48-
SS-250 (~316 agents) 🐝 Full swarm β€” maximum consensus
60+
Use ask_user with these choices (SS-100 is the recommended default, listed first):
61+
62+
```
63+
choices:
64+
- "🎯 100 agents β€” balanced, fits most tasks (Recommended)"
65+
- "⚑ 50 agents β€” fast, single-focus tasks"
66+
- "🐝 250 agents β€” full swarm, maximum consensus"
4967
```
5068

51-
Display the mission briefing:
69+
Map the user's selection:
70+
- "100 agents" β†’ SS-100 (~89 agents, 5 commanders, 8 reviewers)
71+
- "50 agents" β†’ SS-50 (~52 agents, 3 commanders, 3 reviewers)
72+
- "250 agents" β†’ SS-250 (~316 agents, 5 commanders, 10 reviewers, 50 squad leads)
73+
74+
**Step 4 β€” Display the mission briefing and launch:**
5275

5376
```
5477
🐝 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
55-
S W A R M C O M M A N D
56-
Multi-Model Consensus Orchestrator
57-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5878
5979
πŸ“‹ Mission: <task summary>
6080
⚑ Scale: <SS-50 | SS-100 | SS-250>
6181
πŸ€– Agents: <agent count>
62-
🧬 Models: <model count>
82+
🧬 Models: 16
6383
πŸ’° Cost cap: $<ceiling>
6484
⏱️ Timeout: <timeout>s
6585
66-
Deploying swarm in 5... 4... 3... 2... 1...
86+
Deploying swarm in 5... 4... 3... 2... 1...
87+
88+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6789
```
6890

91+
### Shortcut: Inline Launch
92+
93+
If the user provides everything inline, skip the interactive prompts and go straight to the mission briefing. Examples:
94+
- `swarm command ss-250 "Audit the entire codebase for security vulnerabilities"` β†’ skip Steps 2 & 3
95+
- `swarm command "Refactor auth to JWT"` β†’ skip Step 2, still ask Step 3
96+
- `swarm command ss-50` β†’ skip Step 3, still ask Step 2
97+
6998
---
7099

71100
# PHASE 1 β€” TASK DECOMPOSITION

0 commit comments

Comments
Β (0)