/demo:demofrom demo
Records and presents real data crossing system boundaries (HTTP requests, SQL queries, CLI commands, file I/O) using capture tools like Showboat, Rodney, or VHS. Use when asked to demo working software or prove functionality.
Ships in demo. 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 demo shows data, not code or a summary of code: a real request, a real row, a real file, a real command and what it printed. Demo what the user named; with no target, demo the work done so far in this session.
Before designing an interactive demo, read Red Blob Games' Making of: Circle drawing tutorial as the quality benchmark for teaching through interaction.
Show the data crossing the system's boundaries, in the order it crosses them:
Reading code aloud, a table of what changed, a test-passed count, or "the system now correctly…" is not a demo.
Every byte of output comes from a tool that recorded it while the command ran. Never retype, tidy, reconstruct, or predict output. If it was typed, it is prose; evidence comes from a capture tool.
Showboat builds the document, via uvx showboat (or uv tool install showboat):
uvx showboat init demo.md 'One POST, end to end'
uvx showboat note demo.md '## The table starts empty'
uvx showboat exec demo.md bash 'sqlite3 app.db "SELECT count(*) FROM note;"'
uvx showboat image demo.md screenshot.png
exec appends the command and its captured output, prints it, and exits with the command's statusnote carries all prose: framing, what to look for, caveatsimage copies a screenshot or recording into the documentpop removes the most recent entryshowboat verify demo.md re-runs every block and fails if output drifted. Aim for a demo that passes, which requires idempotence: reset state inside a captured step (a first block that empties the table), not off-camera before recording. When a demo cannot be idempotent, run verify anyway and note in the document which blocks drift and why.
Screenshot the rendered page once (Rodney, or open it) and read it as the recipient will. Look for duplicated sections, misordered blocks, and broken fences. Two known traps:
``` shows in the page. Prefer cat file or add an echo over a bare printf.pop removes one entry, not one section. A failed exec usually follows a note; pop both or rebuild, or the heading gets duplicated.Never hand-edit a secret out of captured output. Redact inside the command so the redaction is part of the evidence:
uvx showboat exec demo.md bash 'curl -sS -D- "$URL" | sed -E "s/Bearer [A-Za-z0-9._-]+/Bearer «redacted»/"'
| Showing | Capture with |
|---|---|
| Shell, CLI, SQL, HTTP, file bytes, logs | showboat exec |
| A web page or web app | Rodney — rodney start, open, wait, screenshot — then showboat image |
| A terminal UI, an animation, anything where timing or keystrokes matter | a VHS tape rendered to GIF, then showboat image |
| Charts from data | chartroom, then showboat image |
| Anything only visible on a screen | a screenshot, then showboat image |
Rodney drives one persistent headless Chrome across short commands, so opening, waiting, asserting, and photographing are separate captured steps. Its exists, visible and assert subcommands exit non-zero on failure, which makes them evidence. Without Rodney, any browser-automation MCP that writes a real screenshot file works.
Capture the boundary itself, not a friendly summary of it.
curl -sS -D- -X POST -H 'content-type: application/json' -d @request.json <url>, so headers and status are captured. Capture the request body as its own step..schema, \d+, SHOW CREATE TABLE: what the database stored, not what the migration said.sqlite3 db .dump, git cat-file -p, xxd at the record's offset, an archive listing. Cut steps that only report size, mtime, or page counts.--help when the flags are the point.Use records the system actually holds and exports the user actually has. When only fixture data exists, say so in a note before the output. Never hand-seed a clean happy path and present it as evidence.
Prove the starting point first: the empty table, the missing directory, the zero-row query. Then the command, then the same query again.
For a fix, run the identical input on both sides of it: build the old binary in a worktree at the parent commit, or drive the flag that disables the change. Two screenshots, two dumps, two row sets.
Present one step, stop, and wait. Never deliver a list of steps for sign-off in one go.
AskUserQuestion in Claude Code, a suitable Codex question tool; request_user_input only when the mode permits it). Offer continue, revisit, or stop when the tool supports options.When the demo settles how something looks or feels, build several real variants side by side, and push each to its limit (longest text, fullest screen, widest table).
Close with caveats: what the demo covers and does not, which inputs were pinned, which conditions were not exercised, which blocks fail verify and why.
The user is often on another device, so a local open may land on an empty desk. Resolve <plugin-root> before running plugin scripts: ${CLAUDE_PLUGIN_ROOT} in Claude Code; in Codex, the plugin root containing this skills/demo/SKILL.md.
Check presence rather than assuming:
<plugin-root>/scripts/demo-presence
It reports idle seconds, screen lock, Tailscale state, and active tailnet peers, then exits 0 present, 1 away, 2 can't tell.
Render the document to a page:
<plugin-root>/scripts/demo-render.py demo.md -o demo.html
Deliver by the best option the environment offers, and send the file as well whichever you use:
--fragment, since the artifact host supplies the document skeleton.<plugin-root>/scripts/demo-publish demo-dir/, which copies the document, images, and rendered page into the publish root and prints the URL. DEMO_PUBLISH_DIR sets the root (default ${XDG_DATA_HOME:-$HOME/.local/share}/demos) and DEMO_PUBLISH_URL its base URL. Reuse the machine's existing tailnet gateway rather than standing up a new server. With DEMO_PUBLISH_URL unset it still publishes and says there is no URL.open, only when the presence check says the user is here.Never end a demo with only a local open and a path on this machine.
When the project has a code walkthrough (the code-walkthrough:code-walkthrough skill), the demo can open it as a preface section instead of standing alone. Render the document to an HTML fragment whose styles are scoped to that section, list it in the walkthrough spec's preface, and rebuild. The walkthrough's hosting then delivers both. demo-render.py --fragment sets page-wide :root and body styles, so scope or strip them before embedding.
Run uvx showboat verify demo.md and report the result, including which blocks drift and why.
A demo under .llm/ is scratch. When the demo is evidence for a change (a pull request, a behavior claim, a regression that must stay fixed), copy the document and images somewhere committed next to the code, so showboat verify can run again later.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub motlin/claude-code-plugins --plugin demoOther plugins' skills for the same job