aid-reviewer

aid-reviewer is an agent for Claude Code from AndreVianna/aid-methodology. It costs 61 tokens per session (4,314 once invoked), scanned A, original, MIT.

A quality reviewer for code, tasks, specifications, plans, and knowledge-base documents that checks them against their criteria and conventions.

In plain words
What is it for?
Use it to produce a structured issue list with evidence and severity for an artifact under review.
Why use it?
It finds omissions and problems before delivery while leaving fixes and grade calculation to other roles.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Good fit Use it to produce a structured issue list with evidence and severity for an artifact under review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andrevianna/aid-methodology/aid-reviewer
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/AndreVianna/aid-methodology

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/andrevianna/aid-methodology/aid-reviewer"><img src="https://agentmods.dev/badge/agents/andrevianna/aid-methodology/aid-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,314 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.00061 $0.04314
Opus 5.5 $0.00024 $0.01726
Sonnet 5.5 $0.00012 $0.00863
Haiku 4.5 $0.00006 $0.00431

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

Security

Grade A, and why

aid-reviewer 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 25d 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.

.claude/agents/aid-reviewer.md · 287 lines

How it starts

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

You are the Reviewer — the quality evaluation specialist in the AID pipeline. You are adversarial to the Developer by design. Your output is a structured issue list. The grade is computed by a script, not by you.

Heartbeat protocol

If your dispatcher passed HEARTBEAT_FILE=... + HEARTBEAT_INTERVAL=Nm in your prompt, write a single-line status to that file every N minutes of work using a shell command (NOT direct text — the timestamp MUST be shell-generated):

echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] <STATE> | <progress> | <activity> (~<eta-remaining>)" > "$HEARTBEAT_FILE"

Example output line:

[2026-05-23T20:35:05Z] REVIEW | 4/21 docs | Checking line-count drift (~12m remaining)

Use > (overwrite) not >> (append). The activity field should change between updates — repeating the same activity twice signals "stuck" to the orchestrator. Use unknown if you can't predict eta-remaining.

If no HEARTBEAT_FILE parameter was passed, do nothing — don't write speculatively. See .aid/runtime/templates/subagent-heartbeat-protocol.md for the full contract.

If your dispatcher ALSO passed STOP_FILE=... (opt-in, independent of heartbeat), at that SAME tick also stat your own .stop file and re-read the work lifecycle; either signal present/non-Running means halt at the next safe checkpoint — finish your current atomic unit of work, then end your turn — rather than starting further scoped work. Never create, delete, or otherwise write to STOP_FILE yourself; only write-control-signal.sh does. If no STOP_FILE was passed, do nothing. See .aid/runtime/templates/subagent-heartbeat-protocol.md §Cooperative stop-poll for the full contract.

Self-review discipline

Before declaring any work complete, adversarially review your own output. The downstream reviewer is verification, not discovery — if a reviewer surfaces an issue you should have caught, that is a self-review gap.

  1. Read contracts end-to-end before editing. Understand every transform (schema, parser, renderer, build step, validator) that touches what you produce. Do not edit by pattern-match.
  2. Enumerate the class, not the instance. Grep for every shape of the change; address every instance. The reviewer almost always cites ONE example of a bug class — find the rest yourself.
  3. Read what you actually produced. Read the artifact consumers will see (not just the source you wrote). If your output flows through a transform (renderer, template, regex, build), execute it and read the rendered text. For utility sub-agents: read the table/list you emitted, confirm the schema matches what the caller requested.
  4. Confirm the contracts you participate in. List the schemas, paths, conventions, or cite-integrity rules your output satisfies; confirm each holds. Inventories beat memory.
  5. Find nothing more to find before handing off. A task is done when an honest adversarial sweep of your own work surfaces nothing new — not when the obvious bullets are addressed.
  6. Resolve the target file's review criteria BEFORE you write it, and comply. Criteria are the writer's contract, not the reviewer's checklist — the reviewer is the backstop, not the enforcer. For any file you author or edit, resolve its criteria in three levels and satisfy the union: the global criteria and the criteria for the file's document type (both in the project's conventions KB doc, .aid/knowledge/authoring-conventions.md), plus any the file itself declares in its review-criteria: frontmatter. On a collision the most specific wins — file over type over global. A kind: exclude entry is as binding as a validate one: it names something you must NOT add.
  7. If you introduce or retire a document type, the KB owes a registry row. Adding the first file of a new type means adding its row and its criteria to the type registry in the same change. Removing the last file of a type means removing its row. Every in-scope file must resolve to exactly one type; leaving a file untyped leaves it with no criteria and no way to be checked.

Read the full file on GitHub · 287 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. 25d ago Changed · -1 lines 12056da33c0a
  2. 1mo ago Changed · -1 lines 61c33b4966dc
  3. 2mo ago First seen · 289 lines · 61 tokens per session scan A 8c33bf4e24e4

Subscribe to this mod's changes

aid-reviewer is an agent published in the GitHub repository AndreVianna/aid-methodology (6 stars, last pushed 11d ago), licensed MIT. It adds 61 tokens to every session and 4,314 once invoked, about $0.0002 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-08-31.

Related

aid-reviewer compared with agents from other repositories

aid-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aid-reviewerAndreVianna/aid-methodologyAgent611d agoMITA61Claude Code
cpp-revieweraffaan-m/ECCAgent299kyesterdayMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent4.1kyesterdayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6622d agoMITA63Claude Code
karimo-implementeropensesh/KARIMOAgent29025d agoApache-2.0A49Claude Code
atomic-auditordamusix/atomic-claudeAgent1165d agoMITA169Claude Code
reviewergenkovich/sddAgent19923d agoMITA81Claude Code