dispatch
Skill0 starsChanged 3 months agoMITView on GitHub
Fan out a batch of independent, well-specified tasks (backlog items, issue numbers) to parallel worktree-isolated implementer subagents, each ending at a draft PR plus a critic review. For a single large feature, use the project's own /orchestrate instead (/orchestrate-creator scaffolds one).
- Commits and pushes
40 other projects use a version of this.
Adopted by
Most recently taken up by
- renzrollon/interlocktheir own version, first seen Nov 5, 2026
- dan-myles/skillstheir own version, first seen Nov 1, 2026
- bestony/skillstheir own version, first seen Nov 1, 2026
- AcKeskin/contexturetheir own version, first seen Nov 1, 2026
- mhlaghari/stuntmantheir own version, first seen Nov 1, 2026
- vu1n/pillboxtheir own version, first seen Oct 26, 2026
Used with
Projects with it also use edge-detection, odds-analysis and 10 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.
noahowshSkilledge-detection
Comparing a tennis model's probability with the market: no-vig close, expected value at the best available price, closing line value, fractional Kelly sizing, and the checks that separate an estimated edge from noise. Use when the user has a probability and wants to know whether a price is better than fair, how large a stake is reasonable, or whether an edge is real. Requires a probability the user trusts. Do not use for fetching prices: see odds-explorer. Do not use for devig math alone: see odds-analysis. Do not use for historical testing: see backtesting.
Also in 4 projects that use this
noahowshSkillodds-analysis
Odds math for two-way tennis markets: American to implied probability, margin, devigging (multiplicative, power, Shin), no-vig fair odds, consensus across books, favorite-longshot bias, and expected value of a price. Use when the user asks what a price implies, how to remove the vig, what the true probability is, or how to compare books. Do not use for fetching or comparing live prices: see odds-explorer. Do not use for deciding a bet against a model: see edge-detection.
Also in 4 projects that use this
agiprolabsSkillwalk-forward-validation
Walk-forward validation framework for trading strategies and ML models with time-series-aware splits, overfit detection, and regime-aware validation
Also in 4 projects that use this
Yahmez3Skillbacktesting
Use when backtesting a trading strategy — evaluating a signal series against historical price data and computing performance metrics (Sharpe, Sortino, max drawdown, CAGR, win rate, expectancy). Triggers on "backtest this strategy", "what's the Sharpe on X", "run a walk-forward test", or "compare strategies A and B". Produces equity curves, trade logs, and tear sheets.
Also in 4 projects that use this
ffsshhttiikkSkillfeature-engineering
Machine learning feature engineering
Also in 4 projects that use this
varun29ankuSSkillorchestrate
This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.
Also in 4 projects that use this
- +3 more from noahowsh
Other versions40 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 40
- your-papa/obsidian-Smart2Brain★ 1.3ksame name
- s2b-dev/smart-second-brain★ 1.3ksame name
- bassimeledath/dispatch★ 411same name
- renzrollon/interlock★ 61same name
- fagemx/edda★ 36same name
- phj128/autoworker★ 18same name
- clonable-eden/cekernel★ 17same name
- mhlaghari/stuntman★ 16same name
- YippeeXuXu/dsh-collab-mode★ 5same name
- BigY0shi/super-skills★ 4same name
30 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 repository6 other files it gives its agents.
- orchestrate-creatorSkill
- promote-memoriesSkill
- risk-reviewSkill
- skill-retroSkill
- work-logSkill
- write-adrSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 39
If nothing is found, say so and ask the user for the command before dispatching.
- Very specific: line 45
Ownership + PR-target check: if the origin owner is not the authenticated user's own account (gh api user) or an owner the user has already …
- Distinctive: line 63
Independence check: if two tasks plausibly touch the same files, merge them into one task (same worktree) rather than risking conflicting …
- Distinctive: line 75
Concurrency: all at once by default; if pre-flight judged verification heavy, propose running in waves (default wave size 2) so parallel …
- Distinctive: line 101
run the verification command.
- Distinctive: line 103
commit (repo's commit-message conventions), push the branch
- Distinctive: line 108
never touch the base branch, never force-push, never mark the PR ready
“Common” is measured: kept by at least 6 in 10 of the 38 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
Parallel fan-out for a batch of independent tasks in the current repository. This skill ends at draft PRs plus a review verdict per task; marking PRs ready, merging, and follow-up on later CI/review comments stay with the user.
Respond in the user's conversation language. Skip narration between tool calls.
Subagent budget (inlined so this skill is self-contained). Per-response output-token caps (Claude Code 2.1.228): Opus 5 · Sonnet 5 · Fable 5 64,000 / Haiku 4.5 32,000; pre-5 models vary either way (8,192 to 64,000). Model choice is a cost lever, not a budget lever — Sonnet buys no headroom over Opus. Keep each dispatched task within ~800 changed lines. For more depth read this kit's
rules/subagent-usage.md(or~/.claude/rules/subagent-usage.mdif installed).
Pre-flight
git status— report a dirty worktree; dispatch itself never touches the user's current checkout (subagents work in their own worktrees).- Detect the base branch (
origin/HEAD, fallbackmain). - Detect the verification command, in priority order — record what you find
and include it verbatim in every delegation prompt:
- Commands documented in the repo's CLAUDE.md / AGENTS.md (build/test section)
justfile→just test(+ lint/analyze recipes if present)Makefile→make testgradlew/build.gradle(.kts)→./gradlew testPackage.swift→swift testpackage.jsonscripts →npm test(or the repo's package manager)composer.jsonscripts →composer test/composer analyzeCargo.toml→cargo testpyproject.toml/pytest.ini→pytest*.sln/*.csproj→dotnet testIf nothing is found, say so and ask the user for the command before dispatching.
- Verification weight: judge whether the command is resource-heavy — device simulators/emulators, local LLM inference, large native builds, or anything the repo's CLAUDE.md flags as memory-hungry. Heavy verification caps concurrency, not batch size (see Workflow step 3).
gh auth statusmust pass (draft PRs are created via gh).- Ownership + PR-target check: if the
originowner is not the authenticated user's own account (gh api user) or an owner the user has already confirmed in this session, ask before dispatching — this skill pushes branches and creates PRs. Then rungh repo view --json isFork,parent,nameWithOwner: if the repo is a fork,gh pr createdefaults to targeting the PARENT repo — confirm the intended PR target with the user. Record the resolved target asPR_REPO(owner/repo) and pass it explicitly via-Rin everygh prcall, so a fork can never silently open PRs against someone else's upstream.
Workflow
- Parse the argument into a task list:
- Bullet list text → one task per bullet.
- A file path → read it; one task per top-level bullet/heading.
#Nissue numbers →gh issue view Non the current repo; the issue body is the task spec.- Empty → ask the user.
- Independence check: if two tasks plausibly touch the same files, merge them into one task (same worktree) rather than risking conflicting PRs.
- Build the dispatch plan — a table with one row per task:
branch name (
dispatch/<slug>, or the repo's documented branch convention), task summary, target files (best guess), model (per the global Plan & Delegate policy if installed; else: opus for hard logic, sonnet for well-specified work, haiku for mechanical edits), estimated size, and PR labels (issue-backed: carry the issue's labels; otherwise pick fromgh label list— existing labels only, never create). Caps, stated in the plan:- Batch: max 5 tasks per dispatch (if more were given, propose the top 5 and hold the rest for a second round).
- Concurrency: all at once by default; if pre-flight judged verification heavy, propose running in waves (default wave size 2) so parallel test runs don't exhaust memory. The user can override either cap at approval.
- Plan critique (cheap, high ROI — catches rework before 5 worktrees
exist): run ONE
criticsubagent on the dispatch plan itself. Its axes: task independence (hidden file overlaps, hidden dependencies between tasks), spec completeness of each delegation prompt, verification-command fitness, model assignments. Model by batch stakes (haiku/sonnet for routine batches, opus for risky ones). Fold its findings into the plan table. If the batch touches auth / payment / migrations / deploy paths, also offer the user a full /risk-review of the plan before dispatching — but don't run it unasked. - Gate — plan approval: show the table plus the critic's findings and stop. Dispatch nothing until the user approves. This is the single approval for the whole batch.
- Mark issues in-progress (issue-backed tasks only, right after approval):
gh issue edit <n> --add-assignee @me, and if the repo has an in-progress-style label (doing/in progress/wip— checkgh label list), add it. Never create new labels. - Execute in parallel (within the approved wave size): launch one
implementersubagent per task in the background, each with worktree isolation and the chosen model. Every delegation prompt must be self-contained: task spec, target paths, repo conventions pointer (CLAUDE.md), the verification command from pre-flight, branch name, and these standing orders:- implement within ~800 changed lines (report and stop if it will exceed)
- run the verification command; if it is red, STOP — do not commit, push, or open a PR; report the failure instead
- commit (repo's commit-message conventions), push the branch
gh pr create --draft -R <PR_REPO> --base <base branch> --assignee @me(both from pre-flight — never rely on gh's default PR target) with the labels from the plan (--labelper label) and a body that states what was verified; issue-backed tasks includeCloses #<n>in the body- never touch the base branch, never force-push, never mark the PR ready
- skip narration; final report = branch, PR URL, test result, deviations
- Review each completed task: as each draft PR lands, review that
branch's diff (
git fetch+git diff <base>...<branch>from the main checkout). Choose the review mode dynamically — note that the /code-review and /risk-review skills operate on the current checkout, so inside dispatch their intent is reproduced withcriticsubagents instead:- Implementation-heavy diff → one
criticwith a correctness lens (/code-review equivalent): hunt real bugs — logic errors, edge cases, broken contracts, test gaps — and try to refute its own findings before reporting. - Design / ops / docs-heavy or wide-blast-radius diff (migrations,
auth, payment, deploy/runbook) → one
criticwith pre-mortem risk axes (a lighter /risk-review equivalent). - Diff spans both natures → both lenses, as two parallel critics (this is the per-task maximum). Model chosen by the task's stakes. Classify the outcome per task:
- Clear (no findings, or nits only): if this kit's pre-PR review gate
hook (
pre-pr-review-gate.sh) is installed, mark the branch as already-reviewed so the later ready-making step is not double-gated. Marker recipe (harmless no-op if the gate is not installed):
Honesty note: the gate keys on the checkout root + current HEAD at ready time, so this pre-pass only takes effect when the later ready-making command runs from the main checkout WITH that branch checked out. In any other context (e.g.ROOT=$(git rev-parse --show-toplevel) # run from the MAIN checkout, not the worktree BRANCH=<the task branch from the plan table> KEY=$(printf '%s' "$ROOT:$BRANCH" | shasum | cut -d' ' -f1) mkdir -p "${TMPDIR:-/tmp}/claude-pr-review-gate" && touch "${TMPDIR:-/tmp}/claude-pr-review-gate/$KEY"gh pr ready <n>while on the base branch) the gate may still fire once — that residual deny is safe: it re-arms, the retry passes. - Needs work (real findings): do NOT touch the marker (the gate stays armed so a post-fix review is still forced); list the findings in the report. No auto-fix — fixes go through a follow-up session on that branch.
- Implementation-heavy diff → one
- Collect and report: as subagents finish, assemble the result table —
task / branch / PR URL / verification result / review verdict / deviations.
Failed tasks get one retry with the failure context — but make the retry
idempotent: first check what already exists (
git ls-remotefor the branch,gh pr list --head <branch>for a PR) and instruct the retry to RESUME from there (fix and push to the existing branch / reuse the existing PR), never to recreate from scratch. After the one retry, report and leave the task to the user. - Teardown: list leftover worktrees (
git worktree list) and state the cleanup contract in the final report — worktrees for open draft PRs are kept (the review-fix session needs them); worktrees for failed/abandoned tasks should be removed (git worktree remove <path>, plus deleting the branch if nothing was pushed). Never leave leftovers unreported. End with the hand-off note: ready-making is the human's call (clear tasks have pre-passed the review gate; needs-work tasks re-arm the gate after fixes), and later CI failures or review comments are follow-up sessions, not this skill's loop.
Constraints
- Draft PRs only. Marking PRs ready / merge / comment reply are out of scope for this skill.
- GitHub metadata: assignee is always
@me; use existing repo labels only — never create labels, never assign other users. - Token guard: hard limits — 5 tasks per dispatch, one plan critic per dispatch, at most two critics per task diff (2 only when using both lenses, otherwise 1), one retry per failed task. Do not loop. If the batch needs more depth, tell the user to run /dispatch again.
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.

