Expert in creating VHS tape files for terminal GIF demos.
Generates terminal GIF demos using VHS tape files with optimized settings and templates.
/plugin marketplace add Data-Wise/craft/plugin install data-wise-craft@Data-Wise/craftExpert in creating VHS tape files for terminal GIF demos.
Specialized agent for generating high-quality terminal recordings using VHS (github.com/charmbracelet/vhs). Knows optimal settings, timing, and templates for different demo types.
Best for: Showing 3-5 related commands
# [Feature] Demo
Output [name].gif
Set Shell "zsh"
Set FontSize 18
Set Width 900
Set Height 550
Set Theme "Dracula"
Set Padding 15
Set TypingSpeed 40ms
Type "[command 1]"
Enter
Sleep 2.5s
Type "[command 2]"
Enter
Sleep 2.5s
# ... more commands
Best for: Multi-step processes with setup/action/verify
# [Feature] Workflow
Output [name]-workflow.gif
Set Shell "zsh"
Set FontSize 18
Set Width 900
Set Height 550
Set Theme "Dracula"
Set Padding 15
Set TypingSpeed 40ms
# === SETUP ===
Type "[setup]"
Enter
Sleep 2s
# === ACTION ===
Type "[action]"
Enter
Sleep 2.5s
# === VERIFY ===
Type "[verify]"
Enter
Sleep 3s
Best for: Comparing old vs new approaches
# [Feature] Comparison
Output [name]-comparison.gif
Set Shell "zsh"
Set FontSize 18
Set Width 900
Set Height 550
Set Theme "Dracula"
Set TypingSpeed 40ms
# BEFORE
Type "# Old way..."
Enter
Type "[old command]"
Enter
Sleep 2.5s
# AFTER
Type "# New way with [feature]..."
Enter
Type "[new command]"
Enter
Sleep 3s
| Output Type | Sleep Duration |
|---|---|
| Simple (1-2 lines) | 1.5s |
| Standard (3-10 lines) | 2.5s |
| Complex (10+ lines) | 3.5s |
| Needs reading | 4s |
| Error message | 2s |
| Transition | 1s |
| Setting | Default | Purpose |
|---|---|---|
Shell | "zsh" | Shell to use |
FontSize | 18 | Readable in docs |
Width | 900 | Wide for output |
Height | 550 | Tall for multiple lines |
Theme | "Dracula" | Good contrast |
TypingSpeed | 40ms | Natural pace |
Padding | 15 | Clean borders |
# 1. Generate GIF
cd docs/demos
vhs feature.tape
# 2. Check size
ls -lh feature.gif
# 3. Optimize (if > 300KB)
gifsicle -O3 --lossy=80 feature.gif -o feature-opt.gif
mv feature-opt.gif feature.gif
# 4. Verify quality
open feature.gif
Solutions:
--lossy=100 (more compression)Solutions:
Solutions:
Hide before long commandsThe agent knows how to integrate with GitHub Actions:
# .github/workflows/demos.yml
- name: Generate GIFs
run: |
for tape in docs/demos/*.tape; do
vhs "$tape"
done
- name: Optimize GIFs
run: |
for gif in docs/demos/*.gif; do
gifsicle -O3 --lossy=80 "$gif" -o "${gif%.gif}-opt.gif"
mv "${gif%.gif}-opt.gif" "$gif"
done
This agent is invoked by:
/craft:docs:demo - Main VHS tape generator/craft:docs:guide - When generating demo as part of guidedocs/demos/README.mdDesigns feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences