Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

VHS

$ vhs Official Med Risk
Charmbracelet · AI & Media · MIT · macos / linux / windows

Charmbracelet's vhs turns declarative .tape scripts (typing commands, sleeping, pressing keys) into reproducible GIF, MP4, WebM, or PNG-frame demos via headless Chromium, ttyd, and ffmpeg. It includes vhs validate for syntax dry-runs and vhs new for scaffolding.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install vhs
CLI vs MCP Decision CLI Only

Writing .tape files, validating with vhs validate, and rendering reproducible demos run locally in shell.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Declarative .tape workflow with vhs validate syntax check, --quiet flag, and non-interactive execution, though lacks JSON output.

  • Supports vhs validate dry-run parsing and -q/--quiet
  • Declarative .tape scripts avoid interactive recording
Trust & Safety 20 / 25

vhs validate checks syntax safely, but vhs <file.tape> runs arbitrary shell commands in a real PTY and vhs publish uploads externally.

  • Executes typed shell commands during render; vhs publish performs remote_write
Setup & Portability 11 / 15

Single Go binary, but requires external ttyd, ffmpeg, and Chromium/Chrome binaries at runtime.

  • Requires ttyd, ffmpeg, and Chromium installed on PATH
Utility & Efficiency 14 / 15

Turns CLI demos into version-controlled code with deterministic fonts, themes, and GIF/MP4/WebM outputs.

  • Produces reproducible GIF, MP4, WebM, and PNG frame sequences from .tape files
Maintenance & Lineage 9 / 10

Official Charmbracelet tool (charmbracelet/vhs) under MIT license with strong community adoption.

  • Maintained by Charmbracelet on GitHub
Docs & Verifiability 8 / 10

Well-documented .tape directives, vhs manual, and vhs --help.

  • Built-in vhs manual and comprehensive README

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required for local rendering; vhs publish uploads GIFs anonymously to vhs.charm.sh.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free MIT open-source Go binary (requires ttyd, ffmpeg, and Chromium).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# VHS Agent Rules
- Run `vhs validate <file.tape>` after editing `.tape` files before rendering.
- Never invoke `vhs publish` unless the user explicitly asks to upload media to `vhs.charm.sh`.
- Remember `.tape` scripts actually execute shell commands—sanitize commands and avoid secrets inside tapes.

Agent-Ready Command Recipes

Safe Read-Only Queries

Validate a .tape script without rendering
vhs validate demo.tape

Parses demo.tape syntax and directives as a zero-execution dry-run check.

Controlled Writes & Previews

Render a validated .tape script to GIF/MP4
vhs demo.tape

Executes demo.tape in an isolated terminal and writes the configured Output media file.

Strengths for Agents

  • + vhs validate catches .tape syntax errors without launching Chromium or ffmpeg.
  • + Declarative .tape files let agents version-control and regenerate CLI demos reliably.

Caveats & Pitfalls

  • ! Requires ttyd, ffmpeg, and Chromium installed separately (handled automatically by brew install vhs, manual elsewhere).
  • ! Rendering executes real shell commands inside the tape; vhs publish uploads assets publicly to vhs.charm.sh.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI