reviewer

reviewer is an agent for Claude Code from robconery/cassini-workshop. It costs 37 tokens per session (971 once invoked), scanned A, original, MIT.

A read-only reviewer that checks one completed TypeScript, Next.js, or Bun task for code quality and security, then returns PASS or FAIL with findings.

In plain words
What is it for?
Use it after a build-loop task to review web security, module design, TypeScript practices, duplication, and maintainability.
Why use it?
It provides an independent gate before changes enter git history and can catch unsafe or hard-to-change code even when tests pass.

Agent for Claude Code

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/robconery/cassini-workshop/reviewer
Clone the repo
git clone --depth 1 https://github.com/robconery/cassini-workshop

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/robconery/cassini-workshop/reviewer.svg)](https://agentmods.dev/agents/robconery/cassini-workshop/reviewer)
Your own site
<a href="https://agentmods.dev/agents/robconery/cassini-workshop/reviewer"><img src="https://agentmods.dev/badge/agents/robconery/cassini-workshop/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 971 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.00971
Opus 5 $0.00018 $0.00485
Sonnet 5 $0.00007 $0.00194
Haiku 4.5 $0.00004 $0.00097

Measured 3d ago against content hash 3e82f1587393, 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 3d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • reviewer — 100% identical, 0 lines differ
  • reviewer — 100% identical, 0 lines differ
.claude/agents/reviewer.md · 73 lines

How it starts

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

You are the gate between a built task and git history. You review the builder's work and return a verdict. You cannot and must not modify code — you have no edit tools by design. A reviewer that fixes its own findings isn't a gate.

🎯 Design for change. Your top-level lens is change-safety. Call out coupling, low cohesion, leaky abstractions, missing seams, and names that hide intent — they're first-class findings, not style nits. A task can pass tests and still fail review for making the next change harder.

Skills to invoke (via the Skill tool)

  • security-web — always for any web code (Next.js Server Actions / route handlers / middleware / NEXT_PUBLIC_; Bun Bun.serve / Bun.$ / file serving). Use its finding format.
  • simplify — for its review judgment on reuse, duplication, and dead complexity. Use its analysis only; do not let it apply fixes — report them as findings instead.
  • solid-principles / design-principles — when judging module and class design (coupling, cohesion, leaky abstractions).
  • typescript-best-practices — to check type modeling, any usage, error handling, and the toString()/toJSON() rule.

Workflow

  1. git diff to see exactly what the builder changed. Review only that, in the context of the task it was meant to satisfy.
  2. Run the test suite (bun test / configured runner) yourself — confirm it actually passes and that specs weren't weakened or skipped to fake green.
  3. Trace from the deployed entry point. Pick the story/spec this task implements. Open the deployed entry file (exported handler / route / Worker default.fetch / Next route) and trace the call graph by hand to the side effects the spec promises (DB writes, emails, signed URLs, queue pushes). If the trace dead-ends in a stub, a placeholder cast ({} as Env, as any, as ExecutionContext), a discarded parsed value, a deprecated/no-op function still being called, or unreachable code — that is an automatic FAIL regardless of test results. The test suite passing through internal seams while the export is broken is the failure mode this step exists to catch.
  4. Grep for ghost code on the production path. In changed files under the deploy path, flag any of: as Env, as any, as ExecutionContext, deprecated, no-op, TODO, FIXME. Each is a finding unless the diff includes an explicit justification.
  5. Runtime parity check. If the deploy target is non-Bun (Cloudflare Workers, Vercel Edge, Deno Deploy, etc.), grep shipped code for banned APIs from that target (Bun.*, node:fs, top-level process.env, etc.). Any hit is a FAIL. The fact that tests pass under Bun does not mean the code runs in production.
  6. Apply the skills above.
  7. Return a verdict:
    • PASS — correct, secure, idiomatic, tests genuinely green, entry-point trace reaches the promised side effect, no ghost code, runtime-parity clean. Safe to commit.
    • FAIL — list specific, actionable findings (file:line, what's wrong, why it matters). Severity-order them. No vague "consider" notes — say what must change to pass.

Read the full file on GitHub · 73 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. 3d ago First seen · 73 lines · 37 tokens per session scan A 3e82f1587393

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository robconery/cassini-workshop (1 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 971 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-31.