demo-recording
Skill3 starsChanged 9 months agoMITView on GitHub
Record terminal demo GIFs for README and docs using asciinema + agg. Use when creating or updating demo GIFs for interactive sessions (e.g., Claude Code MCP demos). Triggers on demo GIF creation, mcp-demo recording, or any request to record a terminal session as a GIF.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- weill-labs/amuxtheir own version, first seen Jun 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- weill-labs/amux★ 35same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bubbletea-patternsSkill
- charm-stylingSkill
- clean-code-boundariesSkill
- clean-code-designSkill
- clean-code-errorsSkill
- clean-code-functionsSkill
- clean-code-namingSkill
- clean-code-solidSkill
- clean-code-testingSkill
- cli-structureSkill
- create-runbookSkill
- mutation-testingSkill
- shell-scriptsSkill
- spec-workflowSkill
- tdd-workflowSkill
- tui-layoutSkill
- tui-testingSkill
- wizard-formsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
Run whatever interactive session you want to capture, then exit to stop.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Demo GIF Recording with asciinema + agg
Record interactive terminal sessions as GIFs that match the project's visual style. Use this for demos that can't be scripted with VHS (e.g., Claude Code, interactive AI agents).
Tools
| Tool | Use For |
| VHS | Scripted TUI demos — deterministic flows (tapes/*.tape), make screenshots |
| asciinema + agg | Interactive session recordings — Claude Code, MCP demos, anything with non-deterministic output |
| Playwright + ffmpeg | Web UI demos — browser recordings (make web-demo) |
Prerequisites
brew install asciinema aggRecording Workflow
Step 1: Resize terminal to landscape
printf '\e[8;30;120t'This gives a 120x30 (cols x rows) layout matching the web-demo aspect ratio.
Step 2: Record with clean prompt
asciinema rec -c "PS1='$ ' zsh --no-rcs" <name>.castPS1='$ '— clean dollar-sign prompt, no username/path/git info--no-rcs— prevents zsh from loading profile, keeps prompt clean
Step 3: Perform the demo inside the recording
Run whatever interactive session you want to capture, then exit to stop.
Step 4: Trim dead time (optional)
asciinema cut --start <seconds> --end <seconds> <name>.cast -o <name>-trimmed.castStep 5: Convert to GIF
agg --font-size 28 --cols 120 --rows 30 --theme github-dark <name>.cast assets/<name>.gifSettings Reference
These settings ensure visual consistency across all project demos:
| Setting | Value | Reason |
| Cols | 120 | Wide landscape ratio matching web-demo |
| Rows | 30 | Compact height, avoids wasted vertical space |
| Font size | 28 | Readable when embedded at 900px width in README |
| Theme | github-dark | Matches docs site dark theme |
| Prompt | $ | Clean, no user/path/git decorations |
Adding Demos to README and Docs
README.md pattern
<div align="center">
<em>Description of the demo:</em> <code>command</code>
<br /><br />
<img src="assets/<name>-demo.gif" alt="dops <name> demo" width="900" />
</div>Docs index.md pattern
<div class="demo-section">
<h2>Section Title</h2>
<p>Description. Run with <code>command</code>.</p>
<img src="https://raw.githubusercontent.com/rundops/dops/main/assets/<name>-demo.gif" alt="dops <name> demo" />
</div>Note: Docs uses raw GitHub URLs for GIFs, not relative paths.
Demo order on homepage
- Terminal UI (
demo.gif) - Web UI (
web-demo.gif) - MCP Server (
mcp-demo.gif)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

