dispatch
Skill0 starsChanged 8 months agoMITView on GitHub
Triage ideas and features to the right workstream lanes, stage feature branches, and write BRIEF.md assignments to each clone. Run from the main checkout when you have one or more ideas to distribute across parallel workstreams. Use when asked to "dispatch", "triage ideas", "stage work", "queue features", or "assign tasks to lanes".
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
- SantiagoVqz/claude-skillstheir own version, first seen Sep 23, 2026
- ntorga/agent-starter-kittheir own version, first seen Sep 12, 2026
- renzrollon/interlocktheir own version, first seen Sep 10, 2026
Used with
Projects with it also use spec, ship and 4 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.
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
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 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
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 14 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Refuse if running from a clone: If the current directory name contains --, stop immediately: "Run /dispatch from the main checkout …
- Distinctive: line 46
Read CLAUDE.md at the repo root.
- Distinctive: line 48
If found, parse the lane entries.
- Distinctive: line 59
If CLAUDE.md had lane definitions, cross-reference: warn about clones that exist but aren't in CLAUDE.md, and lanes defined but with no …
- Distinctive: line 61
If CLAUDE.md had NO lane definitions, build a lane list from the discovered clones.
- Very specific: line 65
If no CLAUDE.md section and no --* clones exist, stop: "No workstream lanes found.
- Very specific: line 70
If the user provided ideas inline (e.g., /dispatch add search, fix auth bug, improve feed), parse the text as a comma-separated or …
- Very specific: line 72
If invoked with no args, use AskUserQuestion:
- Very specific: line 99
Use AskUserQuestion to present the triage and ask for corrections:
- Distinctive: line 114
If the user corrects anything, re-triage the affected items and re-present.
- Distinctive: line 142
Only sync to lanes receiving a dispatch in this run.
- Very specific: line 152
Write only if no existing BRIEF.md, or existing one has [x] in its Status section.
- Distinctive: line 178
If a lane already has an active BRIEF.md, append to BACKLOG.md:
- Distinctive: line 192
If BACKLOG.md already exists, append with the next sequence number.
- Very specific: line 196
Write to DISPATCH-NOTES.md in the main checkout (no sandbox issue):
- Distinctive: line 210
Note: All writes to clone directories use Bash to handle the sandbox boundary.
- Very specific: line 234
Never run from a --<lane> clone.
- Distinctive: line 235
Always sync CLAUDE.md before writing BRIEF.md.
- Distinctive: line 236
Never overwrite an active (non-complete) BRIEF.md — queue to BACKLOG.md instead.
- Distinctive: line 237
Always confirm triage with the user before writing anything.
- Distinctive: line 240
Do not create branches, install dependencies, or modify source code.
- Distinctive: line 242
After writing, read back each file to confirm it was written correctly.
“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 — Triage Ideas to Workstream Lanes
Collect ideas from the user, map each to the right workstream clone, and stage assignments.
Steps
1. Orient — Identify the repo and validate context
Run in parallel:
git rev-parse --show-toplevel— repo rootbasename $(git rev-parse --show-toplevel)— directory namegit remote get-url origin 2>/dev/null— remote URL
Derive the base repo name by stripping any --<suffix> from the directory name.
Set BASE_DIR to the parent of the repo root.
Set MAIN_DIR to BASE_DIR/<base-repo-name> (the main checkout without a -- suffix).
Refuse if running from a clone: If the current directory name contains --, stop immediately:
"Run /dispatch from the main checkout (<base-repo-name>/), not from a clone."
2. Discover lanes
Lanes can come from two sources. Try them in order:
2a. Check CLAUDE.md for lane definitions
Read CLAUDE.md at the repo root. Search for a section named "Parallel Workstream Lanes", "Workstream Lanes", or "Workstream Boundaries" (case-insensitive).
If found, parse the lane entries. Each lane is identified by:
- A checkout name pattern:
<repo>--<lane-name> - A branch name:
feat/<lane-name> - A description of what the lane owns (pages, components, actions, files, DB tables, etc.)
Store the parsed lanes as a list of { name, description, owned_files }.
2b. Scan for existing clones
List BASE_DIR/<base-repo-name>--* directories. For each, extract the lane name from the suffix.
If CLAUDE.md had lane definitions, cross-reference: warn about clones that exist but aren't in CLAUDE.md, and lanes defined but with no matching clone.
If CLAUDE.md had NO lane definitions, build a lane list from the discovered clones. For each clone, read its CLAUDE.md or scan its recent git log to infer what it covers. Present the inferred lanes to the user for confirmation.
2c. No lanes found
If no CLAUDE.md section and no --* clones exist, stop:
"No workstream lanes found. Run /spawn to create clones first, or add a 'Parallel Workstream Lanes' section to CLAUDE.md."
3. Collect ideas
If the user provided ideas inline (e.g., /dispatch add search, fix auth bug, improve feed), parse the text as a comma-separated or newline-separated list.
If invoked with no args, use AskUserQuestion:
What ideas or features do you want to dispatch?
List them one per line or comma-separated.4. Triage
For each idea, evaluate which lane it belongs to based on the lane descriptions and owned files from Step 2.
Classify each idea as:
- Single lane — clearly belongs to one lane based on the files/domains it would touch
- Cross-lane — spans multiple lanes (e.g., requires changes in both auth and feed)
- Unroutable — doesn't fit any defined lane
Produce a triage table:
Idea Lane Notes
────────────────────────────────────────────────────────
Add restaurant search supply post-form + places API
Fix avatar upload bug platform profile + storage
Improve feed sort order demand reservation-feed
Add SMS receipts cross-lane platform (Twilio) + supply (trigger)5. Confirm triage
Use AskUserQuestion to present the triage and ask for corrections:
Triage result — does this look right?
[table from Step 4]
Cross-lane ideas:
"Add SMS receipts"
<lane-1>: <what this lane does>
<lane-2>: <what this lane does>
Suggest: dispatch <lane> piece first
Type corrections (e.g., "idea 2 → demand"), or "ok" to proceed:If the user corrects anything, re-triage the affected items and re-present. Loop until confirmed.
6. Preflight check
For each lane that will receive a dispatch, run in parallel:
git -C <clone-path> branch --show-current
git -C <clone-path> status --porcelain
test -f <clone-path>/BRIEF.md && cat <clone-path>/BRIEF.md | head -5 || echo "no_brief"
test -f <clone-path>/BACKLOG.md && echo "has_backlog" || echo "no_backlog"Evaluate and flag:
- Clone doesn't exist — skip this lane, report "run /spawn
<lane>first". Hold the idea in DISPATCH-NOTES.md. - Existing BRIEF.md not marked complete — new idea goes to BACKLOG.md, not BRIEF.md. Tell the user.
- Clone on unexpected branch — warn but don't block.
- Clone has dirty files — note in output, don't block.
7. Sync CLAUDE.md
Copy the main checkout's CLAUDE.md to each target clone. Batch into one command:
cp <MAIN_DIR>/CLAUDE.md <clone-1>/CLAUDE.md && \
cp <MAIN_DIR>/CLAUDE.md <clone-2>/CLAUDE.mdAlso copy AGENTS.md if it exists and is referenced from CLAUDE.md.
Only sync to lanes receiving a dispatch in this run.
Note: This write targets sibling directories outside the current project. It will trigger a sandbox override prompt — batch all copies into one command to minimize prompts.
8. Write assignments
For each lane receiving work:
Active assignment → BRIEF.md
Write only if no existing BRIEF.md, or existing one has [x] in its Status section.
# Brief: <idea title>
**Lane:** <lane> | **Branch:** feat/<lane> | **Dispatched:** <YYYY-MM-DD>
## Task
<2-5 sentence expanded description. Include enough context for a Claude Code
session to start immediately without asking questions. Reference specific files,
components, or patterns from the lane's ownership list in CLAUDE.md.>
## Files to touch
- <file paths inferred from lane ownership and the nature of the idea>
## Acceptance criteria
- [ ] <specific, testable criterion>
- [ ] <specific, testable criterion>
- [ ] No cross-lane files modified without flagging
## Status
[ ] Not startedQueued work → BACKLOG.md
If a lane already has an active BRIEF.md, append to BACKLOG.md:
# Backlog: <repo>--<lane>
When the current BRIEF.md is complete, promote the next item.
## Queue
### 1. <idea title>
**Dispatched:** <YYYY-MM-DD>
<brief description>If BACKLOG.md already exists, append with the next sequence number.
Cross-lane ideas → DISPATCH-NOTES.md
Write to DISPATCH-NOTES.md in the main checkout (no sandbox issue):
# Dispatch Notes
## Cross-lane: <idea title>
**Dispatched:** <YYYY-MM-DD>
- **<lane-1>:** <what this lane does for this idea>
- **<lane-2>:** <what this lane does for this idea>
- **Dependency:** <which side ships first and why>
- **Shared surface:** <files both lanes need to agree on>Note: All writes to clone directories use Bash to handle the sandbox boundary. Batch writes per clone into single commands where possible.
9. Report
Print a summary:
Dispatch complete
─────────────────────────────────────────────────────────
<lane> BRIEF.md "<idea title>"
CLAUDE.md synced
<lane> BACKLOG.md "<idea title>" (queued #1)
Active brief: "<existing brief title>"
Cross-lane DISPATCH-NOTES.md "<idea title>"
Next steps:
cd <clone-path> and open a new Claude Code session
Run /lanes to monitor progress
─────────────────────────────────────────────────────────Rules
- Never run from a
--<lane>clone. Only from the main checkout. - Always sync CLAUDE.md before writing BRIEF.md.
- Never overwrite an active (non-complete) BRIEF.md — queue to BACKLOG.md instead.
- Always confirm triage with the user before writing anything.
- Expand every idea into a full brief with files-to-touch and acceptance criteria. Never write a one-liner.
- Batch cross-directory writes to minimize sandbox override prompts.
- Do not create branches, install dependencies, or modify source code.
- Lane definitions come from CLAUDE.md or discovered clones — never hardcode lane names.
- After writing, read back each file to confirm it was written correctly.
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.

