vhs-demo
БесплатноЗапускает вложенные скриптыНе проверенUse when creating a terminal GIF, recording a CLI demonstration, authoring a VHS tape, or producing visual before/after evidence for reviewers.
от cli★ 47 389 звёзд на GitHubОб этом скилле
VHS Demo
Produce a short, repeatable GIF that shows real commands and unedited output from caller-selected executables. The GIF is evidence of one observed flow, not proof of general correctness and not a replacement for tests.
Evidence contract
A finished demo must make these claims defensible:
- VHS rendered a saved tape; no fallback recorder or
vhs publishwas used. - Every visible command ran against an identified executable.
- Hidden setup created state but did not create, paste, rewrite, or overlay the output attributed to the product.
- Configuration, credentials, hosts, and data were isolated and synthetic by default.
- The native-resolution animation was inspected, including any transient state.
The caller decides where the artifact is ultimately used. Return local paths and evidence; do not require an upload, PR edit, or repository change.
Workflow
1. Define the claim
Record the intended audience or destination, the behavior to evidence, exact visible commands, required initial state, and any size constraint. Storyboard the visible beats and their approximate duration before writing the tape.
Prefer one coherent claim per GIF. Use a synthetic supporting service or fixture only when the real product cannot safely or deterministically reach the required state; disclose and remove it afterward. The visible command must still run the selected real executable. Never substitute a fake or wrapper that generates product output. Split success and error flows when combining them would obscure either result.
For before/after evidence, identify the controlled variable. Keep the shell, terminal geometry, commands, typing speed, synthetic data, and equivalent application state fixed.
2. Prove the toolchain and executables
Run the platform preflight from the repository root:
.github/skills/vhs-demo/scripts/preflight.sh
& .\.github\skills\vhs-demo\scripts\preflight.ps1
If VHS, ffmpeg, ffprobe, or ttyd is missing or cannot execute, or VHS is older than 0.11.0, name the failure and stop. Do not install tools or substitute asciinema, screen recording, hosted VHS, or fabricated terminal text.
The caller chooses every executable, including separate baseline and changed binaries. Before recording each one, capture its absolute path, version, source or revision, and preferably SHA-256. Build separate binaries from separate checkouts; never overwrite one binary or switch the active checkout between takes.
Invoke absolute paths in visible commands. If natural spelling such as gh is
part of the presentation, create an isolated command-name mapping to that exact
path and put it ahead of the tape's PATH. Do not trust aliases or the ordinary
PATH.
3. Isolate the take
Use the platform's secure temporary-directory API to create one workspace per GIF. Keep the tape, GIF, fixtures, config, command mappings, and inspection frames there, never in the repository.
Use synthetic names, repositories, hosts, and content. Remap home and config
roots into the workspace, then clear inherited credential variables and
quarantine every config source the selected product can read. For gh, point
GH_CONFIG_DIR at an empty private directory and clear GH_TOKEN,
GITHUB_TOKEN, GH_ENTERPRISE_TOKEN, GITHUB_ENTERPRISE_TOKEN, GH_HOST, and
GH_REPO. If the behavior inherently needs a service, use only an approved
synthetic endpoint and account; stop if safe credentials or data are unavailable.
Select a shell accepted by Set Shell in the installed VHS version and use only
that shell's syntax in Type commands. An executable being installed does not
mean VHS supports it. VHS 0.11 shell definitions suppress startup profiles and
set a generic prompt; confirm both with a probe before trusting prompt waits or
PATH.
4. Author and render the tape
Adapt this structure, replacing every placeholder:
Output "<ABSOLUTE_TEMP_PATH>/demo.gif"
Require <SHELL_COMMAND>
Set Shell <SHELL_COMMAND>
Set Width <WIDTH_FOR_CONTENT>
Set Height <HEIGHT_FOR_CONTENT>
Set FontSize 22
Set FontFamily "<VERIFIED_MONOSPACE_FONT>"
Set TypingSpeed 35ms
Set CursorBlink false
Set WaitTimeout 120s
Env GH_CONFIG_DIR "<ABSOLUTE_TEMP_PATH>/config"
Env HOME "<ABSOLUTE_TEMP_PATH>/home"
Env XDG_CONFIG_HOME "<ABSOLUTE_TEMP_PATH>/config"
Env GH_TOKEN ""
Env GITHUB_TOKEN ""
Env GH_ENTERPRISE_TOKEN ""
Env GITHUB_ENTERPRISE_TOKEN ""
Env GH_HOST ""
Env GH_REPO ""
Env NO_COLOR "1"
Hide
Type "<SHELL-SPECIFIC SETUP AND CLEAR>"
Enter
Wait+Line /<DETERMINISTIC PROMPT>/
Show
Type "<EXPLICIT EXECUTABLE> <VISIBLE ARGUMENTS>"
Enter
Wait+Screen /<MEANINGFUL EXPECTED OUTPUT>/
Sleep 2s
Use hidden commands only for fixtures, isolated config, approved synthetic
services, deterministic prompts, directory changes, and clearing the screen.
Type every visible command and let it run. Use Wait+Screen for observable
results and condition-based waits for prompts; use Sleep only for pacing.
Let waits ca
Установить vhs-demo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vhs-demo?
Use when creating a terminal GIF, recording a CLI demonstration, authoring a VHS tape, or producing visual before/after evidence for reviewers.
Как установить скилл vhs-demo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vhs-demo запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub