ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 saksham10arora-dotcom

VHS: Claude が行うすべての編集のテープ

Edit と Write の前後をスナップショットし、/vhs でペインから再生する Claude Code mod。ステップ、再生、巻き戻しを操作できます。

saksham10arora-dotcom@saksham10arora-dotcom

saksham10arora-dotcom/claude-vhs

元の投稿の画像1
翻訳済み

この mod について

VHS はファイルを変更前後に読み取り、Claude が行う各 Edit と Write を記録し、セッションメモリにファイルごとのバージョンを保持します。/vhs コマンドでペインを開くと diff を1行ずつ再生し、新しい行を入力しながら変更されていない行をコンテキストとして残します。h/l でステップ、p で再生または一時停止、f で次のファイル、c で閉じます。r を2回押すと、画面上のステップまでファイルを巻き戻します(巻き戻し自体もテープに記録されます)。plugin marketplace からインストールするか、clone して --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
原文 / README

vhs

A tape of every edit Claude makes. A Claude Code mod.

vhs replaying an edit in a real Claude Code session

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.

Keys and commands

  • h / l step, p play or pause, f next file, c close
  • r 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 close

What it touches

The 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.

Install

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

Develop

claude plugin validate .
claude plugin test .

More mods

Part of a set: teach-me · vhs · frugal · lofi. More community mods: awesome-claude-mods.

MIT. Made by Saksham Arora (@nerfsaksham).

関連作品