/wipe:wipe [snap|show|clip] [route…] [note]from Wipe
Captures UI versions across iterative design passes, enables side-by-side comparison on a slider page, and renders before/after GIFs or MP4 clips. Works for web pages and native app screenshots.
Ships in Wipe. 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.
Keep every UI pass as a version, compare any two on a slider page, and render a before/after clip from the same captures.
[snap|show|clip] [route…] [note]
All optional. snap saves the current UI as the next version with the note. show opens the compare page for the latest two versions. clip renders an MP4 and a GIF that wipe through the versions. With no verb, a run that has no versions yet gets a baseline snap; otherwise it is show. Routes such as /pricing name the pages to capture.
before before the first edit. If edits already happened with no v0, the current state is not "before". Rebuild the pre-edit code instead: base HEAD when the edits are uncommitted, or the commit before the work (base main, base HEAD~1) when they are committed. Run wipe.py from the project's own folder, never from inside the base worktree, or the capture lands in a different run. Install and start that copy on a free port, started the same way the project's server runs (dev or build) when a receipt is wanted, snap it as v0 with --url pointing at it, stop that server, then snap the current state as v1 with --url back on the project's server.--url, so repeat none of them. Keep data, sign-in state, and scroll position the same too; Wipe cannot check those. If snap prints a warning:, tell the user the comparison is uneven and why, then fix it, usually by snapping again with matching settings. To leave an uneven version out of a clip, pass clip --versions.--image: xcrun simctl io booted screenshot <temp>/s.png for the iOS Simulator, adb exec-out screencap -p > <temp>/s.png for an Android emulator, or your own simulator tool. Use the same device and orientation every pass.clean once a base worktree is no longer needed. .wipe/ is kept out of git through .git/info/exclude: never stage or commit it, and never edit .gitignore for it.Run python3 <skill>/scripts/wipe.py <command> from inside the project, with <skill> resolved from this file's folder. Every command except list takes --run <name>; the default run is the current branch, or default outside git.
| Command | Does |
|---|---|
snap [routes] --note "<note>" --url <base> | Captures <base> plus each route as the next version (a route without a leading / gets one). With no routes, later snaps reuse the run's routes against <base>; only a run with no routes captures <base> as given, which suits a file:// page |
snap [routes] --note "<note>" --image <png> | Saves PNG screenshots you already took (convert others first, for example sips -s format png in.jpg --out out.png on macOS), one --image per route in order. With no route and none saved in the run, it is saved as route / |
show [A B] [--route R] [--no-open] | Writes .wipe/<run>/index.html comparing A and B (default: the latest two), opens it, and prints its path. Modes: wipe, side by side, onion skin, diff |
clip [--versions 0,2,3] [--routes /,/pricing] | Writes clip.mp4 and clip.gif to .wipe/<run>/ or --out. Also --receipt, --outro "<text>", --open-moving, --scroll, --no-loop, --ground <hex>, --gif-width <px> |
embed A B [--route R] [--out <dir>] | Writes a standalone before/after snippet for docs or a portfolio |
base <ref> | Checks <ref> out in a temporary worktree and prints its path; rerunning it moves a reused worktree to the ref's current commit |
clean [--all] | Removes the run's worktrees; --all also deletes its .wipe/ folder |
list | Shows every run, its versions and notes |
More snap flags: --viewport 1280x800 (the default), --theme light|dark|both, --full and --measure (both need Playwright), --production (with --measure, only when the user says the URL is a production build), --method auto|playwright|chrome.
Exit codes: 0 done, 1 runtime error (read stderr), 2 bad command (fix it and rerun), 3 missing optional dependency. On 3, tell the user what was not made and why, pass on the install line from the error, and offer to run the install line. Never install anything globally without asking.
snap: the version label, its note, the capture method from the output, and every warning: in plain words.show or embed: the path. If nothing opened, open it in your browser or give the path.clip: both files with their sizes, and any note: about the receipt.--full needs Playwright; without it Wipe captures the viewport and warns, and you say so.--measure needs Playwright and a --url (not --image), and measures only the first route.note:.production build only when both versions were snapped with --production.--no-loop ends on the last version.clip without ffmpeg builds the compare page instead and exits 3; without Pillow it exits 3.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub blakecyze/skills --plugin wipe