/fleet:wait <BDP-N> [BDP-M ...] [--state STATE] [--timeout MIN] [--interval SEC]from fleet
Block until one or more sessions reach a target state (default done). Closes the no-event-callback gap in the multi-session system — anything that needs to react when an agent finishes uses this. Use when the user says "fleet wait", "/fleet:wait", "wait until BDP-N is done", "wait for these to finish", or any phrasing about pausing for sessions to reach a state. Also called internally by /fleet:chain, /fleet:cleanup, and /fleet:review.
Ships in fleet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Polls the dashboard at a fixed interval and blocks until every named session has reached the target state, or until the timeout elapses. Reports the outcome per session.
This exists because the dashboard does not push events to skills — anything that needs to react to a session finishing must poll. Centralizing that polling here means /fleet:chain, /fleet:cleanup, and /fleet:review can all build on the same primitive.
BDP-N keys.--state STATE: target state (done default). Other valid: needs-input, error, idle, gone.--timeout MIN: max wait in minutes (default 60).--interval SEC: poll interval in seconds (default 15).claude-sessions | grep <ticket>). If any are missing, fail fast with the list of missing tickets.claude-sessions and parse each named session's STATE.gone), break with success.interval seconds.While polling (every 5 polls or on state change, whichever first):
Waiting for done: BDP-360 (working) · BDP-361 (needs-input) · BDP-362 (done) [4m elapsed, 56m left]
Final:
✓ All 3 sessions reached done in 12m
BDP-360, BDP-361, BDP-362
or
⚠ Timed out after 60m. Reached target: BDP-360, BDP-362. Still: BDP-361 (working)
Next: /fleet:wait BDP-361 --timeout 30 to keep waiting
claude-sessions attach BDP-361 to investigate
The skill blocks until the wait completes. For long waits (>15min), prefer running it in a backgrounded Bash call so chat stays responsive. The script is safe to backgrounded — its output appends to a log you can tail.
gone (session ended) as terminal regardless of target state — if the target was done and the session is gone, that's still "reached" (just record it as gone in the report)./fleet:wait BDP-360
/fleet:wait BDP-360 BDP-361 BDP-362
/fleet:wait BDP-360 --state needs-input # wait until it stops on a question
/fleet:wait BDP-360 --timeout 120 --interval 30
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin fleetOther plugins' skills for the same job
8 skills in this plugin
/chainDependency-aware multi-stage orchestration of parallel sessions. Spawn stage 1 in parallel; the always-on rules engine then spawns stage 2 once stage 1 is all done, stage 3 once stage 2 is done, and so on. The skill itself returns immediately — chains survive the chat session ending. Use when the user says "fleet chain", "/fleet:chain", "spawn A then B", "after BDP-N finishes spawn BDP-M", or any phrasing about multi-stage orchestration of sessions./cleanupFind sessions in the multi-session command center whose PRs have already merged on GitHub, and kill+cleanup each (with confirmation). Closes the loop on "spawn → ship → tidy up" without manual bookkeeping. Use when the user says "fleet cleanup", "/fleet:cleanup", "kill the merged sessions", "tidy up", "sweep done agents", or any phrasing about reclaiming finished sessions./