/dispatch:templatesfrom Dispatch
Saves reusable agent launch configurations with fill-in-the-blank arguments, launchable from the command palette. Use when users repeatedly start the same kind of task or to back scheduled jobs.
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 template is a saved agent launch — prompt, agent type, directory, worktree settings — that a human can fire from the Cmd+K command palette or that a job can run on a schedule.
The signal that you want one: you just wrote a careful multi-paragraph launch
prompt, or the user has asked for the same shape of task a third time. Templates
are also the prerequisite for jobs — see the jobs skill.
list_templates — scoped to a directory; reports promptArgs and promptChars, not prompt bodies
get_template — one template by ID, or by name within a directory
create_template — only `name` is required
update_template — pass only the fields you want to change
delete_template — fails if any job references it
Templates are unique per (directory, name). list_templates deliberately
omits prompt bodies — call get_template for the one you actually want.
| Field | Meaning |
|---|---|
name | Display name, unique within directory |
description | Shown in Cmd+K and launch views |
directory | Absolute path of the repo this template runs against |
prompt | The agent's first turn |
agentType | claude or codex |
model | Optional model id, matching the agent type |
useWorktree | Give the agent its own git worktree |
baseBranch | Base branch for that worktree |
branchName | Branch name for that worktree |
fullAccess | Pass the CLI's full-access / bypass-approvals flag |
callable | Show it in the Cmd+K command palette |
allowFiles | Default true: offer files and links at launch |
selfImprove | Let the agent revise this saved prompt after a run |
Templates and jobs accept the same two agent types.
Set useWorktree for anything that writes code. Agents sharing a working tree
overwrite each other's changes, and the damage is silent.
Put {{D:Arg Name}} placeholders in the prompt and they become fields at launch:
Review the PR at {{D:PR URL|required}} and focus on {{D:Review Focus|multiline}}.
|required makes it mandatory at launch.|multiline (or |textarea) renders a textarea instead of a single-line input.Argument values are also pinned to the launched agent's sidebar for reference.
Write prompts that still read correctly with optional arguments blank. A
blank optional argument has its placeholder removed and the surrounding text left
as-is, so focus on {{D:Review Focus}}. becomes a dangling focus on . Phrase it
so the sentence survives — or make the argument required.
launch_agent accepts templateArgs for launching a template
programmatically; get_template's promptArgs field tells you which argument
names it expects.
Templates with callable: true appear in Cmd+K under "Templates". Selecting one
always opens the launch dialog — argument fields when the prompt has them, plus
an agent-type override, a model override, and a Context area when allowFiles is
on. There is no launch-on-Enter path, so a template with no arguments still costs
the human one extra confirm.
Set callable: false for templates that exist only to back a job — otherwise the
palette fills with entries nobody launches by hand. (Templates that Dispatch
creates to back a job are already excluded from both the palette and the
Templates list.)
The launched agent starts with none of your context, so the prompt is its entire
briefing. The guidance in the subagents skill applies directly: state the
deliverable, name real paths, say what is out of scope, and record decisions that
should not be relitigated.
One extra consideration specific to templates: they run again months from now. Avoid anything that goes stale — "the PR we discussed", "the current sprint", today's date. Anything that varies per run belongs in an argument.
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