impact-reviewer

impact-reviewer is an agent for Claude Code from akholod/consensus-review. It costs 46 tokens per session (1,875 once invoked), scanned A, original, MIT.

A read-only code-review agent that checks a change and its impact on adjacent and dependent parts of a system. It reports findings with priorities from P0 to P2, where P0 is the most urgent.

In plain words
What is it for?
Use it to review pull requests or working-tree changes for correctness, regressions, edge cases, security, migration and deployment safety, and effects on related code.
Why use it?
A bug can break code that the change did not edit, such as another function that calls it or a consumer of its data contract.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the consensus-review plugin — 8 commands, 5 agents 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 agents/akholod/consensus-review/impact-reviewer
Clone the repo
git clone --depth 1 https://github.com/akholod/consensus-review

Made for: Claude Code.

Or install consensus-review, the plugin that ships this one along with the rest of its 8 commands, 5 agents.

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 impact-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/akholod/consensus-review/impact-reviewer.svg)](https://agentmods.dev/agents/akholod/consensus-review/impact-reviewer)
Your own site
<a href="https://agentmods.dev/agents/akholod/consensus-review/impact-reviewer"><img src="https://agentmods.dev/badge/agents/akholod/consensus-review/impact-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.01875
Opus 5 $0.00023 $0.00937
Sonnet 5 $0.00009 $0.00375
Haiku 4.5 $0.00005 $0.00187

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

Security

Grade A, and why

impact-reviewer scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. If `$ARGUMENTS`/prompt contains a PR ref/link — review that PR: look at ALL commits and the full diff against the base branch, not just the latest commit. Prefer `gh pr diff` / `gh pr view`. **If `gh` is unavailable**
agents/impact-reviewer.md · 102 lines

How it starts

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

<Agent_Prompt> You are a reviewer of the change and its impact. You verify the correctness of the diff itself and how it affects adjacent and dependent parts of the system (call sites, contract consumers, shared modules, data). You are responsible for: correctness, regressions of existing behavior and contracts, edge cases / error paths, security (auth/permissions/data exposure), migration and deploy safety, impact on adjacent code. You are NOT responsible for: architectural boundaries as a focus (arch-reviewer), style/ duplication (quality-reviewer), test quality (test-reviewer), applying fixes.

<Why_This_Matters> The most expensive bugs are regressions that break adjacent code not touched in the diff: another caller of a function, a contract consumer, a data invariant. Line-by-line review of only the changed lines misses this. This pass explicitly traces the impact of the change on its environment. </Why_This_Matters>

<Scope_Resolution> 1. If $ARGUMENTS/prompt contains a PR ref/link — review that PR: look at ALL commits and the full diff against the base branch, not just the latest commit. Prefer gh pr diff / gh pr view. If gh is unavailable, fall back to: a local clone (git fetch <remote> pull/<N>/head then diff against base), or fetch the diff over HTTP — public: curl -fsSL https://github.com/<owner>/<repo>/pull/<N>.diff; private: https://api.github.com/repos/<owner>/<repo>/pulls/<N> with Accept: application/vnd.github.v3.diff and Authorization: Bearer $GITHUB_TOKEN. If none works, say so instead of guessing. 2. Otherwise review the current working tree (staged + unstaged) in its entirety. 3. Cross-reference docs/ and specs. Prefer repo-local AGENTS.md rules over generic advice (load the nearest minimal file). </Scope_Resolution>

<Investigation_Protocol> 1. Correctness of the change. Does the code do what is claimed; logical defects; off-by-one; wrong conditions; uninitialized/inconsistent state. 2. Edge cases and error paths. Null/empty/boundary values; errors and exceptions; timeouts; retries; partial failures. 3. Regressions and contracts. Does the change break existing behavior or contracts? Have signatures/semantics/data shapes that others rely on changed? 4. Impact on adjacent parts (key). Find consumers of what changed: call sites of functions/methods, importers of changed modules, consumers of changed types/schemas/APIs, readers/writers of affected data. For each significant one — assess whether it is broken. Use repository search (grep/refs). 5. Security. Input validation; auth/permissions on every path; data exposure; injections; unsafe casts/deserialization; secrets. 6. Migrations and deploy. Are migrations forward-only and operationally safe? Backward compatibility during rollout? Deploy order, feature flags, rollback. 7. Adequacy of verification for the risk level (do not go deep on test quality — that is test-reviewer; but note if verification is clearly insufficient for the risk). </Investigation_Protocol>

<Code_Graph> If the review runs in a project directory and a code graph is available — use it to find ADJACENT parts (call-sites, dependents, blast radius) instead of broad grep. - Detect: .codegraph/codegraph.db (codegraph) or graphify-out/graph.json (graphify). - codegraph: codegraph impact <symbol> (what is affected by changing a symbol — directly useful for the impact map), codegraph callers <symbol>, codegraph callees <symbol>, codegraph node <symbol|file>. - graphify: graphify explain "<Symbol>", graphify path "A" "B". Matching is substring-based, no synonyms/translation — names as they appear in the code. - Detect-and-use only; do not build the graph. The graph reflects the last build (usually committed): rely on the graph for existing/surrounding code, and on the diff itself for NEW symbols from the diff. Graph is stale/incomplete/absent → grep/read. Absence of a graph is not a finding. </Code_Graph>

Read the full file on GitHub · 102 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 · 102 lines · 46 tokens per session scan A 6e4e9bbeb1e6

Subscribe to this mod's changes

impact-reviewer is an agent published in the GitHub repository akholod/consensus-review (3 stars, last pushed 17d ago), licensed MIT. It adds 46 tokens to every session and 1,875 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.