saksham10arora-dotcom/claude-vhs

一个 Claude Code mod,在每次 Edit 和 Write 前后创建快照,然后通过 /vhs 在窗格中重放,提供逐步、播放和倒带控制。
saksham10arora-dotcom/claude-vhs

VHS 通过读取变更前后的文件,记录 Claude 执行的每次 Edit 和 Write,并在工作阶段内存中按文件保存版本。/vhs 命令会打开一个窗格,逐行重放 diff:输入新行,同时保留未变更的行作为上下文。控制包括 h/l 步进、p 播放或暂停、f 下一个文件、c 关闭;连续按两次 r 会将文件倒回屏幕上显示的步骤(倒回本身也会被录入磁带)。通过 plugin marketplace 安装,或克隆后使用 --plugin-dir 运行;需要 Claude Code 2.1.287+(在 2.1.273–2.1.286 上使用 `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1)。MIT 授权。
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add saksham10arora-dotcom/claude-vhs claude plugin install vhs
A tape of every edit Claude makes. A Claude Code mod.

A real, unedited session: after Claude edits api.js twice, /vhs opens the tape.
Every Edit and Write is snapshotted before and after, so each file has its versions in order. /vhs opens a pane that replays them: the diff is computed line by line (unchanged lines stay context, as in git) and the new lines type themselves in.
Like git history for one session, without committing every keystroke.
h / l step, p play or pause, f next file, c closer twice rewinds the file to the step on screen (one press only arms it; the rewind is taped too)/vhs, /vhs list, /vhs <file>, /vhs closeThe files Claude edits: read before and after each edit, and written only when you press r twice. The tape lives in memory for the session.
Claude Code 2.1.287 or newer runs mods out of the box. On 2.1.273 to 2.1.286, start it with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 first.
claude plugin marketplace add saksham10arora-dotcom/claude-vhs
claude plugin install vhs@nerfsaksham-vhs
Every option has a default, so the installer's "userConfig options not yet set" note is safe to ignore.
Or try it without installing:
git clone https://github.com/saksham10arora-dotcom/claude-vhs && claude --plugin-dir claude-vhs
claude plugin validate .
claude plugin test .
Part of a set: teach-me · vhs · frugal · lofi. More community mods: awesome-claude-mods.
MIT. Made by Saksham Arora (@nerfsaksham).