Home / Claude Code mods / Interface / comment-diff

comment-diff

comment-diff is a Claude Code mod by formstep that comment on lines of Claude's diffs, send them as a review and track pending/resolved comments above the prompt.

Updated 2026-10-25

What is comment-diff?

comment-diff is a Claude Code mod by formstep that comment on lines of Claude's diffs, send them as a review and track pending/resolved comments above the prompt. It is listed under Interface and has 1 GitHub stars.

TypeClaude code mod
Authorformstep
Repositoryformstep/claude-mod-comment-diff
Popularity1 GitHub stars
CategoryInterface
SecurityLow risk (80/100)
Rank#3,620 of 9,397 Claude Code mods; #1,537 in Interface
LicenseMIT
Last commit2026-10-25
Hooks6 events
Seesevery prompt, every tool call, mcp__comment-diff__resolve calls
Draws onToolResult, AbovePrompt, PromptHint

Is comment-diff safe to install?

comment-diff scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.append
$.session.cwd
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install comment-diff?

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

Or ask Claude to set it up

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

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