dispatch
Skill2 starsChanged 2 months agoMITView on GitHub
Drive one spec end to end: run each ready-for-agent ticket in its own subagent on the spec branch, close each ticket against its acceptance criteria as it commits, then ship the branch as a PR. Run as `/dispatch <spec>`, or under `/loop` when the spec has ready-for-human checkpoints.
- Deletes or force-pushes
26 other projects use a version of this.
Adopted by
Most recently taken up by
- vu1n/pillboxtheir own version, first seen Oct 4, 2026
- mb-89/quackitecttheir own version, first seen Oct 3, 2026
- s2b-dev/smart-second-braintheir own version, first seen Sep 27, 2026
- ntorga/agent-starter-kittheir own version, first seen Sep 12, 2026
- renzrollon/interlocktheir own version, first seen Sep 10, 2026
- fuzzyfox/skillstheir own version, first seen Sep 10, 2026
Used with
Projects with it also use orient, spec and 1 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.
moredipSkillorient
Orient yourself to this codebase by reading the README and documentation
Also in 3 projects that use this
SentrySkillspec
Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.
Also in 3 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- s2b-dev/smart-second-brain★ 1.3ksame name
- bassimeledath/dispatch★ 411same name
- epilande/ccmux★ 213same name
- ntorga/agent-starter-kit★ 146same name
- fagemx/edda★ 36same name
- phj128/autoworker★ 19same name
- clonable-eden/cekernel★ 17same name
- renzrollon/interlock★ 17same name
- BigY0shi/super-skills★ 4same name
- fuzzyfox/skills★ 4same name
16 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.
In this repository36 other files it gives its agents.
- askSkill
- setup-skillsSkill
- setup-worktreesSkill
- upgrade-skillsSkill
- cleanupSkill
- code-reviewSkill
- grill-with-docsSkill
- implementSkill
- prSkill
- shipSkill
- to-specSkill
- to-ticketsSkill
- worktreeSkill
- grill-meSkill
- handoffSkill
- teachSkill
- to-questionnaireSkill
- unslopSkill
- wait-whatSkill
- writing-for-agentsSkill
- close-ticketSkill
- codebase-designSkill
- domain-modelingSkill
- grillingSkill
- tddSkill
- prototypeSkill
- researchSkill
- wayfinderSkill
- diagnosing-bugsSkill
- improve-codebase-architectureSkill
- resolving-merge-conflictsSkill
- retroSkill
- ticket-clerkSkill
- triageSkill
- ui-reviewSkill
- wizardSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Before any new ticket starts, settle every committed-open one, oldest commit first.
- Very specific: line 75
Every ticket is done. Invoke the ship skill on the spec.
“Common” is measured: kept by at least 6 in 10 of the 24 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
dispatch — one spec, ticket by ticket
/dispatch <spec> drives one spec to a green branch. The spec is an issue number or a .scratch/<slug> path, read through the configured tracker (docs/agents/issue-tracker.md). Its tickets are the ones /to-tickets published: sub-issues or issues whose Parent names the spec, or .scratch/<slug>/issues/*.md locally.
One spec = one branch off the trunk, in its own linked worktree, so the primary checkout stays free while a pass runs. Every ticket commits to that branch, so the work is sequential by construction and there is nothing to integrate at the end. Dispatch closes each ticket as its commit lands, and finishes by running /ship, which opens the PR. Dispatch merges nothing; the merge is the human's.
Each ticket runs in its own subagent, so implementation context never enters this session and each ticket starts from a clean slate, sized for one context window as /to-tickets cut it. What comes back is the agent's report: a commit hash, or a failure.
All state lives on the tracker and in git, never in this conversation. A rerun, a crash, or a fresh session reads the same picture. Rerunning /dispatch <spec> after a checkpoint or a crash is the normal way to carry on.
Run it under /loop when the spec carries checkpoints — /loop /dispatch <spec> — so the session outlasts the wait for the human. A spec with no checkpoints finishes in one pass and needs no loop.
Vocabulary
- Trunk: the branch the repo merges into (
developon a git-flow repo,mainotherwise); same rule as/cleanup. - Spec branch:
<type>/<spec-number>-<spec-slug>off the trunk. - Ticket ref:
#<n>on a real tracker,NN-<slug>on a local one. Every ticket commit carries it in the message; it is how git and the tracker are joined. - Done: closed on the tracker (
Status: donelocally), byclose-ticketafter its commit. Only a done ticket unblocks its dependents. - Committed, open: a commit on the spec branch carries the ticket ref but the ticket is still open. A crash between commit and close, or an unmet criterion, leaves a ticket here. It is reconciled before any new work starts.
- Frontier: open tickets labelled
ready-for-agent, with no commit, whose blockers are all done.
Dispatch speaks only the triage roles from triage-labels.md, so a ticket's state reads the same in /triage and here:
ready-for-agent: dispatch may take it.ready-for-human: a checkpoint. Set by the human at/to-ticketstime to stop dispatch before the ticket, or by dispatch when a committed ticket's unmet criterion only a human can verify. The human does the step and relabelsready-for-agent, or closes the ticket.needs-triage: dispatch failed the ticket twice and stopped touching it. The comment says why. The human relabelsready-for-agentto retry.
1. Read the state
- Worktree. Invoke the
worktreeskill on the spec branch. It stands the session in the spec worktree, provisioned, with the database shared or forked from the spec. It stops: relay why and stop. - Clean tree.
git status --porcelainmust be empty. A dirty tree means a subagent died mid-ticket: stop, show the diff, and ask the human whether to keep it (commit it with the ticket ref) or drop it (git checkout -- . && git clean -fd). - Rebase.
git fetch --all --prune, thengit rebase origin/<trunk>. The branch is unpushed until/ship, so the rebase is free. On conflict run/resolving-merge-conflicts. When the rebase moved a lockfile or added a migration, rerunscripts/provision.sh; without it, install dependencies the way the repo's README says. - Tickets. From the tracker, list the spec's tickets with state, labels, and Blocked by. From
git log <trunk>..<spec-branch>, mark which tickets have a commit. - Implement. Locate the
implementskill file:.claude/skills/implement/SKILL.md, else~/.claude/skills/implement/SKILL.md. Subagents read it by path, because a user-invoked skill cannot be reached through the Skill tool.
Completion: the session stands in the spec worktree, provisioned, and every ticket carries exactly one state: done, committed-open, frontier, blocked, ready-for-human, or needs-triage.
The spec resolves to no tickets: say Spec <spec> has no tickets and stop. A mistyped spec, a tracker /setup-skills never configured, and a spec whose tickets live somewhere else all look the same from here. Stopping loudly is the only way the human learns which one it is.
2. Reconcile committed-open tickets
Before any new ticket starts, settle every committed-open one, oldest commit first. Run close-ticket on it with its commit hash.
- Done: post
<ref> <title> done · <hash>. Continue. - Open, unmet criteria the agent can meet: relaunch the same ticket once, with the unmet criteria pasted into the task, so the second run builds on the first commit. Still open after that: relabel
needs-triage, comment the unmet criteria, post<ref> needs triage: unmet <criterion>. - Open, a criterion only a human can verify (close-ticket says so): relabel
ready-for-human, comment the criterion, post<ref> needs you: <criterion>, and continue with tickets that do not depend on it.
Completion: no ticket is committed-open.
3. Drive the frontier
Take frontier tickets one at a time, in dependency order. Record git rev-parse HEAD as the ticket's fixed point. Dispatch one subagent per ticket and wait for its report before starting the next; two agents on one branch collide.
Work in this checkout on branch
<spec-branch>. Read<implement path>and follow it for ticket<ticket ref>, whose body follows. The tracker is described indocs/agents/issue-tracker.md. When it says to use/code-review, the fixed point is<hash>. Commit with<ticket ref>in the message. Then invoke theclose-ticketskill on<ticket ref>with that commit hash. Report back the commit hash and the close result (done, or the unmet criteria verbatim, or that a criterion needs a human), or the exact failure: a red suite after your remediation attempts, a conflict, a step you could not take.<ticket body>
- Done: post
<ref> <title> done · <hash> · <n>/<total>. Take the next frontier ticket. - Committed, still open: handle as in step 2.
- Failed, nothing committed: check the tree is clean (step 1.2 rule); then relaunch the same ticket once, with the previous report pasted into the task. A second failure relabels
needs-triagewith the reason as a comment: post<ref> needs triage: <one-line reason>and carry on with the rest of the frontier.
A ticket blocked by a ready-for-human or needs-triage ticket is not frontier. When nothing is frontier and something is ready-for-human or needs-triage, this pass ends: post the list, notify, and say what releases each one. Under /loop, keep ticking and re-read the labels each tick; otherwise a rerun resumes from the same place.
Completion: every ticket is done, or the only open tickets are ready-for-human, needs-triage, or blocked by one of those.
4. Ship the branch
Every ticket is done. Invoke the ship skill on the spec. Ship rebases onto the trunk, runs the full suite, pushes, and opens the PR. Relay ship's report.
- Shipped: notify
Spec <spec> shipped: <PR url>. - Red: ship stopped before the push. Report the failing test. Notify
Spec <spec> red: <test>. The branch stays as it is; the human fixes it and reruns/ship.
The human merges the PR and runs /cleanup afterwards, which removes the worktree.
Status
Post a status line to the conversation on every ticket outcome and end every pass on the ledger:
<spec> · <n>/<total> done · <driving <ref> | ready-for-human: <ref> | needs-triage: <ref> | shipped: <PR url>>
The conversation is the primary channel. Push a notification only when the run needs the human and they may be elsewhere: a checkpoint, a ticket that needs triage, a red suite, a shipped PR. Under /loop, report a noop only when the ledger is identical to the last tick's, and wake slowly — 1800 seconds or more — while the only thing outstanding is a human release.
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.

