📸 cliproof
Your README should show it works — not just say it.
Capture any real command and its real output — tests, builds, servers,
scripts, pipelines — as a polished screenshot or GIF, redact any secrets,
and embed it into your README.md as honest, durable evidence it works.
Then let CI fail the moment that evidence goes stale.

☝️ A real cliproof capture — generated by this repo's own skill, of its own preflight command.
Why cliproof
A README that says "it works" convinces no one. A screenshot of the command
actually running — version banner, passing tests, real output — convinces
everyone in two seconds. cliproof makes that screenshot honest, repeatable,
and durable: it runs the real command, captures the genuine output, strips
any secrets, embeds it in your README, and can re-check in CI that the command
still produces the same result.
It works as a Claude Code Agent Skill, an installable plugin, and an
agent-agnostic npm CLI (npm i -g cliproof) for Cursor, Codex, OpenCode,
Gemini CLI, Windsurf, or any agent that runs shell commands.
How is this different?
Most "agent eyes" tools verify browser/UI sessions. cliproof verifies the
terminal — the build, the test run, the CLI itself — and turns it into
durable README proof.
| screenshot/GIF tools | browser-proof tools | cliproof |
|---|
| Real command + real output | ✅ | ➖ (browser) | ✅ |
| Static screenshot (themed window) | some | ❌ | ✅ |
| Animated GIF | ✅ | ✅ | ✅ |
| Enforced secret redaction | ❌ | ❌ | ✅ |
| Destructive-command guard | ❌ | ❌ | ✅ |
| Idempotent README embed | ❌ | ❌ | ✅ |
| CI freshness check (fails when proof drifts) | ❌ | ❌ | ✅ |
| Pass/fail verify (10+ langs) | ❌ | ✅ | ✅ |
| Proof → PR comment | ❌ | ✅ | ✅ |
| Agent-agnostic install | ❌ | ✅ | ✅ |
| Zero-dependency, no-network core | ❌ | ❌ | ✅ |
cliproof's ✅s are backed by tests — see Testing. (Animated GIF is exercised best-effort in CI since it needs ttyd; the PR-comment post is a gh side-effect, only its body is unit-tested.)
Who it's for
cliproof works for anyone who runs shell commands and wants durable proof:
- Open-source maintainers — show contributors and users the project ships
- Backend & platform engineers — prove builds, servers, and scripts run
- QA & DevOps teams — capture test runs and pipeline output as evidence
- AI agent builders — wire capture → redact → embed as an MCP tool chain
- Anyone writing a README — stop saying it works; show it
Features
- 📸 Static screenshots — macOS/iOS window or Windows-terminal look, one-flag themes (
--preset macos|github-dark|nord|iterm|win11).
- 🎬 Animated GIFs — scripted typing + live output via
vhs.
- 🔒 Enforced secret redaction — masks API keys, tokens, JWTs, private keys; normalises emails/IPs/home paths before anything is committed. Extend with a
.cliproof/redact.json policy (custom patterns + allowlist).
- 🛡️ Command-safety guard — refuses destructive/exfiltration commands (
rm -rf /, curl … | sh, credential reads).
- ♻️ Idempotent README inserts — marker blocks with diff preview + backup.
- 🎯 Determinism + freshness check — normalises volatile output (durations, timestamps, paths) and fails CI when a proof drifts from reality. Reusable GitHub Action included.
- ✅ Verify — run a command and judge pass/fail from exit code + error signatures across 10+ languages; emit a PR-ready report.
- 🧠 Auto-suggest — scans your repo (
package.json/Makefile/--help/quickstart) for the best command to capture.
- 🎞️ Storyboard — stitch a command sequence into one "session" image.
- 💬 PR proof — post the screenshot + verdict as a pull-request comment.
- 🧰 Zero-dependency core — pure Python stdlib, no network, fully auditable.
Install
npm — works in any agent, pipeline, or IDE:
npm install -g cliproof
cliproof install # detects Claude Code, Cursor, Codex, OpenCode, Gemini, Windsurf