/dispatch:subagentsfrom Dispatch
Launches and coordinates independent Dispatch agents for parallel work, separate branches, or long-running background tasks. Use when a task splits into independent parts or needs its own worktree.
Ships in Dispatch. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Dispatch agent can launch other agents. Each one is a full agent — its own session, its own working directory, optionally its own git worktree and branch — not an in-process helper that shares your context.
That difference decides when delegation is worth it:
For review specifically, launch with persona: <slug> rather than a plain
agent — see the review-workflow and personas skills.
launch_agent prompt, ... (see the tool schema for the full option set)
The prompt is the child's entire world. Write it as a standalone briefing:
If a template already captures this launch configuration, launch from it instead
of retyping the prompt — see the templates skill.
type defaults to your own, and that is usually the type closest to its limit:
subscription quotas are shared by every agent on the same provider login, so a
fan-out on one type can stall all of it at once. Call get_usage before
launching — its summary says whether any type is low or exhausted and names
the one to prefer (suggestedType); pass that as type. When every type is
fine, or nothing reports usage, the default is as good as any. If every reported
type is low, say so to the user before launching rather than queueing work that
cannot run. To wait for a type to run low or recover, subscribe with
usage_watch rather than polling get_usage; remove it with usage_unwatch.
redeem_codex_reset irreversibly consumes a limited, account-shared Codex reset
credit. Before invoking it, call get_usage, present current usage and available
resets to the user, and obtain explicit authorization for this redemption. If the
user already clearly authorized this action (for example, "use a reset now"),
proceed without asking again. Generic permission to keep working does not
authorize redemption. This is agent guidance, not a server-enforced approval
gate. Reuse the same UUID idempotency key for retries and never automatically
retry an uncertain redemption with a new key.
By default the new agent is your child: it renders inside your card in the
sidebar, and archiving it is yours to do. child: false launches an independent
agent instead — same inherited directory, type, and access level, still yours to
message and archive, but outside your lineage and owning a top-level card.
Nesting stops at one level for ordinary/task agents: a child must use
child: false to launch those as independent agents. Review personas and
launch_owner_reviews are supported from children: they review the caller's
checkout, appear beside the caller under its parent, and deliver findings and
notifications to the caller. Root review launches still report to the root.
list_agents — who exists, their IDs, names, statuses, latest activity,
plus parentAgentId and relation (child, descendant, …),
and launchedByAgentId when that is not the parent
post to: <agentId>, text — a message delivered to that agent as a prompt
The list is not flat. Each entry names the agent it is a child of, so a
descendant is a grandchild or deeper — something your own child spawned, not
something you did. An agent you launched with child: false is not in your
tree, so it reports as unrelated; find it by launchedByAgentId, which is
present only when the launcher is not already the parent. Incoming messages
carry the same lineage: the delegation chain runs from the sender up through
whoever launched it to you.
Lineage is keyed by agent ID. Agents rename themselves as their work shifts, so
a name is a label for reading, not a handle for remembering — build the tree
from parentAgentId, and hold on to the ID of anyone you plan to contact later.
post with to: <agentId> delivers the block to that agent as a prompt, and
it can reply the same way — its reply arrives as a DISPATCH POST naming the
sender, and replyTo keeps an exchange in one thread. The user sees the traffic
in the stream. to takes an agent ID (agt_…); names drift as agents rename
themselves, so hold on to the ID. A successful post records the block; it
does not prove the recipient picked it up or answered. A stopped agent cannot
consume a prompt until its session is available. Inspect list_agents when
diagnosing a delivery problem, rather than repeatedly polling for a result.
Finish independent work after delegating, then end the turn if the next step
depends on the result. The child reports back with post and to, which arrives
as a new prompt; do not keep a turn alive by sleeping or polling. Reply to
another agent only when it asks for one. Sending a message does not cancel a
running tool, and progress from a child is not proof that its task is complete.
Messaging is for coordination, not for streaming progress. A parent that wants a start and an end does not want twelve interim pings; fold the detail into the final report.
Artifacts do not travel by message. A child's shared files is readable from the
parent with ownerAgentId on list_files, and the parent's from the child the
same way — so a child posts a screenshot as a file attachment and says so,
rather than pasting the path. A child's posts land in the parent's stream
already, and the parent's links and PRs are in that same stream, so neither side
needs to relay a URL. Re-posting a child's file from the parent only duplicates
it.
Use typed resource attachments for handoffs: pr for pull requests and
preview with url and a useful title for runnable previews. Generic link
cards stay in the stream and do not enter the Inbox (legacy PR-shaped URLs
remain compatible). For Dispatch dev stacks, share only the web LAN URL as the
preview resource; API/DB addresses are internal validation details. Attach
cleanup commands separately. Parents need not re-post a child's resource.
For results that need to outlive either session — a finding, a decision, an
accumulating list — write to the brain instead of messaging it. See the brain
skill.
archive_agent agentId
Archive a child once you have consumed its output. This is scoped to agents you
launched directly, child: false ones included — archiving someone else's agent
is rejected. It stops the session and soft-deletes it, and it cannot be undone,
so read the child's output first.
Pass your own agent ID to retire yourself instead of idling until someone archives you from outside. Make it the last call of the turn: your session stops moments after it returns, so send any final message or report first.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selfcontained/dispatch --plugin dispatch13 skills in this plugin
/brainRecord decisions, findings, or state in the repo's shared persistent store so they survive this session. Use when you need to remember something for later, look up what was already decided, or accumulate results across runs./communicatePick the shape for something you are about to tell the user — a plain or threaded reply, a question they answer in one click, a form, a file, a link, a checklist, or a data visualization. Use when you need a decision from them, have progress or a result to report, or produced something they should look at./jobsRun agent work on a schedule with structured pass/fail reporting. Use for recurring or unattended work — nightly triage, release babysitting, cleanup — or when a run's outcome must be machine-readable.Other plugins' skills for the same job