スキル一覧に戻る
b-open-io

cli-demo-gif

by b-open-io

prompts for generating powerful code using open-protocols

6🍴 2📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: cli-demo-gif version: 1.0.0 description: Generate CLI demo GIFs using vhs (Charmbracelet). Use when creating terminal recordings for README files or documentation.

CLI Demo GIF Generator

Create polished terminal demo GIFs using vhs.

Prerequisites

brew install vhs

Usage

1. Create tape file

Place in docs/demo/ to keep root clean:

mkdir -p docs/demo

2. Tape file structure

# Description comment
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

# Commands here
Type "command --help"
Enter
Sleep 2s

3. For unpublished CLI packages

Use Hide/Show to set up aliases silently before the visible demo:

# Set up alias without showing it
Hide
Type "alias mycli='bun run src/cli/index.ts'"
Enter
Sleep 500ms
Show

# Now show the demo with clean commands
Type "mycli --help"
Enter
Sleep 2s

4. Generate GIF

vhs docs/demo/cli.tape

Tape Commands Reference

CommandDescription
Output <path>Output file path (.gif, .mp4, .webm)
Set Shell "bash"Shell to use
Set FontSize <n>Font size (16 recommended)
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
  • Catppuccin Mocha - dark, modern
  • Dracula - dark purple
  • Tokyo Night - dark blue
  • One Dark - dark
  • GitHub Dark - GitHub's dark theme

Tips

  • Keep GIFs under 1MB for fast loading
  • Use Sleep generously so viewers can read output
  • 50ms typing speed looks natural
  • 900x500 works well for most CLIs
  • Show 3-5 commands max per GIF

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です