ccdwyer/diff-seismograph

セッションの編集をリアルタイムのターミナル地震計として描画し、大きな変更では QUAKE バナーを表示し、/quake リポジトリヒートマップも提供する Claude Code プラグイン。
ccdwyer/diff-seismograph

Diff Seismograph は session.start、command.run、tool.call と 2 つの ui.render コンポーネントにフックし、プロンプト上に 2 チャンネルのバンドを表示します。追加行と削除行を、減衰していく地震波形として描画します。およそ 100 行以上の編集で QUAKE バナーが表示され、/quake コマンドではペインを開いてセッション全体の波形と、追跡対象ファイルをバイト数で大きさ分けした squarified treemap ヒートマップを見られます。編集数は Claude Code 自身の記録から数え、git をローカルで実行するのは /quake を開いたときだけです。数値はセッションのプラグイン状態に保存し、ネットワークには何も送信しません。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add ccdwyer/diff-seismograph claude plugin install diff-seismograph

Band trace for small edits, a QUAKE M4.3 banner on a 150-line Write, then /quake with the repo heat map. Watch the MP4
A live seismograph of your session's edits, drawn in the terminal.
+added −removed · files.◆ QUAKE M4.7 server.ts banner for a few seconds./quake opens a pane with the whole session's seismograph and a heat map of the repo: a squarified treemap of every tracked file, sized by bytes, where the files changed this session glow from purple through red and orange to white-hot. The hottest boxes are labeled with their +added −removed./quake band off hides the band; /quake band on brings it back.Edits, Writes, notebook edits and shell commands that change files (via Claude Code's own bashEditDiff record) all count. Failed or staged edits don't. When Claude Code couldn't measure a change (a rewrite too large to diff, or a shell diff it skipped or cut short), the file still lights up and is marked as having unmeasured changes. Line counts are never invented: a change too large to diff (a 10 MB+ rewrite, a file the shell diff left unexpanded, or a git checkout/pull/reset whose diff was skipped) counts as a quake at the threshold with +0 −0, partial. A shell diff Claude Code shares across parallel calls is counted once. Backgrounded shell commands carry no diff, so they don't appear.
The band and pane draw with Raster cells, so they need a terminal; on the desktop app you get a text sparkline and per-file totals instead.
Events this mod hooks, as claude plugin validate reads the module:
session.startcommand.run{command=quake}tool.callui.render{component=AbovePrompt}ui.render{component=Pane, requestId=diff-seismograph}Engine calls it makes: $.clock.every, $.command.register, $.fs.stat (via realPath), $.process.run (via scanRepo), $.session.cwd (via scanRepo), $.state.get, $.state.set, $.ui.blit (via tick), $.ui.open, $.ui.resolve.
Its tool.call hook only observes: it reads each finished call's record of changed lines and never refuses or rewrites a call.
It runs entirely on your machine and sends nothing over the network. It counts added and removed lines from Claude Code's own records of each edit, and runs git locally (git rev-parse and git ls-tree) only when you open /quake, to size the heat map. Counts live in the session's plugin state; no file contents are stored.
The mod collects no analytics or telemetry, and its author receives no data from it.
Full policy: PRIVACY.md.
MIT
/plugin marketplace add ccdwyer/claude-mods
/plugin install diff-seismograph@ccdwyer-mods
/reload-plugins
claude plugin validate .
claude plugin test .