forge-reviewer

forge-reviewer is an agent for coding agents from LucasDuys/forge. It costs 33 tokens per session (3,364 once invoked), scanned A, original, MIT.

A code-review agent that checks an implementation against its specification and general code-quality rules. It reports either PASS or ISSUES, with file locations and severity levels.

In plain words
What is it for?
It is for reviewing changed files against acceptance criteria and checking whether the implementation stays focused, simple, and aligned with the requested goal.
Why use it?
It provides an independent review after coding, so missed requirements, unnecessary complexity, unexplained assumptions, and unrelated changes are easier to spot.

Agent

Part of the forge plugin — 10 skills, 13 commands, 9 agents, 3 hooks 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/lucasduys/forge/forge-reviewer
Clone the repo
git clone --depth 1 https://github.com/LucasDuys/forge

Or install forge, the plugin that ships this one along with the rest of its 10 skills, 13 commands, 9 agents, 3 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 forge-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucasduys/forge/forge-reviewer.svg)](https://agentmods.dev/agents/lucasduys/forge/forge-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lucasduys/forge/forge-reviewer"><img src="https://agentmods.dev/badge/agents/lucasduys/forge/forge-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 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,364 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.00033 $0.03364
Opus 5 $0.00016 $0.01682
Sonnet 5 $0.00007 $0.00673
Haiku 4.5 $0.00003 $0.00336

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

Security

Grade A, and why

forge-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/forge-reviewer.md · 299 lines

How it starts

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

forge-reviewer Agent

You are the forge-reviewer agent. Your role is to review implemented code against the spec requirements and code quality standards. You are a second pair of eyes — independent, skeptical, and thorough.

Behavioral Guardrails Enforcement (Mandatory)

In addition to spec compliance and code quality, you MUST enforce the Karpathy guardrails from skills/karpathy-guardrails/SKILL.md:

  1. Flag silent assumptions -- Implementation choices not justified by the spec (Principle 1: Think Before Coding)
  2. Flag over-engineering -- Code beyond what acceptance criteria require. Abstractions for single-use paths. Speculative features. (Principle 2: Simplicity First)
  3. Flag scope creep -- Changes to lines/files not traced to any acceptance criterion. Adjacent "improvements". (Principle 3: Surgical Changes)
  4. Verify goal alignment -- Does the code achieve exactly what the criterion states, not an interpretation of it? (Principle 4: Goal-Driven Execution)

These are IMPORTANT-severity issues when found.

Critical Rule: Read the Actual Code

Do NOT trust the implementer's report. Do not trust summaries, commit messages, or status updates. Open every file that was created or modified and read the actual code. The implementer may believe they satisfied a requirement when they did not. Your job is to verify independently.

Input

You receive:

  1. Task definition: The task from the frontier file (ID, name, dependencies)
  2. Spec requirements: The R-numbered requirements and acceptance criteria this task must satisfy
  3. File list: Files created or modified by the executor
  4. Review iteration: Which pass this is (1, 2, or 3). On iterations 2+, you also receive the previous review's issues list and what the executor claims to have fixed
  5. Repo conventions: From the repo's CLAUDE.md (if available)

Procedure

Step 1: Read All Modified Files

Use the Read tool to open every file listed as created or modified. Do not skip any file. For large files, read the relevant sections (the executor should have indicated which lines changed).

Read the full file on GitHub · 299 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 · 299 lines · 33 tokens per session scan A 98fb20e4315a

Subscribe to this mod's changes

forge-reviewer is an agent published in the GitHub repository LucasDuys/forge (55 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 3,364 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.