git-review

git-review is a skill for Claude Code from umputun/cc-thingz. It costs 54 tokens per session (944 once invoked), scanned A, original, MIT.

An interactive way to review Git changes, where you write comments directly on a cleaned-up version of the code differences.

In plain words
What is it for?
Use it to inspect uncommitted work or compare a branch, tag, or commit, add change requests, and review the updated code again.
Why use it?
It makes code review easier to follow and lets the agent apply your comments in repeated review rounds.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the review plugin — 3 skills shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add umputun/cc-thingz
Claude Code
/plugin install review

Made for: Claude Code.

Or install review, the plugin that ships this one along with the rest of its 3 skills.

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 git-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/cc-thingz/git-review.svg)](https://agentmods.dev/skills/umputun/cc-thingz/git-review)
Your own site
<a href="https://agentmods.dev/skills/umputun/cc-thingz/git-review"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/git-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 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.00054 $0.00944
Opus 5 $0.00027 $0.00472
Sonnet 5 $0.00011 $0.00189
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

git-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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/git-review.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/review/skills/git-review/SKILL.md · 109 lines

How it starts

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

Git Review

Interactive annotation-based code review using editor overlays.

Activation Triggers

  • "git review", "review changes", "review my changes"
  • "annotate changes", "interactive review"
  • "review diff", "annotate diff"

How It Works

  1. Script generates a cleaned-up diff file (friendly headers, no technical noise)
  2. Opens in $EDITOR via agterm overlay, tmux popup, kitty overlay, or wezterm split-pane
  3. User adds annotations (comments, change requests) directly in the file
  4. Script returns user's annotations as a git diff
  5. Claude reads annotations, fixes code in the real repo
  6. Script regenerates fresh diff (reflecting fixes), opens again
  7. Loop until user closes editor without changes

Workflow

Step 1: Run the script

${CLAUDE_PLUGIN_ROOT}/skills/git-review/scripts/git-review.py [base_ref]
  • No arguments: auto-detects uncommitted changes or branch vs default branch
  • With argument: diffs against the specified ref (branch, tag, commit, HEAD~3)

Step 2: Process annotations

If the script produces output (stdout), the user made annotations. The output is a git diff showing what the user added/changed in the review file.

Read the diff carefully:

  • Added lines (+): user's annotations, comments, or change requests
  • Removed lines (-): user wants something removed or changed
  • Modified lines (- then +): user replaced text to show desired change

Each annotation is in context — the surrounding === file headers and diff content show which file and code area the annotation refers to.

Step 3: Plan changes

Enter plan mode (EnterPlanMode) to analyze annotations and design the fix approach:

  • list each annotation and which file/code area it refers to
  • describe the planned changes for each annotation
  • get user approval before modifying any code

Step 4: Address annotations

After plan approval, fix the actual source code in the real repository. Each annotation is a directive — treat it as a code review comment that must be addressed.

Read the full file on GitHub · 109 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 109 lines · 54 tokens per session scan A b27eb09b60fd

Subscribe to this mod's changes

git-review is a skill published in the GitHub repository umputun/cc-thingz (467 stars, last pushed 12d ago), licensed MIT. It adds 54 tokens to every session and 944 once invoked, about $0.0003 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-30.