demo-video

Solid

Generate demo assets (GIF/MP4) from real tmux E2E runs and viewer screenshots using asciinema and Playwright

Code & Development 1,021 stars 109 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Skill: Demo Video Generation Generate demo assets from a real tmux E2E run and viewer screenshots. ## Proven Workflow ### 1) Record terminal session in tmux with asciinema ```bash tmux new-session -d -s demo -x 160 -y 46 tmux send-keys -t demo "asciinema rec /tmp/claude-tap-recordings/demo.cast" Enter tmux send-keys -t demo "cd /path/to/claude-tap && scripts/run_real_e2e_tmux.sh" Enter # ... wait until run finishes ... tmux send-keys -t demo "exit" Enter ``` Notes: - `Enter` is the submit key for Claude Code TUI in tmux. - Use tool-triggering first prompt text so trace includes `tool_use`. ### 2) Convert `.cast` to GIF with `agg` ```bash agg /tmp/claude-tap-recordings/demo.cast /tmp/claude-tap-recordings/demo.gif ``` ### 3) Convert GIF to MP4 with ffmpeg ```bash ffmpeg -y -i /tmp/claude-tap-recordings/demo.gif -movflags +faststart -pix_fmt yuv420p .agents/recordings/demo.mp4 ``` ## Browser Screenshots (HTML Viewer) Use Playwright CDP to attach to a running Chrome/Chromium instance on port `9222`. ```python browser = playwright.chromium.connect_over_cdp("http://127.0.0.1:9222") page = browser.contexts[0].pages[0] ``` ### Reliable UI interactions - Click entries by visible text content, for example: ```python page.query_selector('text="轮次 22"').click() ``` - Open diff view by clicking button text: ```python page.query_selector('text="对比上次"').click() ``` - For SPA/overflow layouts, scroll actual scrollable containers (not `window`): ```python page.evaluate(...

Details

Author
liaohch3
Repository
liaohch3/claude-tap
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

demo-video

Generate polished demo videos from a single prompt. Use when the user asks to create a demo video, product walkthrough, feature showcase, or animated presentation. Trigger with "make a demo video", "create a product video", "demo walkthrough", or "feature showcase video".

2,266 Updated today
jeremylongshore
AI & Automation Solid

demo-video

Use when the user asks to create a demo video, product walkthrough, feature showcase, animated presentation, marketing video, or GIF from screenshots or scene descriptions. Orchestrates playwright, ffmpeg, and edge-tts MCPs to produce polished video content.

16,642 Updated yesterday
alirezarezvani
AI & Automation Solid

demo-producer

Universal demo video creator for skills, agents, plugins, tutorials, CLI commands, and code walkthroughs. Generates scripts, storyboards, VHS terminal recordings, and Remotion video compositions with task-tracked production phases. Use when producing video showcases, marketing content, or terminal recordings.

179 Updated today
yonatangross
AI & Automation Solid

ui-demo

Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

199,464 Updated today
affaan-m
Web & Frontend Listed

capturing-readme-walkthroughs

Use when the user asks to regenerate the README's comprehensive tour video, add a new feature flow to that tour, refresh it after a UI change, or otherwise work with the Playwright capture pipeline. Produces one animated WebP (~1-2 MB) that inline-renders on GitHub README + a WebM source file. Covers when to regenerate (which UI changes drift the capture), how to add a new feature flow section, and the pacing pattern that makes the video read well. Skip for general Playwright work (smoke tests, visual regression, e2e flows) — those live under e2e/ separately.

7 Updated today
vsriram11