cli-demo-gif

Generate CLI demo GIFs using vhs (Charmbracelet). Use when creating terminal recordings for README files or documentation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cli-demo-gif" with this command: npx skills add b-open-io/prompts/b-open-io-prompts-cli-demo-gif

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

CommandDescription
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
EnterPress enter
Sleep <duration>Wait (e.g., 2s, 500ms)
HideStop recording
ShowResume recording
Ctrl+CSend 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/

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-stars

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

devops-scripts

No summary provided by upstream source.

Repository SourceNeeds Review
Research

x-research

No summary provided by upstream source.

Repository SourceNeeds Review
General

geo-optimizer

No summary provided by upstream source.

Repository SourceNeeds Review