/dispatch:sharingfrom Dispatch
Posts files, screenshots, logs, reports, and snippets as inline attachments so the user can open them directly. Prevents broken local paths in Dispatch sessions.
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.
When you produce something the user should see — a screenshot, a diff, a
generated config, a log excerpt, a report — hand it over with post and a file
attachment. The file is uploaded into the Dispatch session, where it renders
inline in the stream and stays attached to the conversation.
The failure this prevents: writing the file to /tmp and pasting the path.
That path is meaningless to a user reading the session in a browser, on a phone,
or on a different machine from the one the agent is running on. A local path is
not a deliverable.
A file that already exists — the common case:
post text: "Login flow after the redirect fix",
attachments: [{ type: "file", path: "/tmp/login-flow.png",
caption: "Login flow after the redirect fix" }]
path is absolute and on the machine you are running on. One post can carry
several attachments — a before/after pair goes in one block, not two.
Text you are generating right now — write it to a temp file with a real
extension and attach that. The extension drives syntax highlighting and how the
artifact renders, so migration-plan.md, not migration-plan. A short snippet
that is not worth a file can go as { type: "code", code, language, path }
instead, where path is a caption saying where it came from.
Supported: images (png, jpg, jpeg, gif, webp), video (mp4), documents
(pdf), and text (txt, md, json, yaml, ts, py, go, rs, sh,
sql, and similar).
post returns the block's id. When you regenerate the artifact — a report
that gets refined, a screenshot retaken after a fix — revise that block with
update and new attachments rather than posting again:
update id: "<id from the first post>",
text: "Report — second pass",
attachments: [{ type: "file", path: "/tmp/report.md" }]
attachments on update replaces the whole list, so include everything the
block should still carry. A file you already uploaded can be re-attached by
its fileName instead of a path. Five near-identical uploads make the
session harder to read, not more thorough; but when the second version is a
different deliverable — a new flow, not a retake — a new post is right.
list_files — metadata for this agent's shared files, including filePath
delete_file fileName — permanently removes the file and its record
list_files returns metadata only; read the content through filePath
with normal file tools.
Pass ownerAgentId to list what your parent or one of your direct children has
shared instead — same shape, read-only, and the filePath points into their
directory. A child's posts already land in the parent's stream, so a child that
has posted its screenshots does not need to message you the paths, and you do
not need to re-post them for the user. Links go the other way the same way: a
dev-stack URL or PR you posted is in the stream the child shares, so it can read
it there rather than being told.
Use caption on each image attachment for its visible label. Post text remains
normal Markdown message content, even when it carries attachments. Captions belong
to each occurrence: reattaching the same file can supply a different caption.
description is file registry metadata set on upload, not an image caption. Say what
the artifact shows, not what it is:
.md
file and attach it; keep the reply to the approach and the decisions you need.
A file opens in its own viewer, stays findable after the stream moves on, and
can be revised in place with update as the plan changes, where a long
message scrolls away and a second version becomes a second wall of text.
The revised block stays where it was first posted, so say in your reply
what changed.Keep the prose summary in your reply and put the bulk in the artifact. The reply says what happened; the file is the evidence.
Use attachments: [{ type: "pr", url, title }] for a pull request and
attachments: [{ type: "preview", url, title }] for a runnable preview. Preview
requires a useful nonblank title and a safe HTTP(S) URL or app path. These show
distinct PR/Preview icons with accessible type-and-title names in the stream
and Inbox, without visible type labels. Generic link
cards stay in the stream; they do not enter the Inbox, except legacy PR-shaped
URLs (/pull/<number> or /merge_requests/<number>). Never infer preview type
from a domain, port or LAN address. Update attachments replaces the entire list.
For Dispatch repository dev stacks, share only the web LAN URL with the user as the preview resource. API and database addresses remain internal validation details. Attach cleanup commands separately as code. This repository preference does not restrict preview resources in other projects.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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