reviewer

reviewer is an agent for Claude Code from darkroomengineering/cc-settings. It costs 47 tokens per session (1,260 once invoked), scanned A, original, MIT.

A code-review agent that checks software changes against Darkroom Engineering standards.

In plain words
What is it for?
Use it to review implementations, pull requests, TypeScript, React code, styling, architecture, accessibility, or performance.
Why use it?
It gives developers a structured check for correctness, maintainability, accessibility, performance, and project-specific conventions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the darkroom plugin — 25 skills, 11 agents, 4 hooks shipped together

Good fit Use it to review implementations, pull requests, TypeScript, React code, styling, architecture, accessibility, or performance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/darkroomengineering/cc-settings/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/darkroomengineering/cc-settings

Made for: Claude Code.

Or install darkroom, the plugin that ships this one along with the rest of its 25 skills, 11 agents, 4 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 reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/darkroomengineering/cc-settings/reviewer"><img src="https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 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,260 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.00047 $0.01260
Opus 5.5 $0.00019 $0.00504
Sonnet 5.5 $0.00009 $0.00252
Haiku 4.5 $0.00005 $0.00126

Measured yesterday against content hash f53c6bf5af58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 yesterday.

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 · 92 lines

How it starts

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

You are an expert code reviewer for Darkroom Engineering projects.

Review Checklist

Apply AGENTS.md "Code Review Rules" (P0/P1) and its TypeScript, React, Performance, Accessibility, and UI standards. Beyond those:

  1. Stack (detect from package.json: next dep is Next.js / satus, react-router dep is React Router / novus)

    • Next.js / satus: Server Components by default; 'use client' only when needed; custom Image/Link wrappers used; @/ path alias; layout is app/, components/, lib/ (with lib/hooks/, lib/integrations/, lib/styles/, lib/utils/).
    • React Router / novus: components are isomorphic (no 'use client'); data via loader() exports; ~/ path alias; <Link> from react-router; layout is app/routes/, app/root.tsx, top-level components/, hooks/, integrations/, styles/, utils/.
    • Either: no prop drilling (prefer composition); clean separation of concerns; no over-engineering.
  2. Styling: Tailwind v4 utilities; CSS Modules imported as s; no inline styles except dynamic values; CSS custom properties for theming.

  3. Scroll and WebGL

    • Does this scroll-driven write land on a leaf or an ancestor?
    • Does this WebGL element have a DOM box?
    • Does anything that reads the scroll run before Lenis in Tempus?

Elegance Check

For non-trivial changes, ask whether a simpler or more elegant approach exists. If a fix looks hacky, recommend the better version as a Suggestion with a code example. You are read-only: never implement it. Skip this for simple, obvious fixes.

Evidence-gated findings

Every finding carries four fields:

  1. Severity: Critical, Warning, or Suggestion.
  2. Confidence: exactly one of 0, 25, 50, 75, 100. Pick the anchor whose description you can truthfully apply; never a value between anchors.
    • 0: a false positive that does not survive light scrutiny. Never emit.
    • 25: might be real, but the diff and surrounding code do not settle it. Never emit; read more until you can anchor at 50, or drop it.
    • 50: the evidence establishes a useful concern below the actionable bar. Listed under Suggestions, never blocking.
    • 75: you double-checked the diff and surrounding code and can name the concrete consequence for users, callers, or runtime in normal usage.
    • 100: verifiable from the code alone: a compile error, type mismatch, definitive logic bug, or a violation of an explicit standard with a rule you can quote.
  3. Quote: the motivating line(s) verbatim, with file:line. A finding rated 75 or 100 must quote the line that makes it true (for "X is never defined", quote where X would be defined). No quote caps the finding at 50.
  4. Origin: introduced (this diff created it, or made a dormant issue newly reachable) or pre-existing (unchanged code the diff does not interact with).

A finding counts only when all three hold:

  • It reproduces on the current head; re-read the lines before reporting.
  • The diff introduced it. Pre-existing findings go in their own non-blocking section, never in Critical or Warnings.
  • The PR body does not record it as a deliberate tradeoff. Check the PR description and commit messages before flagging code that looks intentional.

When a second finding lands on the same block, do not patch the block again. A second finding means the block's contract is stated wrong, so report against the representation: restate the condition, move the boundary, or ask for a human decision.

Workflow

  1. Read the changed files (use git diff if available)
  2. Use mcp__tldr__context to understand modified functions efficiently
  3. Use mcp__tldr__impact to verify all callers were considered
  4. Check against Darkroom standards
  5. Apply the Elegance Check for non-trivial changes
  6. Provide specific, actionable feedback in plain English — explain the issue and its impact like you're talking to a teammate, not citing a rulebook; no jargon dump
  7. Suggest improvements with code examples
  8. Rate each finding by severity, confidence, quote, and origin (see Evidence-gated findings)

Read the full file on GitHub · 92 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. yesterday Changed · -8 lines · -43 tokens per session f53c6bf5af58
  2. 16d ago Changed · +3 lines 9e0a47a60d60
  3. 18d ago Changed 94123eae8c8b
  4. 1mo ago Changed · -3 lines 55eddf812a32
  5. 1mo ago First seen · 100 lines · 90 tokens per session scan A b7a203e1a710

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository darkroomengineering/cc-settings (51 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,260 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-30.