cli-demo-generator

cli-demo-generator is a skill for Claude Code from daymade/claude-code-skills. It costs 63 tokens per session (1,877 once invoked), scanned A, original, MIT.

A tool for creating animated terminal demonstrations as GIFs from VHS terminal recordings, including command setup, recording, filtering, speed changes, and frame checks.

In plain words
What is it for?
Use it to record installation, build, or other command-line workflows as GIF demos, including demos that need automatic setup or playback-speed changes.
Why use it?
It turns command-line workflows into repeatable demos and handles setup and terminal-output cleanup. It also documents workarounds for VHS syntax limits with special characters.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Good fit Use it to record installation, build, or other command-line workflows as GIF demos, including demos that need automatic setup or playback-speed changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/cli-demo-generator
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add daymade/claude-code-skills --skill cli-demo-generator
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin cli-demo-generator — /plugin install cli-demo-generator after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-demo-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/cli-demo-generator/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/cli-demo-generator)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/cli-demo-generator"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/cli-demo-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-demo-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/cli-demo-generator"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/cli-demo-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 24 Sept 2026
  • Snyk pass 24 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01877
Opus 5.5 $0.00025 $0.00751
Sonnet 5.5 $0.00013 $0.00375
Haiku 4.5 $0.00006 $0.00188

Measured 2mo ago against content hash 689e1d6f6210, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-demo-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/auto_generate_demo.py, scripts/batch_generate.py, scripts/record_interactive.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cli-demo-generator/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

# 2. Use in tape
Type "echo Y2xhdWRlKCkgey4uLn0K | base64 -d > /tmp/wrapper.sh && source /tmp/wrapper.sh"

This pattern is essential for output filtering, function definitions, and any command with shell special characters.

Approaches

1. Automated Generation (Recommended)

python3 ${CLAUDE_SKILL_DIR}/scripts/auto_generate_demo.py \
  -c "command1" -c "command2" \
  -o output.gif \
  --title "My Demo" \
  --theme "Catppuccin Latte" \
  --font-size 24 \
  --width 1400 --height 600
Flag Default Description
-c required Command to include (repeatable)
-o required Output GIF path
--title none Title shown at start
--theme Dracula VHS theme name
--font-size 16 Font size in pt
--width 1400 Terminal width px
--height 700 Terminal height px
--bootstrap none Hidden setup command (repeatable)
--filter none Regex pattern to filter from output
--speed 1 Playback speed multiplier (uses gifsicle)
--no-execute false Generate .tape only

Read the full file on GitHub · 245 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +4 lines · -51 tokens per session 689e1d6f6210
  2. 2mo ago Changed · +7 lines 39e70dd6d4ee
  3. 3mo ago First seen · 234 lines · 114 tokens per session scan A b699d8ecc698

Subscribe to this mod's changes

cli-demo-generator is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 1,877 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cli-demo-generator compared with skills from other repositories

cli-demo-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-demo-generatordaymade/claude-code-skillsSkill1.6ktodayMITA63Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex