Skip to content
daymade avatar

Cli Demo Generator

Animated terminal demo GIFs from commands, tape files, and self-cleaning setup for README and docs.

CCM score
75 of 100
skills.sh installs
1K
GitHub stars
1.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers four approaches: automated generation, batch YAML configs, interactive recording, and hand-written tape files
  • Includes auto_generate_demo.py with --bootstrap, --filter, and --speed flags, plus batch_generate.py and record_interactive.sh
  • Enforces base64 encoding for commands with $, quotes, or backticks, since VHS Type strings reject them
  • Designed for documentation authors who need repeatable terminal recordings that hide setup and filter noisy output

Install

$ npx -y skills add daymade/claude-code-skills --skill cli-demo-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CLI Demo Generator

Create professional animated CLI demos. Four approaches, from fully automated to pixel-precise manual control.

Quick Start

Simplest path — give commands, get GIF:

python3 ${CLAUDE_SKILL_DIR}/scripts/auto_generate_demo.py \
  -c "npm install my-package" \
  -c "npm run build" \
  -o demo.gif

Self-bootstrapping demo — for repeatable recordings that clean their own state:

python3 ${CLAUDE_SKILL_DIR}/scripts/auto_generate_demo.py \
  -c "npm install my-package" \
  -c "npm run build" \
  -o demo.gif \
  --bootstrap "npm uninstall my-package 2>/dev/null" \
  --speed 2

Critical: VHS Parser Limitations

VHS Type strings cannot contain $, \", or backticks. These cause parse errors:

# FAILS — VHS parser rejects special chars
Type "echo \"hello $USER\""
Type "claude() { command claude \"$@\"; }"

Workaround: base64 encode the command, decode at runtime:

# 1. Encode your complex command
echo 'claude() { command claude "$@" 2>&1 | grep -v "noise"; }' | base64
# Output: Y2xhdWRlKCkgey4uLn0K

Details

Repository
github.com/daymade/claude-code-skills
Categories
Technical Documentation, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the cli-demo-generator skill do?

The cli-demo-generator skill creates animated CLI demos as GIFs using VHS terminal recordings. It can build tape files, run self-bootstrapping demos with hidden setup, filter noisy output, speed up recordings, and verify frames.

How do I install the cli-demo-generator skill?

Run npx -y skills add daymade/claude-code-skills --skill cli-demo-generator -y in your project. This lets the agent generate GIF demos of command-line tools for README files and documentation.

What does cli-demo-generator need to run?

It requires VHS, installed with brew install charmbracelet/tap/vhs. Optional tools include gifsicle for speed-up, asciinema for interactive recording, ffmpeg for frame verification, and PyYAML for batch YAML configs.

Where does cli-demo-generator stand in Technical Documentation?

It is in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It sets itself apart by turning shell commands into animated GIFs with VHS.

More from daymade/claude-code-skills

All 50

Similar to Cli Demo Generator

More Technical Documentation