fleet
Skill0 starsChanged 51 days agoMITView on GitHub
Run several Claude Code sessions in parallel, one task each, without them stepping on each other. Use when asked to "fan out", "parallelise these issues", "run these in parallel sessions", "delegate this to another session", or when a task you are on turns up separate work that should not wait. Covers queueing a task from any session, the pool limit (default 5 running), who launches the next queued task when a session halts, holding a pool, tasks that wait on another task or a PR, the event feed a dispatcher reads, the shared board of who holds which files, messaging another session by name, and cleaning up after a merge.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- broomva/skillstheir own version, first seen Nov 29, 2026
- matt82198/aesoptheir own version, first seen Nov 16, 2026
- BaseInfinity/claude-sdlc-harnesstheir own version, first seen Nov 15, 2026
- hoveychen/claw-fleettheir own version, first seen Nov 10, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- Apra-Labs/apra-fleettheir own version, first seen Nov 5, 2026
Used with
Projects with it also use loop, dashboard and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HeshamFSSkillloop
Run a command or check on a recurring interval
Also in 4 projects that use this
GoogleSkilldashboard
Configures and launches the GKE Capacity & Triage Dashboard scoped to a GCP project ID, GKE cluster name, or target ML workload ID. Uses the configure-and-launch-dashboard action and launch-workload-dashboard workflow to verify local dashboard health, discover cluster capacity, trigger live scans, and generate deep-linked URLs. Use when the user types "/dashboard", says "launch dashboard", "open dashboard", "show capacity", or "view triage dashboard" with a project, cluster, or workload. Don't use for general workload log querying or automated failure attribution (use the troubleshoot skill).
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- SethGammon/Citadel★ 927same name
- Apra-Labs/apra-fleet★ 109same name
- BaseInfinity/claude-sdlc-harness★ 53same name
- oguzhnatly/fleet★ 15same name
- hoveychen/claw-fleet★ 14same name
- broomva/skills★ 7same name
- tonydzi/second-brain-starter-kit★ 6same name
- exPardus/fleet★ 4same name
- mayankjain1815-commits/CITADEL★ 4same name
- dcbruck/claude-skills★ 3same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 79
The enqueuer: When a slot frees, a promoted task with a --notify becomes a *pending launch* for that session.
- Very specific: line 139
Read it with fleet journal --project <name> [--days n], or --scope <name>.
- Distinctive: line 179
Questions stay here: Ask the user in this session.
- Very specific: line 228
Waiting on a peer is not a question for the user: Don't move to question or ask the user whether to go ahead without the peer's answer.
- Distinctive: line 234
Stop every process this session started (dev servers, databases, instances), using the repo's own teardown if it documents one.
- Distinctive: line 236
Delete the merged branch locally, and on the remote if the merge did not.
- Very specific: line 237
Leave the worktree: git worktree remove <path> from the main checkout, or let the app remove it when the session is archived.
- Distinctive: line 248
Remove only what this session created.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fleet
A pool of parallel sessions, one task each. Any session can add work; at most
max run at once (default 5, fleet config --max <n>); the rest wait in a queue.
A session holds a slot while launching or working and frees it the moment
it halts — on a question for the user, on a mergeable PR, while verifying in
production, or done. A halting session reports; the enqueuer launches: the
task promoted into the freed slot goes to the session that enqueued it
(--notify), not to whichever session happened to halt.
Scopes. Projects that belong together (one course, one client, one company) can share a scope with its own slots and queue, so a freed slot never hands one project's session another project's work:
fleet config --scope <name> --projects <repo,repo> [--paths <dir>] [--max <n>]A task's scope is its --scope on enqueue, else the scope whose --projects
names its repo or whose --paths holds its cwd, else default (sized by the
plain fleet config --max). Tasks queued before a scope existed join it as soon
as it is configured. With no scope configured, everything is default and the
fleet behaves as one pool. next, sweep, hold and board act on the scope of
the current directory unless given --scope (board --all shows every scope).
fleet is on PATH while this plugin is enabled ("${CLAUDE_PLUGIN_ROOT}"/bin/fleet
otherwise). Every command prints JSON. In any result:
- a
launcharray is work you must launch now (below); - a
nudgearray names enqueuers whose tasks were just promoted: send eachsessionone line (SendMessage, no reply awaited): "fleet:<ids>ready to launch — runfleet events --for <your session id>". Do not launch them yourself; - a
swept.notify(orsweep'snotify) list names enqueuers of tasks foundlostorstale: send each one line naming the task and its state.
Delegate a task (any session)
fleet enqueue --title "<imperative, under 60 chars>" --key <owner/repo#123> --cwd <repo root> --prompt-file <file> --notify <your session id>--notify <your session id>(the session-info tool gives it) makes you the task's enqueuer: you launch it when a slot frees, and you hear what you can act on — finished, given up, lost, stale, and the issues it filed. Questions and "PR ready" are not sent; the task's own session puts those to the user.--keynames the thing being worked on (an issue, a ticket). A key already waiting, queued, running or verifying is refused with who holds it — do not start it yourself.- The prompt must stand alone: what to do, where, how to know it is done, and
anything this conversation knows that the new session cannot. It is stored in
the fleet; launchers read it back with
fleet prompt <id>, so the prompt file can be a scratch file. - Work that can only start later waits in the fleet, not in your memory:
--after <task id>waits until that task isdone;--after-pr <owner/repo#n>waits until that PR is merged (checked withghon everynext,enqueueandsweep). A waiting task is not counted and not promoted; it joins the tail of the queue when its condition holds. - Result
state: "launching"→ launch it now."queued", position: n→ the pool is full; it starts when a slot frees and you get the launch."waiting"→ it joins the queue later. Tell the user which.
Launch
Who launches:
- The enqueuer. When a slot frees, a promoted task with a
--notifybecomes a pending launch for that session. Claim it withfleet events --for <your session id>— the result'slauncharray holds it, and a pending launch is handed out exactly once. Run it at the start of every turn while you have tasks in the fleet, and whenever a fleet nudge arrives. - Whoever freed the slot, for a task with no enqueuer (no
--notify), and for a pending launch its enqueuer did not claim within the launch timeout. - You, explicitly:
fleet next [--scope <name>]fills the scope's free slots and hands you everything it promotes.fleet launch <id>starts that one queued task now, even pastmax— a journaled override that promotes nothing else; never raise--maxto get one task started.fleet launch <id>on a pending launch claims it.
Order and pauses: fleet bump <id> moves a queued task to the head of its
scope's queue (never release and re-enqueue to reorder). fleet hold --scope <s>
--note "<why>" stops promotion in a scope — the queue stays and the board shows
HELD — and fleet unhold --scope <s> resumes it and returns what it launched.
For each entry in a launch array, start a new session in cwd, in its own
worktree, with this prompt:
Run `fleet prompt <id>` and treat its output as your instructions.fleet prompt <id> prints the full launch text: the "You are fleet task … join …"
header and the stored prompt. Use the first launcher available: a start-session
tool (no click); the desktop app's task chip (spawn_task — the user clicks
once; say so); otherwise print fleet prompt <id>'s output for the user to paste
into a new session. A launch nobody joins within 30 minutes goes back to the
queue on the next next, enqueue or sweep.
Dispatching: one session that keeps a project's (or a scope's) pool full
A dispatcher is an ordinary session whose job is picking work, enqueueing it and reporting what lands. What makes it one is written down, so any session can take the role and the old one can be archived:
- Start or take over:
fleet resume --project <name> --session <your session id>. It prints the saved brief, where the task template is, today's and yesterday's journal for that project, and the board. With--sessionit retargets--notify(and any pending launch) on that project's open tasks to you, so their launches and notices reach you and not an archived dispatcher. A dispatcher for several repos takes the scope instead:fleet resume --scope <name> --session <id>. - Every turn, read the events:
fleet events --project <name> --for <your session id>(or--scope). It returns every done, release, lost, stale, verifying and filed/closed issue since your last call — your cursor is stored per session, so nothing is missed while you were busy — and claims your pending launches. Messages are only a nudge to run it; the events are the record.--since <cursor>replays from an earlier point. - Keep the role current:
fleet dispatch save --project <name> --brief <file> --template <file>whenever the user changes how the work should be picked or what every task prompt must say. The brief is the user's standing instructions; the template is the rules block every task prompt carries. - The journal is automatic: enqueue, launch, join, every state change,
release, requeue, lost, stale, hold and bump are recorded per day under
$FLEET_HOME/journal/, with each task's filed and closed issues;boardandjournalshow today's net issues per project. Add what the events can't say withfleet note --project <name> --text "<decision, hand-off or blocker>". Read it withfleet journal --project <name> [--days n], or--scope <name>. - Resume from the events, the journal and the board, never by re-reading old transcripts.
Inside a fleet session
- Checklist before anything else. Your first tool call posts a live
checklist:
update_plan(the desktop app's task list), orTodoWritewhere that is the tool you have. Start from these items: join fleet and read the rules, plan, build, verify, ship, report back to the dispatcher. Split or rename them to fit the task, but keep one item for verifying and one for reporting back, and keep the list current as you work. A PreToolUse hook refusesfleet state <id> mergeableandfleet state <id> donewhile any item is open and lists the open items. So mark every item completed in a message before the one that runs either command. A session that never posted a checklist (older sessions, other hosts) is let through with a warning.question,verifyingandworkingare never gated. - Join first.
fleet join <id> ...with your session id and name (the session-info tool gives both). A SessionStart hook reminds you which task you are when you resume. If join refuses because another session already holds the task, stop at once: change nothing, tell the user in one line which session holds it, and end.--takeoveris for a task whose holding session is gone (archived or deleted), and only when the user says so. Join from the worktree you will work in: if two active tasks record the same worktree, the older one is markedstale. Read the board before editing a file you did not create, and at the start of every resumed turn:
fleet boardIt shows your scope's
slots used/max(and HELD), every running session (name, task, key, state, branch, PR, net issues, files touched, overlaps), the tasks verifying in production, the tasks waiting on another task or a PR, the queue, and today's net issues. Files touched are read live from each worktree's git state, so they are never stale.- Overlap → message before editing. A file on another session's list: message that session (see Reaching a session below), agree who takes it, and wait for the answer. Never edit it silently.
- Questions stay here. Ask the user in this session; do not relay through
another session. A question about coordination (whose turn it is, who takes
a file, a shared resource) goes to the session that coordinates it, never to
the user. Write the user's question as text and end the turn, not with
AskUserQuestion: a pendingAskUserQuestionkeeps the turn open, and every message sent to this session (a go, a hand-off, an answer) waits behind it until the user replies. Before ending the turn on a question:fleet state <id> question --note "<the question, one line>"— this frees your slot; launch anylaunchit returns and send anynudge. - Open the PR the repo's way (its CLAUDE.md or PR skill), with CI auto-fix
armed when the app offers it. When checks are green and review threads are
resolved:
fleet state <id> mergeable --pr <url>, handlelaunch/nudge, and end the turn with one line saying the PR is ready. - Work you turn up, you enqueue. A new issue that stems from this task is
yours to hand on, not the enqueuer's to pick up: file it, record it with
fleet state <id> working --filed <owner/repo#n>, thenfleet enqueueit with--key <owner/repo#n>and--notifyset to thenotifythatjoingave you (not your own id: you will be gone before it finishes). If it can only start after your PR merges, enqueue it now with--after-pr <your PR>. If it needs a decision nobody has made, file it and do not enqueue it. - Tell the enqueuer only what it acts on.
joinreturnsnotify, the session that delegated this task. Send it one line (SendMessageto the id, no reply awaited) when you file an issue, and whendoneorreleasereturnsnotify. The line names the task id, state, the PR, the issues closed, and for each issue filed either the task id you enqueued it as or why you did not. Never for a question or a mergeable PR: those go to the user here. The same facts are infleet events, so a missed message is not lost. - Resuming after an answer:
fleet state <id> workingfirst. If the pool is full it still records you — the slot count may briefly exceedmax; that is the only way a halted session gets back to work.
Reaching a session
- Use the app's session tools when you have them. In the Claude desktop app,
the session-management tools (
list_sessionsandsend_message, served asmcp__ccd_session_mgmt__*; load them with ToolSearch if they are deferred) see every local session with its running state, and deliver to any session id, queueing the message until that session's turn is free.ListAgentsandSendMessagereach only the peers that registered with them, so a session missing fromListAgentsis not offline, and a name it doesn't know is not a dead session. - Message a session by its id: the
notifythatjoinreturns, the id a prompt names, or the onelist_sessionsshows. Without the app's tools,SendMessageto the id or theListAgentsname. - A send that lands in the session's inbox is delivered, even when it says
"not yet read", "queued" or "holding it": that session reads it when its
current turn ends. Don't conclude it is offline, and don't take its silence as
a yes. Keep working on what doesn't depend on the answer, or end your turn
(your state stays
working), and the reply starts your next turn. - Waiting on a peer is not a question for the user. Don't move to
questionor ask the user whether to go ahead without the peer's answer. Only a send that fails outright (no such session) goes to the user.
After the merge — every session, every time
- Stop every process this session started (dev servers, databases, instances), using the repo's own teardown if it documents one.
- Delete the merged branch locally, and on the remote if the merge did not.
- Leave the worktree:
git worktree remove <path>from the main checkout, or let the app remove it when the session is archived. - Still waiting on production (a probe run, a post-deploy check, a flag
flip)?
fleet state <id> verifying --note "<what is awaited>": it holds no slot and stays on the board until you rundone. fleet state <id> done --closed <refs> --filed <refs>(comma lists likelms#1,lms#2; leave out what is empty), handlelaunch/nudge, and send thenotifysession its one line.- Archive this session when the app allows it (the PR monitor's auto-archive-on-close switch does it on merge).
Remove only what this session created; another session's worktree, servers and databases are never yours to clean.
Commands
| Command | Does |
fleet enqueue --title --key --cwd --prompt-file [--notify] [--scope] [--after <id>] [--after-pr <o/r#n>] | add a task; launches it if its scope has a free slot; waits on a task or PR |
fleet next [--scope] [--for] | sweep, then fill the scope's free slots; prints what to launch |
fleet launch <id> [--for] | launch one queued task now, past max; or claim a pending launch |
fleet bump <id> | move a queued task to the head of its scope's queue |
fleet hold [--scope] [--note] / fleet unhold [--scope] | stop / resume promotion in a scope |
fleet join <id> --session --name --worktree [--takeover] | bind this session to its task; refused while another session holds it |
fleet state <id> working|question|mergeable|verifying|done [--note] [--pr] [--closed] [--filed] | report; halting states free the slot and return launch / nudge; mergeable and done are refused while this session's checklist has open items |
fleet release <id> | give a task up unfinished; tell the notify session why |
fleet events [--project | --scope] [--since <cursor>] [--for <session>] | what happened since the cursor; --for keeps the cursor and claims pending launches |
fleet prompt <id> | the full launch text for a task: the checklist instruction, the join header, the stored prompt |
fleet board [--scope | --all] [--json] | slots, running sessions, overlaps, verifying, waiting, queue, net issues today |
fleet journal [--project | --scope] [--days] | what happened, bucketed by day, with today's net issues |
fleet note --project --text | add a decision, hand-off or blocker to the journal |
fleet dispatch save --project|--scope [--brief] [--template] | keep what makes a session the dispatcher |
fleet resume --project|--scope [--session] | brief, template, journal and board; retargets --notify |
fleet sweep [--scope] [--for] | release waits, requeue launches nobody joined or claimed, mark gone worktrees lost and shared ones stale |
fleet config [--max n] [--launch-timeout-min n] | pool settings (max sizes the default scope) |
fleet config --scope <s> [--projects a,b] [--paths dir] [--max n] [--remove] | define, resize or remove a scope |
fleet --self-test | prove the pool, queue, routing, waits, events, scope, lock, overlap and checklist-gate rules still hold |
States: waiting → queued → launching → working → question | mergeable →
verifying → done, plus released (given up), lost (worktree deleted) and
stale (another task joined the same worktree). Only launching and working
count against the pool. A session reaches mergeable or done only with every
checklist item completed; the other states are never gated.
State lives in $FLEET_HOME (default ~/.fleet), one JSON file per task, written
atomically under a lock that a dead process cannot hold forever.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

