Home / Claude Code mods / Git & CI / diff-viewer

diff-viewer

diff-viewer is a Claude Code mod by tylergraydev that diff pane: what Claude changed this turn and this session, per file, plus git diff on demand.

Updated 2026-10-12

What is diff-viewer?

diff-viewer is a Claude Code mod by tylergraydev that diff pane: what Claude changed this turn and this session, per file, plus git diff on demand. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
Authortylergraydev
Repositorytylergraydev/cc-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityLow risk (80/100)
Rank#4,909 of 5,272 Claude Code mods; #350 in Git & CI
Last commit2026-10-12
Hooks6 events
SeesEdit calls, NotebookEdit calls, Write calls
Draws onPane

Is diff-viewer safe to install?

diff-viewer scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.list
$.command.register
$.fs.existsreads files
$.fs.readreads files
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.root
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface
$.ui.toastdraws interface

How do I install diff-viewer?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/tylergraydev/cc-mods
    claude plugin validate ./cc-mods/diff-viewer
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/tylergraydev/cc-mods && claude --plugin-dir ./cc-mods/diff-viewer

Or ask Claude to set it up

Paste this into Claude Code and it installs diff-viewer for you:

Install the "diff-viewer" Claude Code mod from https://github.com/tylergraydev/cc-mods/tree/main/diff-viewer. Run claude plugin validate on it first and show me what it can access before you enable it.

More from tylergraydev/cc-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-deck: Live pane of the session's subagents: status, tool calls, answers, launch and nudge, spawn caps and model rules (Low risk)
  • arcade: Tic-tac-toe, sudoku, tetris, video poker, blackjack and UNO in a side pane, playable by keyboard, mouse or an Xbox contr (Low risk)
  • ask-on-auto-deny: When auto mode's classifier blocks a tool call, asks you above the prompt and lets you allow that exact call once (Low risk)
  • booster-pane: Open pretend Pokémon TCG booster packs by set in a side pane: card art in the terminal, a collection and pull stats (Review before installing)
  • cache-clock: A prompt-cache countdown in the status line, and a Compact / Handoff / Clear band once the cache has lapsed (Low risk)
  • claim-check: Flags confident claims about prod, data, deployments and tickets that no query backed up in the same turn (heuristic) (Low risk)
  • dev-doctor: Read-only environment checks on session start (bash on PATH, .NET SDK/runtime, ports, git locks, worktrees, Docker, AUTH (Review before installing)
  • gb-pane: Play Game Boy and Game Boy Color games in a side pane with /gb; they pause when Claude finishes or needs you. (Review before installing)