/fleet-execute: Plan Fleet Dispatcher
Dispatches autonomous agents to execute plans that scored READY in the last triage run.
Setup
This skill assumes:
- A triage output directory, default
~/Claude-Stuff/fleet/(adjust to your setup) - A
fleet-execute.shscript at~/bin/fleet-execute.sh - A
fleet-triage.shscript at~/bin/fleet-triage.sh
Both scripts must be executable. Adjust paths in this skill to match your local install.
What to do
Check triage data. Read
~/Claude-Stuff/fleet/triage-latest.jsonand~/Claude-Stuff/fleet/last-triage.json. If no file exists or triage is >12 hours old, tell the user and suggest running~/bin/fleet-triage.shfirst.Show READY plans. Display each plan that scored READY (score 10-12), with:
- Plan name
- Score (X/12)
- Per-criterion breakdown (acceptance / no-human / paths / idempotency)
- One-sentence summary
- Any noted blockers
Confirm with user. Ask: "Ready to dispatch agents for these N plans? (yes/no, or name specific plans to skip)"
On confirmation: Run:
~/bin/fleet-execute.shDo NOT pass
--autonomous. Interactive mode only here.Tell the user:
- Run output lands at:
~/Claude-Stuff/fleet/runs/{date}-{time}/ - Escalations go to:
~/Claude-Stuff/fleet/needs-human.md
- Run output lands at:
After completion: Read the latest
~/Claude-Stuff/fleet/runs/*/summary.mdand report: how many completed, how many escalated.
Stale triage handling
If last-triage.json is missing or triage was >12 hours ago:
"No recent triage data (last run: {date} or never). Run
~/bin/fleet-triage.shmanually. Triage takes 2-5 minutes."
Hold file
To cancel today's execution without running this skill:
touch ~/Claude-Stuff/fleet/hold
# or for a specific date:
touch ~/Claude-Stuff/fleet/hold-$(date +%Y-%m-%d)
Dry run
To see what would be dispatched without running agents:
~/bin/fleet-execute.sh --dry-run
Notes
- Agents run with
--allowedTools "Read,Glob,Grep,Edit,Write"(no Bash in allowedTools) - Each agent has a 30-minute timeout
- Max 2 agents run concurrently
- Failed or blocked agents escalate to
needs-human.mdautomatically