diff-lens

diff-lens is a Claude Code mod by mkiselyow that see what changed, right where Claude points. Run /diff-lens:walkthrough (or ask "guide me through this PR") and click any file link in the reply: the file opens with its changes against.

Updated 2026-10-13

What is diff-lens?

diff-lens is a Claude Code mod by mkiselyow that see what changed, right where Claude points. Run /diff-lens:walkthrough (or ask "guide me through this PR") and click any file link in the reply: the file opens with its changes against. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
Authormkiselyow
Repositorymkiselyow/diff-lens
Popularityno public popularity data yet
CategoryGit & CI
SecurityLow risk (88/100)
Rank#7,369 of 9,397 Claude Code mods; #524 in Git & CI
LicenseMIT
Last commit2026-10-13
Hooks4 events
SeesBash calls, Edit calls, Write calls, mcp__diff-lens__compare calls
Draws onAssistantMessage, Pane

Is diff-lens safe to install?

diff-lens scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.clock.sleep
$.command.register
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.session.cwd
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface

How do I install diff-lens?

  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/mkiselyow/diff-lens
    claude plugin validate ./diff-lens/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add mkiselyow/diff-lens && claude plugin install diff-lens@diff-lens

Or ask Claude to set it up

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

Install the "diff-lens" Claude Code mod from https://github.com/mkiselyow/diff-lens. Run claude plugin validate on it first and show me what it can access before you enable it.