Logo di Vhs Terminal Recorder

Vhs Terminal Recorder

Community
tmchow
vhs-terminal-recorder

Questa skill va usata quando l’utente nomina Charmbracelet VHS, chiede di usare la CLI `vhs`, vuole registrare un terminale, creare una GIF o un video MP4/WebM del terminale, un file `.tape`, una demo del terminale con script o una registrazione riproducibile della riga di comando. NON usarla per registrazioni generiche del browser, acquisizioni dell’intero schermo o sessioni interattive non scriptate che contengono segreti.

Panoramica

Pubblicato datmchow
Repositoryagent-skills
Nome della skillvhs-terminal-recorder
Stelle
67
Fork
4
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da tmchow su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Vhs Terminal Recorder in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/tmchow/agent-skills/tree/main/vhs-terminal-recorder
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tmchow/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/vhs-terminal-recorder .claude/skills/vhs-terminal-recorder
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Vhs Terminal Recorder in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Vhs Terminal Recorder non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Vhs Terminal Recorder non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

VHS Terminal Recorder

When to use

Use this skill only when vhs or Charmbracelet VHS is actually the right surface:

  • user says vhs, Charmbracelet VHS, .tape, terminal GIF, terminal recording, command-line screencast, or scripted terminal demo
  • docs need a reproducible recording of CLI behavior
  • an existing VHS tape needs authoring, validation, rendering, or debugging

Do not use it for arbitrary desktop capture, browser product tours, video editing, or one-off interactive work that cannot be made deterministic. Use a video/screen-capture workflow instead when the subject is not a terminal.

Mental model

VHS runs a tape file in a pseudo-terminal and renders the terminal session to GIF, MP4, or WebM. Treat a tape like a small executable test:

  • the tape must create or point at deterministic state
  • commands shown to viewers should be short and intentional
  • setup belongs behind Hide / Show
  • vhs validate checks tape syntax but does not prove the commands work
  • vhs <file> executes the tape and can mutate files, hit the network, or run project commands

This skill is not the VHS language reference. For exact syntax, generate or inspect live docs:

bash
vhs --help
vhs manual
vhs new /tmp/example.tape
vhs validate /tmp/example.tape

Setup and verification

VHS is the Charmbracelet CLI from https://github.com/charmbracelet/vhs. Before depending on it, verify the local binary and help:

bash
vhs --version
vhs --help

Use command-specific help for current flags:

bash
vhs record --help
vhs validate --help
vhs publish --help

Rendering also depends on the local VHS render stack, especially ttyd and ffmpeg. If vhs validate passes but rendering fails before running the tape, check those binaries before changing tape logic.

If vhs is missing and the user wants it installed, prefer the upstream-supported package manager for the current machine. The common macOS/Linux path is:

bash
brew install vhs

For Windows, Arch, Nix, Docker, Debian/RPM packages, or Go source installs, use the upstream installation section instead of copying commands from memory: https://github.com/charmbracelet/vhs#installation

First render can be slow because VHS may initialize browser/rendering caches. Do not misdiagnose that as a bad tape until validation passes and the render actually fails.

Authoring rules

Start from a hand-written tape for agent-created demos. Use vhs record only as a rough draft, then clean the tape before committing it.

Keep tapes deterministic:

  • keep Output, Require, and most Set commands at the top of the tape before visible actions; VHS docs call out top-of-file ordering for dependencies and settings
  • set Output, Set Shell, Set Width, Set Height, Set FontSize, Set TypingSpeed, and Set Theme explicitly
  • add Require <program> for every external command the tape depends on
  • create fixtures or temp files in hidden setup instead of relying on the user's current shell state
  • prefer fake/sample values over real accounts, tokens, private paths, or production URLs
  • constrain noisy commands with flags, known fixtures, or small output windows
  • keep Type lines simple; put complex setup in a script or separate hidden commands instead of relying on nested quotes or command substitution
  • use Wait+Screen@<timeout> /pattern/ or Wait@<timeout> /prompt-or-line/ for readiness; reserve Sleep for presentation timing after readiness has happened
  • when waiting on a server, file watcher, or network dependency, prefer a hidden shell readiness loop or a visible command followed by a VHS Wait+Screen; do not rely on a bare fixed sleep

Minimal skeleton:

text
Output demo.gif

Require bash
Require your-cli

Set Shell "bash"
Set Width 1200
Set Height 700
Set FontSize 28
Set Theme "Builtin Dark"

Hide
Type "mkdir -p /tmp/vhs-demo && cd /tmp/vhs-demo"
Enter
Type "your-cli init --fixture small >/dev/null"
Enter
Show

Type "your-cli status"
Enter
Wait+Screen@5s /ready|ok|complete/
Sleep 1s

Best-practice scenarios

Create a docs GIF. Author a tape beside the docs or examples it supports, use a small deterministic fixture, validate it, render it, then inspect the output file before reporting success:

bash
vhs validate docs/demo.tape
vhs docs/demo.tape

Render another format. Prefer GIF for lightweight README embeds. Use MP4 or WebM when quality or file size matters:

text
Output demo.mp4
Output demo.webm

Use Output frames/ for a PNG sequence when post-processing is needed. Use text outputs such as Output golden.ascii only for integration-test/golden-file workflows, not as the normal docs artifact.

Choose a theme. Do not guess theme names from memory. List them and copy the theme string exactly:

bash
vhs themes
vhs themes --markdown

Validate several tapes. Quote globs so the shell does not expand or reject them before VHS sees the pattern, especially in zsh:

bash
vhs validate 'docs/*.tape'

Debug a failing tape. Validate first. If validation passes, run each viewer-facing command directly in a clean shell or temp directory. Most VHS failures are ordinary command failures hidden inside a recording.

Use recording mode. Reach for vhs record only to capture an exploratory interaction or learn a rough sequence. Rewrite the result into a short scripted tape with hidden setup, explicit dimensions, and no accidental local state.

Safety and publishing

Rendering executes the tape. Read untrusted tapes before running them.

Never capture or publish secrets. Before rendering or committing, scan the tape for tokens, real customer data, private paths, .env output, shell history, git remotes, and account-specific prompts.

Publishing uploads a GIF to vhs.charm.sh. Treat it as an external side effect: only run vhs publish <file>.gif or vhs <file> --publish when the user has explicitly approved that exact file for public sharing.

Pitfalls

  • vhs validate is parse-only; it does not run Require checks or prove the demo commands succeed.
  • Unquoted globs can fail in the shell before VHS runs.
  • Long command output makes unreadable recordings. Shrink the scenario instead of increasing terminal height until everything fits.
  • Nested quoting and shell command substitution inside Type lines can produce confusing parse errors. Simplify the line or move setup into a small script.
  • Plain Wait /pattern/ watches the current line. Use Wait+Screen /pattern/ when matching command output anywhere on the terminal.
  • VHS supports useful commands beyond the common demo path, including Screenshot, Source, Copy, Paste, and version-dependent Env; check vhs manual before using them, and never use Env as a way to smuggle real secrets into recordings.
  • Default shell, prompt, theme, size, and font can vary by machine. Set the recording surface explicitly.
  • Sleep hides races in the final video. Use hidden readiness checks for anything that depends on a server, file watcher, background job, or network.
  • Do not commit generated videos unless the repo expects binary demo assets. If unsure, ask before adding large GIF/MP4/WebM files to version control.

Domande frequenti

Cosa fa la skill IA Vhs Terminal Recorder?

Questa skill va usata quando l’utente nomina Charmbracelet VHS, chiede di usare la CLI `vhs`, vuole registrare un terminale, creare una GIF o un video MP4/WebM del terminale, un file `.tape`, una demo del terminale con script o una registrazione riproducibile della riga di comando. NON usarla per registrazioni generiche del browser, acquisizioni dell’intero schermo o sessioni interattive non scriptate che contengono segreti.

Perché usare Vhs Terminal Recorder su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Vhs Terminal Recorder è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Vhs Terminal Recorder in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/tmchow/agent-skills/tree/main/vhs-terminal-recorder. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Vhs Terminal Recorder?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Vhs Terminal Recorder?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Vhs Terminal Recorder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Vhs Terminal Recorder è gratuita?

Sì. È pubblicata su GitHub da tmchow con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇