git_auto_review

git_auto_review is a skill for Claude Code from theafh/ai-modules. It costs 131 tokens per session (8,295 once invoked), scanned A, original, MIT.

A workflow that repeatedly reviews and fixes uncommitted Git changes, which are edits not yet recorded in a commit. It reviews the changes, applies approved fixes, checks those fixes, and reviews the new differences again.

In plain words
What is it for?
Use it to review changes on the default branch and automatically fix qualifying findings until the review is clean or the stated stopping condition is reached.
Why use it?
It provides a controlled review-and-fix loop so findings are addressed and the fixes are checked before the process stops.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai_dev plugin — 26 skills, 9 agents, 1 hook shipped together

Good fit Use it to review changes on the default branch and automatically fix qualifying findings until the review is clean or the stated stopping condition is reached.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theafh/ai-modules/git_auto_review
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.

Any agent
npx skills add theafh/ai-modules --skill git_auto_review
Clone the repo
git clone --depth 1 https://github.com/theafh/ai-modules

Made for: Claude Code.

Or install ai_dev, the plugin that ships this one along with the rest of its 26 skills, 9 agents, 1 hook.

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_auto_review

README.md
[![agentmods](https://agentmods.dev/badge/skills/theafh/ai-modules/git_auto_review/github.svg)](https://agentmods.dev/skills/theafh/ai-modules/git_auto_review)
Your own site
<a href="https://agentmods.dev/skills/theafh/ai-modules/git_auto_review"><img src="https://agentmods.dev/badge/skills/theafh/ai-modules/git_auto_review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git_auto_review

Your own site · 80×15
<a href="https://agentmods.dev/skills/theafh/ai-modules/git_auto_review"><img src="https://agentmods.dev/badge/skills/theafh/ai-modules/git_auto_review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00131 $0.08295
Opus 5.5 $0.00052 $0.03318
Sonnet 5.5 $0.00026 $0.01659
Haiku 4.5 $0.00013 $0.00830

Measured today against content hash a653f5d2da82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git_auto_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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/run_ledger.sh, scripts/run_relay.sh, scripts/run_restore.sh, …), 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/ai_dev/skills/git_auto_review/SKILL.md · 275 lines

How it starts

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

git_auto_review

<git_auto_review_skill>

<when_to_activate> Activate when the user asks for an automated review-and-fix pass over the default-branch uncommitted target this skill's <inputs> names:

  • "Auto-review and fix my uncommitted changes."
  • "Run the automated review loop until it is clean."
  • "Keep reviewing and fixing this change until the review finds nothing."
  • "Auto-fix whatever the review turns up on the working tree."

Route to git_review for manual review of any target, and for review of a branch or a pull request, whether manual or the automated review-and-fix shape. Route to a task_* sibling for task readiness work; this loop reviews a change, not a task file. </when_to_activate>

<path_resolution> Bundled scripts live in scripts/ next to this SKILL.md. Resolve each script's absolute path by combining the directory of this SKILL.md with scripts/<script-name> and invoke that absolute path. Resolve git_review as a same-plugin sibling skill under the skills-tree sibling form git_review/, whose first path component is that sibling's directory name under skills/ and never a repository-root plugins/<plugin>/skills/... browse path. Resolve the three helper agents auto_gate_git, auto_fixer_git, and auto_verifier_git by their published names through the harness's normal agent mechanism; when the harness exposes only file paths, those agents live in the same plugin at ../../agents/ relative to this skill directory. </path_resolution>

  • Target. The default branch's uncommitted change, reported under two lane labels: the working-tree lane, holding the staged, the unstaged, and the untracked changes, and the local-commits lane, holding the local commits ahead of the upstream. Both labels are the step strings collect_uncommitted writes in git_review's scripts/collect_review_evidence.sh (working-tree lane: and local-commits lane:), reused as this loop's lane vocabulary. A checked-out branch target and a pull-request target are out of this skill's reach; the run declines them per <orient>.
  • An optional task file path that anchors scope, read by <convergence>'s Scope anchor. and by Decisions..
  • An optional round-cap override, written anywhere in the prompt as the literal phrase round cap <N>, matched case-insensitively, where <N> is a positive integer. Absent the phrase the run proceeds with the Stop rule.'s default cap. A phrase whose integer is zero, negative, or non-numeric is not an override: the run reports that the phrase is not an override and proceeds with the default cap.

The invoking harness may also supply environment notes describing a staged helper condition. Those notes are the harness's fixture seam; apply them exactly as written and follow <agent_failure_policy> from there.

<loop_policy>

Read the full file on GitHub · 275 lines

Files

What ships with it

4 files 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. today First seen · 275 lines · 131 tokens per session scan A a653f5d2da82

Subscribe to this mod's changes

git_auto_review is a skill published in the GitHub repository theafh/ai-modules (38 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 8,295 once invoked, about $0.0005 per session on Opus 5.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-10-29.