show-your-work
Reviewed
at commit db130ad
Caution: Checks GitHub daily and installs new versions of itself through the Claude CLI without asking, so unreviewed updates run from the next session.
Sends data to PostHog (us.i.posthog.com), anonymous usage counts only, on by default, can be turned off in /show-your-work
Claude shows its finished work right in the chat: screenshots, videos of it clicking through your app, and synced before/after QA
0 upvotes
Log in to upvote or save- Made by
- Umer Ansari
- Pinned commit
-
db130ada9d02dfaf45e6cad5b01ad5cd7d936266 - What we checked
-
Lets Claude show screenshots, recordings, HTML pages, audio and PDF or Markdown documents inline in the terminal, with before/after compare and a QA report, and adds a note to your prompts telling Claude to use it. It copies each shown file into your project's .show-your-work folder, uses ffmpeg, Chrome or Edge and poppler, sends anonymous usage counts to PostHog and updates itself from GitHub daily; both can be switched off.
Review details
Static review of the source at the pinned commit; not run. Whole plugin reviewed again (the diff since 71e5460 is too large for a delta review); every hunk of the source modules' diff was read. hooks.json loads only hooks/bundle.tsx, generated by tools/bundle.mjs from the modules in hooks/; a line-by-line comparison showed the bundle holds exactly the modules' lines apart from merged imports, so the modules were reviewed. Read in full: state, setup, register, telemetry, updater, tmux, history, document, sound and the changed parts of media, player and layout; diagnostics, onboarding, tour and the unchanged rendering code were covered by the previous review and searched again for every process, file, network, env and store call. It registers session.start, session.compact, session.end, prompt.submit, command.run (/img, /page, /audio, /doc, /show-your-work), tool.call for its own show_image, show_video, show_html, show_audio and show_document tools (registered with $.tool.register) and ui.render for ToolUse, ToolResult, CommandOutput and its panes. prompt.submit adds a short hint to the prompt context once per session (again after a compaction or change) and reads pasted image file names; it does not change the prompt text. Shown files must have an image, video, MP3/WAV, HTML, PDF, Markdown or Mermaid extension; each (an HTML page as its screenshot) is copied with cp into <project>/.show-your-work (self-gitignored, symlink and owner checks; 7 days, newest 50 per project, 500 MB across projects). Programs: ffmpeg/ffprobe (sips on macOS) cut frames and waveform clips into a private temp folder capped at 500 MB and cleaned after a week; ffplay plays sound only after Play, not over ssh or in background sessions; osascript reads the screen scale and audio output latency on macOS; headless Chrome or Chromium (or a Playwright build it finds, and on Windows Chrome or Edge) screenshots HTML files and prints Markdown/Mermaid to PDF with a throwaway profile in the temp folder, and the page's own scripts and any remote resources it references run as in a browser (the tool description says so); Markdown is escaped, only http(s) links are kept, diagrams render with the vendored Mermaid 11.12.2 (assets/vendor/mermaid.min.js, minified third-party build, not compared with upstream; searched: no XMLHttpRequest, WebSocket, eval or new Function, its fetch() calls are KaTeX's token parser) at securityLevel strict; poppler's pdfinfo/pdftoppm rasterize PDF pages; sh scripts for the temp folder, cell size and cache trims; a login shell (sh -lc, 5 s limit) to locate tools; mdfind for a pasted image; open/xdg-open (rundll32 url.dll,FileProtocolHandler on Windows), a Chrome --app viewer on Linux and cp to ~/Downloads only on button presses. Inside tmux it sets CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1 in the tmux server's global environment, turns on allow-passthrough for its own pane and pipes that pane through a perl forwarder written to its temp folder (stopped at session end). At session start it removes from ~/.zshrc, ~/.bash_profile/.bashrc or fish config only lines carrying its old 0.6.7-0.6.9 marker; in Rex or the Herdr app a Turn on pictures button, when pressed, appends one marked line to that shell profile that exports CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1 only in that terminal (disclosed on the button and in the README). New in 1.2.0: Windows support through Git for Windows (reads OS and CLAUDE_CODE_GIT_BASH_PATH, runs where git once, then runs its sh, cp, rm, mkdir and similar Unix tools from Git's usr/bin and converts paths with cygpath); Markdown documents now show images (data:image URIs, files beside the document, or http(s) addresses, which the headless browser fetches from the host the document names while printing) and use a bundled Nunito font (assets/vendor, OFL); the Markdown size limit rose from 1 MiB to 32 MiB; new opt-in variables SHOW_YOUR_WORK_CELL, SHOW_YOUR_WORK_PLACEHOLDERS and SHOW_YOUR_WORK_SEND_BYTES only change drawing; Herdr app playback tweaks. Network: PostHog batch events (event names, counts, plugin and Claude Code version, terminal, OS now including windows, ffmpeg present, random install id; no paths or text; $ip null, geoip off) unless turned off in settings or by SHOW_YOUR_WORK_TELEMETRY=0, DO_NOT_TRACK or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, only from an installed copy and only after the first-run welcome; and a daily fetch of plugin.json from raw.githubusercontent.com. When newer, it runs claude plugin marketplace update and claude plugin update without asking; an install on the main branch is moved to the releases or latest branch by a detached perl/setsid process that removes and re-adds the marketplace and reinstalls the plugin. Off with SHOW_YOUR_WORK_AUTO_UPDATE=0 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC; pinned tags and folder installs are left alone. An opt-in debug log (SHOW_YOUR_WORK_DEBUG=1) goes to the temp folder. Does not call the model. tools/bundle.mjs is a build script and tools/*.py are test helpers; none are loaded. npm-like imports (AppKit, AVFoundation) are osascript strings, not dependencies.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/show-your-work/)