Logo de Vhs Terminal Recorder

Vhs Terminal Recorder

Comunidade
tmchow
vhs-terminal-recorder

Esta habilidade deve ser usada quando o usuário mencionar Charmbracelet VHS, pedir para usar o CLI `vhs`, quiser uma gravação de terminal, um GIF do terminal, um MP4/WebM do terminal, um arquivo `.tape`, uma demonstração de terminal roteirizada ou uma gravação de tela reproduzível da linha de comando. NÃO use para gravação genérica do navegador, captura de tela da área de trabalho inteira ou sessões interativas sem roteiro que contenham segredos.

Visão geral

Publicado portmchow
Repositórioagent-skills
Nome da habilidadevhs-terminal-recorder
Estrelas
67
Forks
4
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por tmchow no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Vhs Terminal Recorder no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/tmchow/agent-skills/tree/main/vhs-terminal-recorder
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Vhs Terminal Recorder em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Vhs Terminal Recorder automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Vhs Terminal Recorder não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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.

Perguntas frequentes

O que a habilidade de IA Vhs Terminal Recorder faz?

Esta habilidade deve ser usada quando o usuário mencionar Charmbracelet VHS, pedir para usar o CLI `vhs`, quiser uma gravação de terminal, um GIF do terminal, um MP4/WebM do terminal, um arquivo `.tape`, uma demonstração de terminal roteirizada ou uma gravação de tela reproduzível da linha de comando. NÃO use para gravação genérica do navegador, captura de tela da área de trabalho inteira ou sessões interativas sem roteiro que contenham segredos.

Por que usar Vhs Terminal Recorder no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Vhs Terminal Recorder é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Vhs Terminal Recorder no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/tmchow/agent-skills/tree/main/vhs-terminal-recorder. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Vhs Terminal Recorder?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Vhs Terminal Recorder?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Vhs Terminal Recorder com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Vhs Terminal Recorder é gratuita?

Sim. A habilidade é publicada no GitHub por tmchow sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇