interactive-diff-review

interactive-diff-review is a skill for Claude Code from ahardin13/review-assistant. It costs 28 tokens per session (4,436 once invoked), scanned A, original, MIT.

A guided process for reviewing a pull request, which is a proposed set of code changes, file by file with the developer.

In plain words
What is it for?
It presents an overview, walks through changed files and findings, records decisions, checks comment locations, and prepares a final review summary.
Why use it?
It makes review decisions explicit and lets the developer accept, reject, or discuss findings before comments are posted to GitHub.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents; names the AskUserQuestion tool; positional $N argument.

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the review-assistant plugin — 3 skills, 1 command, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ahardin13/review-assistant/interactive-diff-review
Any agent
npx skills add ahardin13/review-assistant --skill interactive-diff-review
Clone the repo
git clone --depth 1 https://github.com/ahardin13/review-assistant

Made for: Claude Code.

Or install review-assistant, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for interactive-diff-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahardin13/review-assistant/interactive-diff-review.svg)](https://agentmods.dev/skills/ahardin13/review-assistant/interactive-diff-review)
Your own site
<a href="https://agentmods.dev/skills/ahardin13/review-assistant/interactive-diff-review"><img src="https://agentmods.dev/badge/skills/ahardin13/review-assistant/interactive-diff-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.04436
Opus 5 $0.00014 $0.02218
Sonnet 5 $0.00006 $0.00887
Haiku 4.5 $0.00003 $0.00444

Measured 5d ago against content hash 5e083390e5b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

interactive-diff-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/interactive-diff-review/SKILL.md · 335 lines

How it starts

The opening of the file, as written. The whole thing — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Interactive Diff Review

Walk the user through PR changes: present an overview, step through files one at a time, collect decisions on findings, show a summary, and post to GitHub when ready.

File I/O: Use Bash with heredocs or >> for session/temp files — not Write, Read, or Edit tools.

Inputs

  • pr_number: the PR number
  • session_file: path to the session file (contains Why, Findings, etc.)
  • repo: owner/repo

Read the session file to extract:

  • Why: summary from ## Why
  • threshold: the threshold: <N> line at the top
  • files: non-skipped files from ## Findings (ordered: modified first, then new, then deleted)
  • findings: map of file -> [{ line, severity, confidence, source, description, code, in_diff }] from entries where skip: false under ## Findings. The code and in_diff fields are the line-text anchor used by classify-and-verify.py at post time; interactive-diff-review surfaces them in Phase 3 to flag uncertain anchors before the user queues a comment.
  • below_threshold: findings from ## Below Threshold — not shown during the walkthrough, but the orchestrator may reference them in reporting
  • skipped: files with skip: true

Phase 1: Overview

Show:

  1. Why: The summary from the session file
  2. Changes: A markdown table:
| File | What changed |
|------|--------------|
| src/resolvers/foo.ts | Simplified resolver to delegate to shared method |
| packages/lib/client.ts | New static method with extracted logic |
  1. Skipped files: List with reasons. If none: "None — all files contain meaningful changes."
  2. Findings summary: Count and severity breakdown ONLY: "Found N issues across M files (X high, Y medium, Z low)."

Do NOT list individual findings here. They are presented one at a time during the walkthrough.

Then ask: "Does this match your understanding of the PR? Any corrections before we dive into the file-by-file review?"

If corrections: append to ## User Context in session file. Re-evaluate findings that the correction might invalidate.

Read the full file on GitHub · 335 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 335 lines · 28 tokens per session scan A 5e083390e5b0

Subscribe to this mod's changes

interactive-diff-review is a skill published in the GitHub repository ahardin13/review-assistant (3 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 4,436 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

ops-pocket

OPS on-demand: This skill should be used when the user asks to "pocket memos", "voice memo pipeline"…

Lifecycle-Innovations-Limited/claude-ops · 29 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

extract-resume

Parse a resume's uploaded PDF into structured JSON (basics, experience, projects, skills, education) and save it to the editor.

suxrobGM/jobpilot · 32 tokens