/proofcast:proofcastfrom proofcast
Use when the user says 'prove it' about code or command behavior, asks to record or capture terminal output, or says 'turn on the bodycam'. Records the actual commands and output as a replayable asciicast.
Ships in proofcast. 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.
Read when SKILL.md points to them; scripts run unread.
Treat "prove it" about code or command behavior as a request to record terminal evidence with this skill, even when the user does not mention recording. Also use it for requests for "proof", a "recording", "capture", or "video" of terminal output. Record the commands that demonstrate the claim:
.proofcast in the current directory, created if
missing. Only ask the user for a location when they want them somewhere
else, then pass it with --root.$ line and captures its actual output.
<slug>.bash -c '<pipeline>'; its $ line shows the whole pipeline.$ line is a real command and the output stays readable. This is the
default for existing project scripts and for scripts you would write for
the recording.#!/path/to/bash -e,
record /path/to/bash -ex ./script.sh [args...]: -x adds tracing and -e
still stops on failure. bash -v only lists source. Keep that trace's
stderr visible, and trace nested scripts too: bash -x does not trace a
child interpreter. A wrapper's echo output cannot replace execution traces.echo, printf, or cat of text you prepared.
When the real commands cannot run or cannot be made visible, tell the user
the limitation instead of recording a substitute.--.
These descriptions explain the evidence; the output is what supports the claim.scripts/proofcast.sh --name <slug> --assertion '<claim>' --justification '<reason>' -- <command> [args...]
using the absolute path to the directory containing this SKILL.md. In Claude
Code, that is "${CLAUDE_SKILL_DIR}/scripts/proofcast.sh". Choose a short
lowercase-hyphenated <slug> for what is being proven..proofcast unless
--root changed it) as an absolute path and the index as a clickable link,
then say exactly I stopped the recording. Report the exit status of any
command that failed.index.html
using its absolute path with an available browser tool or the platform's
opener (open on macOS, xdg-open on Linux). If opening is unavailable,
explain that and leave the clickable link so the user can open it themselves.Each run adds a timestamped set under a per-slug directory and rebuilds the index covering every recording in the root:
<root>/index.html # <root> is .proofcast unless --root says otherwise
<root>/<slug>/<timestamp>.cast
<root>/<slug>/<timestamp>.stdout.log
<root>/<slug>/<timestamp>.meta.json # encoded context, invocation, exit status
<root>/<slug>/<timestamp>.gif # only when agg is installed
Reuse the same <slug> to collect repeat runs and the steps of one flow
together.
Pass context for every step; explain what that command checks rather than
claiming that each step proves the entire flow.
index.html opens straight from disk, lists every recording newest first, and
replays the selected one with real text you can pause, scrub, and copy from.
Rebuild it without recording by running
the bundled scripts/proofcast-index.sh <root> using the same skill directory.
The page comes from
resources/index.html, a plain HTML file that opens on its own with an empty
list; the index script swaps its <script id="data"> element for the real
recordings and inlines the player from resources/vendor/. Edit that file to
change how the index looks. The generated page carries the player with it, so
it replays with no network.
A .proofcast directory inside a repository holds verbatim terminal output.
Add it to .gitignore unless the recordings are meant to be committed.
Share the index for review. Share the gif where a player cannot go, such as a pull request comment or a chat message.
Keep the handoff brief. Recordings are temporary review material, not an archive; leave them in place until the user chooses to remove them. The page offers Save to download the selected recording, context, and text log as one offline HTML file. The browser chooses the download location; GIF remains a separate optional file. Rewind and speed controls operate the terminal recording, not the GIF. When export must precede cleanup, confirm the exported file was saved before deleting the original; starting a download is not confirmation.
Nuke proof asks for confirmation and folder access in supported browsers. It removes only files listed by this index, not unrelated files, source code, exported copies, or infrastructure created by the recorded command. Browsers without folder access show exact cleanup commands for the agent or human to run. Treat those as instructions, not completed deletion. If asked to clean up, inspect the resolved paths and remove only the confirmed recording files; stop if the folder or index changed. Report partial failures explicitly.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub killallgit/killall-proof --plugin proofcast