cli-demo-gif
This skill should be used when the user asks to "record a terminal demo", "generate a CLI demo GIF", "make a vhs recording", "create a terminal GIF for the README", or "capture a CLI walkthrough as a GIF". Generates CLI demo GIFs using vhs (Charmbracelet) for README files and documentation.
How do I install this agent skill?
npx skills add https://github.com/b-open-io/prompts --skill cli-demo-gifIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides instructions and examples for using the 'vhs' tool to create terminal demo GIFs. It includes standard installation steps and usage patterns for recording command-line interactions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2 files scanned · No issues
What does this agent skill do?
CLI Demo GIF Generator
Generate terminal demo GIFs using vhs. When asked to create a CLI demo GIF, produce a .tape file and render it.
Steps
1. Create tape file
Place tape files in docs/demo/ to keep the project root clean:
mkdir -p docs/demo
Write the tape file with appropriate settings for the project's CLI:
Output docs/demo/demo.gif
Set Shell "bash"
Set FontSize 16
Set Width 900
Set Height 500
Set Padding 20
Set Theme "Catppuccin Mocha"
Set TypingSpeed 50ms
Type "command --help"
Enter
Sleep 2s
2. For unpublished CLI packages
Use Hide/Show to configure aliases before the visible demo starts:
Hide
Type "alias mycli='bun run src/cli/index.ts'"
Enter
Sleep 500ms
Show
Type "mycli --help"
Enter
Sleep 2s
3. Render the GIF
vhs docs/demo/cli.tape
Tape Command Reference
| Command | Description |
|---|---|
Output <path> | Output file path (.gif, .mp4, .webm) |
Set Shell "bash" | Shell to use |
Set FontSize <n> | Font size |
Set Width <n> | Terminal width in pixels |
Set Height <n> | Terminal height in pixels |
Set Padding <n> | Padding around terminal |
Set Theme "<name>" | Color theme |
Set TypingSpeed <duration> | Delay between keystrokes |
Type "<text>" | Type text |
Enter | Press enter |
Sleep <duration> | Wait (e.g., 2s, 500ms) |
Hide | Stop recording |
Show | Resume recording |
Ctrl+C | Send interrupt |
Default Settings
Use these defaults unless the user specifies otherwise:
- Theme:
Catppuccin Mocha - TypingSpeed:
50ms - Width:
900, Height:500 - FontSize:
16 - Output directory:
docs/demo/
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/b-open-io/prompts/cli-demo-gif">View cli-demo-gif on skillZs</a>