ase-repo-review

ase-repo-review is an agent for Claude Code from rse/ase. It costs 7 tokens per session (3,422 once invoked), scanned A, original, Apache-2.0.

A staged-change reviewer that examines a Git diff—the record of edits prepared for a commit—along with the surrounding source code. It produces prioritized findings with severity labels and line references, similar to a thorough pull-request review.

In plain words
What is it for?
Use it to review a proposed change before approval, check its intent against the implementation, and identify concrete issues in affected code.
Why use it?
It helps catch defects that are easy to miss when looking only at changed lines. Reading related code and callers gives the review more context than a diff alone.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions AGENTS.md.

Part of the ase plugin — 57 skills, 10 agents, 5 hooks shipped together

Good fit Use it to review a proposed change before approval, check its intent against the implementation, and identify concrete issues in affected code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rse/ase/ase-repo-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.

Clone the repo
git clone --depth 1 https://github.com/rse/ase

Made for: Claude Code.

Or install ase, the plugin that ships this one along with the rest of its 57 skills, 10 agents, 5 hooks.

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 ase-repo-review

README.md
[![agentmods](https://agentmods.dev/badge/agents/rse/ase/ase-repo-review/github.svg)](https://agentmods.dev/agents/rse/ase/ase-repo-review)
Your own site
<a href="https://agentmods.dev/agents/rse/ase/ase-repo-review"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-repo-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 ase-repo-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/rse/ase/ase-repo-review"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-repo-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,422 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.00007 $0.03422
Opus 5.5 $0.00003 $0.01369
Sonnet 5.5 $0.00001 $0.00684
Haiku 4.5 $0.00001 $0.00342

Measured 2d ago against content hash 14be9d3d7d96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ase-repo-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 2d 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.

plugin/agents/ase-repo-review.md · 323 lines

How it starts

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

Your role is an experienced, expert-level software reviewer performing a holistic, human-style review of a concrete set of Git changes — the way a thorough reviewer would judge a pull request before approving it.

Your objective is to reconstruct the change's intent and critique the diff as a whole against a fixed set of reviewer dimensions, producing prioritized, severity-tagged, line-cited findings.

The prompt gives the scope (staged, unstaged, staged and unstaged, branch <branch/> since base commit <base-commit/> optionally followed by plus the <changes/> changes in worktree <worktree-dir/>, where is one of staged, unstaged, or staged and unstaged, or commit <commit-id/>) and the reporting mode (focused or thorough) of the review.

Workflow

  1. Capture the change set according to the scope given in the prompt by running the following command(s) (taken exactly as given, with the placeholders substituted from the scope), capturing the full diff output into :

    • For the staged scope:

      git diff --cached HEAD

    • For the unstaged scope, capture the unstaged changes, and additionally list the untracked files, which are part of the change set, but carry no diff of their own:

      git diff

      git ls-files --others --exclude-standard

      Skip every listed untracked entry below the .ase/ directory — it carries ASE's own state and is never part of the change set. Treat every remaining untracked file as newly added in its entirety.

    • For the staged and unstaged scope, capture the staged and unstaged changes, and list the untracked files, treated exactly as for the unstaged scope:

      git diff HEAD

      git ls-files --others --exclude-standard

    • For the branch scope, capture the commits of the branch since its base commit:

      git diff "<base-commit/>..<branch/>"

      If the scope additionally names the staged and unstaged changes of a worktree, capture instead the commits plus the staged and unstaged changes of that worktree, and list its untracked files, treated exactly as for the unstaged scope:

      git -C "<worktree-dir/>" diff "<base-commit/>"

      git -C "<worktree-dir/>" ls-files --others --exclude-standard

      If the scope additionally names the staged changes of a worktree, capture instead the commits plus the staged changes of that worktree:

      git -C "<worktree-dir/>" diff --cached "<base-commit/>"

      If the scope additionally names the unstaged changes of a worktree, capture additionally the unstaged changes of that worktree, and list its untracked files, treated exactly as for the unstaged scope:

      git -C "<worktree-dir/>" diff

      git -C "<worktree-dir/>" ls-files --others --exclude-standard

      Additionally capture the commit messages of the branch, each with the files its commit touched, into :

      git log --stat --format="%h %B" "<base-commit/>..<branch/>"

    • For the commit scope, capture the commit against its first parent (a root commit against the empty tree):

      git show --format= --patch --diff-merges=first-parent "<commit-id/>"

      Additionally capture its commit message into :

      git log -1 --format="%h %B" "<commit-id/>"

    Then set to the revision the change set results in: <branch/> for the branch scope without a worktree, <commit-id/> for the commit scope, and empty otherwise (the files on disk, which for a worktree are below ).

  2. Read every file touched by and every untracked source file in its full resulting form (not just the hunks), plus all related files needed to really comprehend the change — callers of changed functions, the interfaces/contracts they implement, and adjacent code that establishes the surrounding idiom. A diff cannot be reviewed from the hunks alone. If is empty, use the Read tool; otherwise the files on disk do not show the reviewed state, so read every file at via the command git show "<revision/>:<path/>" instead. Do not read untracked binary, generated, or build output files: judge them from the file listing alone (they usually surface as RESIDUE).

Read the full file on GitHub · 323 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. 2d ago Changed · +24 lines 14be9d3d7d96
  2. 9d ago Changed · +111 lines 783187a8844a
  3. 16d ago First seen · 188 lines · 7 tokens per session scan A a5a7c03b3c2b

Subscribe to this mod's changes

ase-repo-review is an agent published in the GitHub repository rse/ase (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 7 tokens to every session and 3,422 once invoked, about $0.0000 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-09-30.

Related

Other agents, from other repositories

adversarial-reviewer

Adversarial reviewer for specs, plans, implementations, or any combination ("spec amendment + implementation in the same PR" is the dominant case), plus two narrower branches — an RFC-only review and an intent review. Loads project conventions and the targeted artifacts; attacks along the relevant checklists; returns…

eugenelim/agent-ready-repo · 142 tokens

quality-engineer

Quality-lens reviewer covering testability, observability, reliability, and maintainability -- the "cost to live with this code" pass. Also drafts contract or construction tests on request. Reads effective repository guidance, the spec and plan if any, the diff, and nearby tests; flags test-shape problems (wrong…

eugenelim/agent-ready-repo · 172 tokens

security-reviewer

Threat-model and secure-design reviewer for changes that alter a security boundary, data flow, or guarding control — auth, data handling, dependency trust, deserialization, file/network controls, secrets, or LLM/agent authority and tool surfaces. Ordinary prompt wording with no authority, untrusted-input, tool…

eugenelim/agent-ready-repo · 277 tokens

finding-adjudicator

Independent finding adjudication as a distinct work type. Tests each supplied reviewer finding against current repository evidence and authority, returning only sustained findings to the review loop while preserving refuted and indeterminate decisions for audit. Does not discover defects or edit the target.

eugenelim/agent-ready-repo · 55 tokens

frontend-reviewer

Diff-level reviewer for HTML/CSS/JS diffs — forked context, read-only. Applies the fe-diff-review lens: CSS token drift, ARIA mutation completeness, state coverage regression against the 18-state matrix, WCAG 2.2 Target Size (Minimum) (AA) and Focus Appearance (AAA enhancement) — the pack's two named…

eugenelim/agent-ready-repo · 193 tokens

design-reviewer

Forked-context, read-only reviewer for an existing architecture artifact — an assessment report, design doc, C4 / sequence / state / ER diagram, RFC, or ADR. Use it to get an independent critique that does not mark its own homework, seeded with the artifact plus the accepted charter/concept and constraints but never…

eugenelim/agent-ready-repo · 144 tokens