agentsclimarketplace

Visual proof

Skill ysamlan/agent-log-gif/.claude/skills/visual-proof

Document visual output with GIF/image captures and proof-of-work reports. Use after making changes to the rendering pipeline (theme, renderer, animator, spinner) to show what the output looks like. Produces a showboat markdown document with embedded GIF frames and test results. Trigger when making visual changes, when the user asks to "show what it looks like" or "show me the output", or when completing work that changes GIF/video appearance.From its SKILL.md

Install
npx -y skills add ysamlan/agent-log-gif --skill visual-proof

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.7 KB, as published. Nobody here has run it

Visual Proof

Capture and document visual output from agent-log-gif with showboat proof-of-work reports.

Prerequisites

  • showboat CLI available (uvx showboat --version to check)
  • Project tests passing (just test)

How It Works

Generate GIFs from sample sessions, extract representative frames, and assemble a showboat document that proves the output looks correct. Showboat documents are verifiable — uvx showboat verify can re-run the embedded commands to confirm outputs still match.

Standard Proof Workflow

1. Initialize the document

uvx showboat init /workspace/tmp/visual-proof.md "Visual proof: <description of change>"

2. Generate sample output

Run the tool on test fixtures and/or real sessions to produce GIFs:

uvx showboat exec /workspace/tmp/visual-proof.md bash \
  'cd /workspace && uv run agent-log-gif json tests/sample_session.jsonl -o /workspace/tmp/proof-sample.gif --turns 2 2>&1'

For Codex sessions:

uvx showboat exec /workspace/tmp/visual-proof.md bash \
  'cd /workspace && uv run agent-log-gif json tests/sample_codex_session.jsonl -o /workspace/tmp/proof-codex.gif 2>&1'

3. Embed the GIF directly

Showboat's image command works with GIFs — embed the animated output directly so reviewers see the full animation in the markdown:

uvx showboat image /workspace/tmp/visual-proof.md '![Sample session animation](/workspace/tmp/proof-sample.gif)'
uvx showboat note /workspace/tmp/visual-proof.md "2-turn Claude Code session with typing animation and spinner."

For static frame extraction (e.g., before/after comparisons where animation isn't needed), use ffmpeg:

ffmpeg -i /workspace/tmp/proof-sample.gif -vf "select=eq(n\,30)" -frames:v 1 \
  -update 1 /workspace/tmp/proof-frame.png -y 2>/dev/null

4. Add test results as executable proof

uvx showboat exec /workspace/tmp/visual-proof.md bash \
  'cd /workspace && uv run pytest tests/ -q --tb=no 2>&1 | tail -5'

5. Add notes about what changed

uvx showboat note /workspace/tmp/visual-proof.md "Changed the spinner colors to cycle through rainbow palette..."

Before/After Comparison

For changes that affect visual output (theme colors, font size, spacing, title bar):

  1. Generate a GIF on the current branch first, save the frame
  2. Make changes
  3. Generate a new GIF, save the frame
  4. Build a showboat doc with both:
uvx showboat init /workspace/tmp/comparison.md "Before/after: <description>"
uvx showboat image /workspace/tmp/comparison.md '![Before](/workspace/tmp/before-frame.png)'
uvx showboat note /workspace/tmp/comparison.md "Before — <describe>"
uvx showboat image /workspace/tmp/comparison.md '![After](/workspace/tmp/after-frame.png)'
uvx showboat note /workspace/tmp/comparison.md "After — <what changed>"

File Size Proof

Document GIF optimization impact:

uvx showboat exec /workspace/tmp/visual-proof.md bash \
  'cd /workspace && uv run agent-log-gif json tests/sample_session.jsonl -o /workspace/tmp/proof.gif 2>&1 | grep -E "gifsicle|Done"'

Important: Never Edit the Showboat File Directly

Always use uvx showboat CLI commands (init, note, exec, image, pop) to build documents. Never write to or edit the .md file directly — showboat documents are trustworthy because every entry was produced by the CLI. If you make a mistake, use uvx showboat pop <file> to remove the last entry and redo it.

Output Location

Store all proof artifacts in /workspace/tmp/:

  • GIFs: tmp/proof-sample.gif, tmp/proof-codex.gif
  • Frames: tmp/proof-frame.png, tmp/before-frame.png, tmp/after-frame.png
  • Reports: tmp/visual-proof.md, tmp/comparison.md

These are gitignored — they're proof-of-work artifacts, not source files.

When to Use

SituationWhat to capture
Changed theme colors or fontBefore/after frame comparison
Changed animator (typing speed, spinner)GIF from sample session + note about timing
Changed renderer (title bar, viewport)Frame showing the chrome
Changed GIF backend (compression, palette)File size comparison
New format support (MP4, AVIF)Exec showing the format works
Completing any visual taskAppropriate proof from above

Keep looking

Skills are one crate of 610,677. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.