/fleet:chain <stage1> then <stage2> [then <stage3> ...] # each stage is space-separated ticketsfrom fleet
Dependency-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.
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.
Orchestrates dependency chains across the multi-session command center, without blocking the chat session. The skill:
/fleet:spawn).The always-on notifier daemon (the rules engine) evaluates rules every 5s and fires the next stage's spawn the moment the previous stage's sessions all reach done. Because rules live as files under ${CLAUDE_PLUGIN_DATA}/projects/<KEY>/rules/, the chain continues to execute even after this chat session ends, after Claude restarts, or across reboots (rules persist; the daemon re-reads on startup).
/fleet:chain BDP-A BDP-B then BDP-C
spawns A and B immediately; installs one rule that, when both A and B are done, spawns C.
/fleet:chain BDP-A then BDP-B then BDP-C
strictly serial — A spawned now, rule for B (waits A done), rule for C (waits B done).
Parse the argument string by splitting on the literal token then. Each segment is one stage; each stage is one or more space-separated tickets (with optional =slug syntax matching /fleet:spawn).
Validate every ticket exists in Jira (single mcp__plugin_atlassian_atlassian__getJiraIssue per ticket; abort the whole chain if any is invalid).
Pre-write all prompt files — for every ticket in every stage, write its prompt to /tmp/<TICKET>-prompt.txt now. The rules engine references these paths when firing.
Show the plan to the user; ask for confirmation if there are 3+ stages or 5+ total tickets.
Spawn stage 1 immediately — invoke /fleet:spawn with stage 1's tickets (handles Jira transitions + spawn).
Install rules for stages 2..N — for each subsequent stage, write a rule file with claude-sessions rules semantics:
CHAIN_ID="chain-$(date +%s)-$$"
STAGE_NUM=2
RULE_ID="${CHAIN_ID}-stage${STAGE_NUM}"
# Resolve the project's rules dir via the helper exposed by claude-sessions
# (or use $CLAUDE_PLUGIN_DATA + your own _project_key derivation).
RULES_DIR="${CLAUDE_PLUGIN_DATA:-$HOME/.claude/plugins/data/fleet}/projects/$(claude-sessions help | grep -oE '[0-9a-f]{12}' | head -1)/rules"
RULE_FILE="$RULES_DIR/${RULE_ID}.json"
# The exec for stage N is: spawn this stage's tickets via spawn-claude-feature
# (one call per ticket, since spawn-claude-feature is one-ticket-per-invocation).
EXEC=$(cat <<'BASH'
set -e
spawn-claude-feature BDP-C BDP-C-slug --prompt-file /tmp/BDP-C-prompt.txt --full-auto
BASH
)
jq -n --arg id "$RULE_ID" \
--argjson wait_for '["BDP-A","BDP-B"]' \
--arg wait_state "done" \
--arg exec "$EXEC" \
--argjson timeout 60 \
--arg created "$(date -Iseconds)" \
--arg label "Chain stage 2 of 3: spawn BDP-C after BDP-A,BDP-B done" \
'{id:$id, wait_for:$wait_for, wait_state:$wait_state, exec:$exec, timeout_min:$timeout, created:$created, label:$label}' \
> "$RULE_FILE"
Stage N's wait_for = stage N-1's tickets. Stage N's exec = spawn-claude-feature calls for stage N's tickets, semicolon-joined. Set timeout_min to 120 (2h) per stage by default — long enough for most feature implementations.
Transition Jira tickets for later stages — they remain in their current status (typically To Do) until their stage fires. The spawned session itself transitions to In Progress at spawn time. (Exception: if the user wants visibility, you can pre-transition them to Selected for Development if that status exists; otherwise leave them.)
Report the chain plan with rule IDs and exit.
Chain installed: chain-1715287200-12345
Stage 1 (firing now): BDP-A, BDP-B
Stage 2 (rule pending): BDP-C ← when BDP-A, BDP-B reach done
Stage 3 (rule pending): BDP-D, BDP-E ← when BDP-C reaches done
Rules:
chain-1715287200-12345-stage2 → spawns BDP-C
chain-1715287200-12345-stage3 → spawns BDP-D, BDP-E
The rules engine (always-on) will fire each stage automatically.
See pending rules: claude-sessions rules
Cancel a stage: claude-sessions rules cancel <rule-id>
Watch the fleet: /fleet
http://127.0.0.1:7681/
This skill is done — the chain runs in the background. Close this chat any time.
claude-sessions service status notify shows the daemon is not active, refuse the chain and tell the user to start it: claude-sessions service start notify. Without the daemon, no rule will ever fire.The previous version of this skill polled /fleet:wait between stages, which meant the chat session was blocked for the entire chain duration (sometimes hours) and the chain died if Claude restarted. The rules-engine version moves orchestration into the always-on daemon: skill writes intent (rules), daemon executes intent. Skill returns in seconds; chain continues independently.
/fleet:chain BDP-360 # degenerate single-stage; just spawns
/fleet:chain BDP-360 BDP-361 then BDP-362 # 2 in parallel, then 1
/fleet:chain BDP-360 then BDP-361 then BDP-362 # serial 3-stage
/fleet:chain BDP-360 BDP-361 BDP-362 then BDP-363 then BDP-364 BDP-365 # 3 → 1 → 2
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin fleet8 skills in this plugin
/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./reviewSpawn a dedicated reviewer session for a given session's open PR. The reviewer agent reads the diff, posts inline + summary review comments on GitHub, then exits. Works two ways — invoked by you in chat against any open PR, or invoked autonomously by an implementer session (auto-detects parent and ties the reviewer in as a child). Use when the user says "fleet review", "/fleet:review", "spawn a reviewer for BDP-N", "have someone review BDP-N's PR", or when an implementer session has just opened its PR and wants a second LLM pair of eyes./Other plugins' skills for the same job