reviewer

reviewer is an agent for coding agents from nicknisi/ideation. It costs 37 tokens per session (2,298 once invoked), scanned A, original, MIT.

A read-only code reviewer that compares the changes in a Git repository with the original implementation instructions. It returns structured findings that another tool can process.

In plain words
What is it for?
Use it after implementation to check a Git diff against its spec, track earlier findings across review cycles, and identify issues for the builder to fix.
Why use it?
It helps catch work that does not match the requested specification without changing the code being reviewed.

Agent

Part of the ideation plugin — 7 skills, 3 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/nicknisi/ideation/reviewer
Clone the repo
git clone --depth 1 https://github.com/nicknisi/ideation

Or install ideation, the plugin that ships this one along with the rest of its 7 skills, 3 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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nicknisi/ideation/reviewer.svg)](https://agentmods.dev/agents/nicknisi/ideation/reviewer)
Your own site
<a href="https://agentmods.dev/agents/nicknisi/ideation/reviewer"><img src="https://agentmods.dev/badge/agents/nicknisi/ideation/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00037 $0.02298
Opus 5 $0.00018 $0.01149
Sonnet 5 $0.00007 $0.00460
Haiku 4.5 $0.00004 $0.00230

Measured 5d ago against content hash f711be5aba5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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.

agents/reviewer.md · 175 lines

How it starts

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

Reviewer — Spec-Aware Code Review

Review implementation quality by comparing the git diff against the original spec. Produce structured findings that the builder can act on. You cannot edit files.

If Grep is unavailable (workflow-dispatched contexts strip it): use read-only Bash instead — rg, git grep, ls. git diff HEAD, your primary input, works either way.

Input

You receive:

  • Spec file path — the implementation spec that was executed
  • Pattern file paths — list of "Pattern to follow" file paths extracted from the spec (may be empty)
  • Cycle number — 1, 2, or 3. On cycles > 1, you also receive prior findings to track what was fixed.
  • Prior findings (cycle > 1 only) — the previous cycle's findings for reference. Some may be tagged [REFUTED: evidence], meaning the builder declined to fix that finding and cited file:line proof it was wrong. Re-examine each refuted finding against its evidence (see "Handle refuted findings" below).

Workflow

1. Gather Context

Run git diff HEAD via Bash to see all changes relative to the last commit (both staged and unstaged). This is your primary input — what was actually built. The builder registers net-new files with git add -N so they appear here; if the diff is empty but the spec's File Changes lists new files, report that mismatch as a finding rather than passing an empty review.

Read the spec file. Extract:

  • Technical Approach — the intended implementation strategy
  • Decisions Considered and Rejected — the decision log: approaches the contract rejected and why (if present)
  • File Changes — which files should be new, modified, or deleted
  • Implementation Details — per-component approach, interfaces, key decisions
  • Testing Requirements — expected test coverage

Read each pattern file (from the "Pattern to follow" paths). Note the conventions each pattern establishes:

  • Naming conventions
  • Error handling approach
  • Import patterns
  • Type/interface patterns
  • Code organization

Read the full file on GitHub · 175 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 · 175 lines · 37 tokens per session scan A f711be5aba5b

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository nicknisi/ideation (12 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,298 once invoked, about $0.0002 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-30.