dispatch

dispatch is a skill for Claude Code from a1f/agent-templates. It costs 45 tokens per session (2,188 once invoked), scanned A, original, MIT.

A command that starts ready, unblocked pull requests in parallel, giving each one its own tmux window, git worktree, branch, and coding agent. A worktree is a separate working copy of a repository, so changes can stay isolated.

In plain words
What is it for?
Use it to find ready pull requests in an issue, design document, or file, choose which ones to schedule, and launch one coding agent per selected pull request.
Why use it?
It removes the manual setup needed to run several independent coding tasks at once. It still asks for confirmation before scheduling work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to find ready pull requests in an issue, design document, or file, choose which ones to schedule, and launch one coding agent per selected pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a1f/agent-templates/dispatch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add a1f/agent-templates --skill dispatch
Clone the repo
git clone --depth 1 https://github.com/a1f/agent-templates

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/a1f/agent-templates/dispatch/github.svg)](https://agentmods.dev/skills/a1f/agent-templates/dispatch)
Your own site
<a href="https://agentmods.dev/skills/a1f/agent-templates/dispatch"><img src="https://agentmods.dev/badge/skills/a1f/agent-templates/dispatch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dispatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/a1f/agent-templates/dispatch"><img src="https://agentmods.dev/badge/skills/a1f/agent-templates/dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.02188
Opus 5.5 $0.00018 $0.00875
Sonnet 5.5 $0.00009 $0.00438
Haiku 4.5 $0.00005 $0.00219

Measured 2mo ago against content hash 3e8a832ecc40, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dispatch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dispatch/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dispatch

Take the work that is ready to start in a plan and fan it out: one tmux window per PR, each in its own worktree, each running a coding agent on /make-pr <ref> <PR#>.

/dispatch [<issue ref | artifact | design doc>] [--pr <PR#> ...] [--session NAME] [--dry-run]

  1. Find the unblocked PRs
  2. Confirm which to schedule   (gate — always)
  3. Write the plan
  4. Fan out — one window per PR

You own steps 1–3 (judgement: what is ready, what the user confirms, the plan). The script owns step 4 — the mechanics (worktree, branch, window, launch) — so they are deterministic and repeatable.

--pr <PR#> schedules just those PRs (repeat the flag for a few, e.g. --pr 1.5 --pr 1.7) instead of the whole ready set — use it when you want one PR, not the batch. It preselects; it does not skip the confirmation gate. You still resolve each named PR from the source (for its What → slug and its ref) and still show the rest of the ready list so the user can add to the selection.

Phase 1 — Find the unblocked PRs

Read the source the user named:

  • Issue (#N, 123, or a URL) — gh issue view <N> --json title,body -q .body.
  • File — read it. Artifact URL — fetch it.
  • Nothing given? Scan the conversation for the last PRD published: ... (issue #N) or a plan the user just approved. Confirm the number with the user before proceeding.

Find the PR rows (a ## PR breakdown section from /pr-breakdown has them as | PR | What | LOC | Done when |). If the source has no PR-level breakdown, stop and point the user at /pr-breakdown — do not invent one.

Then decide which rows are ready to start:

Signal Where it comes from
Dependencies satisfied the plan's own ordering and parallelism notes (*n.1 ∥ n.2 (independent)* = no dependency between them; otherwise later rows in a slice wait on earlier ones)
Not already done gh pr list --state all --search "<PR#>" — skip rows with a merged or open PR
Not already started git branch -a and git worktree list — skip rows that already have a branch or worktree

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 169 lines · 45 tokens per session scan A 3e8a832ecc40

Subscribe to this mod's changes

dispatch is a skill published in the GitHub repository a1f/agent-templates (2 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 2,188 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

antfu-issue-triage

Triage open issues and PRs of the current GitHub repo - find already-fixed, duplicate, and spam items, suggest labels, gauge demand from reactions and comments, then present a table of proposed actions and comments for confirmation before touching anything. Use when asked to triage, organize, clean up, or groom issues…

antfu/skills · 76 tokens

mcore-split-pr

Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.

NVIDIA/skills · 25 tokens

engineer-bot-ops

A workflow for carrying an engineering task from scope through implementation and reviewable delivery. It works with a repository's branch, existing changes, rules, checks, and permissions while separating completed, unverified, and next-step work.

makecindy/cindy · 57 tokens

shiplog

Recap of everything shipped since the last run - cross-repo PRs, security fixes, star deltas, and X traction, synthesized into a digest article and a ready-to-post shiplog in your voice.

aeonfun/aeon · 46 tokens

llxprt-issue-workflow

Use this skill when asked to address, fix, or work on a GitHub issue in the llxprt-code repository. Covers the complete issue lifecycle - branch setup, gh CLI usage, test-first planning, subagent delegation and review loops, the full verification cycle (including the zai-glm-flash smoke test), open code review (ocr)…

vybestack/llxprt-code · 88 tokens

connect

Choose which wiki this session uses, the team project's pages on the Nimbalyst server or the project's local wiki of files, and connect a repository to its team project. Use at the start of a task before any wiki tool, when a wiki tool returns reponotbound, ambiguousproject, pinmismatch, projectnotaccessible…

nimbalyst/nimbalyst · 101 tokens