/fleet:runfrom fleet
Use when the user wants the backlog advanced unattended — loops fleet:dispatch with safety stops (max stages, wall-clock cutoff, usage-limit pause) until the backlog is dry
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.
Advance the Fleet backlog unattended: loop dispatch in-process until a stop condition fires. Each stage is still its own bounded headless claude -p run — the loop adds safety stops, a single-instance lock, a per-run log, and an end-of-run notification.
The plugin root is two directory levels above this skill's announced base directory (this file lives at {plugin-root}/skills/run/SKILL.md). Take the base directory reported for this skill, go up two levels ({base}/../..), and resolve to an absolute path. Use that as {plugin-root} below. Do not rely on environment-variable substitution.
Run via the Bash tool in the background — a run is long-running (minutes to hours: each stage blocks for minutes and a usage-limit pause can add hours):
node {plugin-root}/lib/run-cli.cjs
Options:
--max-stages {n} — hard cap on stages this run (default 10). Blocked items count toward the cap too — it is a cost bound, not a success counter.--until {HH:MM} — wall-clock cutoff, 24h local time. Past the cutoff the run refuses to start another stage; it never kills a stage in flight. A time already past means tomorrow (--until 06:00 started at 23:00 stops tomorrow morning).--max-tokens {n} — token budget for this run; overrides the maxTokensPerRun config key (default off). Once cumulative tokens reach the cap the run refuses to start another stage — like --until, it never interrupts a stage in flight, so the cap can be overshot by at most one stage. The unit is tokens, not dollars.The final line on stdout is a single JSON summary — relay it to the user:
{"stopReason": "idle", "stages": 3, "advanced": 2, "blocked": 1, "prs": 1, "pauses": 0, "errors": 0, "tokens": 412530, "startedAt": "2026-08-04T09:00:00.000Z", "endedAt": "2026-08-04T10:12:00.000Z"}
tokens is the run's cumulative token spend (input + cached input + output) summed across every stage, including blocked ones.
Stop reasons:
idle — backlog dry, nothing ready to dispatch (exit 0)limit — daily new-item limit reached (exit 0)max_stages — the --max-stages cap was hit (exit 0)until — the --until cutoff arrived (exit 0)tokens — the --max-tokens / maxTokensPerRun budget was reached (exit 0)errors — two consecutive dispatch errors; a success in between resets the counter (exit 1)locked — another run (or manual dispatch) holds run.lock; nothing was dispatched (exit 1)Usage-limit pauses are normal, not failures: when a stage fails because the Claude usage limit is exhausted, the run records no attempt against the item, sleeps until the limit window resets, and resumes by itself. The summary counts them in pauses.
The same summary also goes out through the configured notifiers, so an unattended run announces itself when it finishes.
Every iteration — including pauses and errors — appends one line to {fleetHome}/logs/run-{date}.log (~/.fleet unless FLEET_HOME overrides it), followed by the final summary line. Point the user there for the morning-after review of what happened while they were away.
A run holds {fleetHome}/run.lock for its whole lifetime. A second fleet:run — and a manual fleet:dispatch — refuses to start while the lock is held by a live process, naming the holder PID. A lock left behind by a dead process is stale and is reclaimed automatically on the next run.
backlog.json directly — the run and its dispatches own all ledger writes.run.lock while a run is live. Only a stale lock (dead PID) is safe to clear, and the CLI reclaims that itself.What SKILL.md sets; muted values are Claude Code's defaults
lowOther plugins' skills for the same job
npx claudepluginhub dilhanz/fleet --plugin fleet7 skills in this plugin
/dashboardfleet:dashboardUse when the user wants a live, browsable view of the Fleet backlog — starts a read-only local web dashboard over backlog.json that auto-refreshes; it never writes to the ledger/dispatchfleet:dispatchUse when advancing the Fleet backlog one stage — runs the headless dispatch engine once, which picks the highest-priority ready item and advances it exactly one Ship stage/intakefleet:intakeUse when adding a written spec to the Fleet backlog — creates the target repo's CONTEXT.md (status brainstormed) plus a ready ledger item, or parks fuzzy specs for standup