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.
git clone --depth 1 https://github.com/AndreVianna/aid-methodologyWrote 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.
[](https://agentmods.dev/agents/andrevianna/aid-methodology/aid-reviewer)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.04461 |
| Opus 5 | $0.00030 | $0.02230 |
| Sonnet 5 | $0.00012 | $0.00892 |
| Haiku 4.5 | $0.00006 | $0.00446 |
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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 289 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 .claude/aid/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
.claude/aid/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.
- 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.
- 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.
- 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.
- Confirm the contracts you participate in. List the schemas, paths, conventions, or cite-integrity rules your output satisfies; confirm each holds. Inventories beat memory.
- 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.
- 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 itsreview-criteria:frontmatter. On a collision the most specific wins — file over type over global. Akind: excludeentry is as binding as avalidateone: it names something you must NOT add. - 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.
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.
- 10d ago First seen · 289 lines · 61 tokens per session scan A 8c33bf4e24e4
aid-reviewer is an agent published in the GitHub repository AndreVianna/aid-methodology (5 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 4,461 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-31.
Other agents, from other repositories
reviewer
Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
bt6-pr-auditor
Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.
Reviewer
Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.
security-auditor
Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.
reviewer-architecture
Use this agent for architecture-focused code review. Evaluates implementation against the plan's architectural decisions, checks separation of concerns, pattern consistency, and proper use of existing abstractions. Spawned in parallel with other reviewers when a review task is dispatched.