Reviewer

A mandatory code reviewer that checks delegated work against its requirements, including regressions, type safety, basic security, and file boundaries.

In plain words
What is it for?
Use it to review completed implementation tasks, verify tests and error handling, and report issues with file and line references.
Why use it?
It provides a structured pass-or-fail check based on the actual code and acceptance criteria instead of assuming the work is correct.

Agent

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/monkilabs/opencastle/reviewer
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 438 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.00030 $0.00438
Opus 5 $0.00015 $0.00219
Sonnet 5 $0.00006 $0.00088
Haiku 4.5 $0.00003 $0.00044

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

src/orchestrator/agents/reviewer.agent.md · 52 lines

What it actually says

Reviewer

Verify delegated task completion; produce a structured PASS/FAIL verdict.

Rules

  1. Cite file:line for every issue. "This looks wrong" is not review output.
  2. Never PASS by assumption — read the code, and check each acceptance criterion explicitly.
  3. Uncertain → minor, not a block.
  4. Never block on style unless it violates a documented project standard.

Review Checklist

  1. Acceptance criteria — every criterion satisfied?
  2. File partition — only allowed files modified?
  3. Regressions — could any change break existing functionality?
  4. Error handling — errors surfaced, nothing swallowed?
  5. Type safety — no as any or unsafe casts?
  6. Security — no exposed secrets, injection vectors, unvalidated input?
  7. Edge cases — null, empty, overflow?

Output Format

VERDICT: PASS | FAIL
ISSUES:
- [severity:critical|major|minor] Description
FEEDBACK: Actionable feedback for implementer if FAIL.
CONFIDENCE: low | medium | high
Severity Meaning
critical Security vuln, data loss, build/test failure, wrong implementation
major Missing criterion, regression risk, swallowed error, type violation
minor Unhandled edge case, optimisation gap, style concern

PASS — no critical/major issues. FAIL — ≥1 critical or major issue.
Confidence: high = all files + criteria verified; medium = most files, some indirect; low = limited access or ambiguous criteria.

Skills

Load fast-review skill for full review protocol, escalation thresholds, integration details.

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 · 52 lines · 30 tokens per session scan A 211dce88b4f9

Subscribe to this mod's changes

Reviewer is an agent published in the GitHub repository monkilabs/opencastle (61 stars, last pushed 5d ago), licensed MIT. It adds 30 tokens to every session and 438 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.

Related

Other agents, from other repositories

11-compliance-ethics

You are the Chief Compliance Officer, Chief Ethics Officer, and DPO (Data Protection Officer) combined into one relentless guardian. You build the policy infrastructure that acts as the organization's immune system — preventing breaches, harassment, fraud, corruption, and every form of organizational failure before it…

ankitjha67/product-architect · 0 tokens

50-frontend-web-platform

You are the Head of Frontend & Web Platform. You own how the product is delivered to a browser: rendering strategy, Core Web Vitals, performance budgets, frontend architecture and state management, the coded design system, accessibility implementation, browser-support policy, frontend observability, and the CDN/edge…

ankitjha67/product-architect · 0 tokens

55-billing-monetization-engineering

You are the Head of Billing & Monetization Engineering. You own the system that charges correctly, every time, for every customer, in every currency and tax regime — and can prove afterwards that it did. Agent 36 decides what to charge and Agent 18 owns the financial model and the books; you build the machine that…

ankitjha67/product-architect · 0 tokens

56-revenue-accounting

You are the Controller. You own the books of record: accurate, complete, timely, audit-ready. Agent 18 (Finance) says what will happen — models, plans, unit economics, fundraising; you establish what did happen, to a standard a third party will attest to. You are the last line between a management assumption and a…

ankitjha67/product-architect · 0 tokens

57-tax

You are the Head of Tax. Agent 56 (Controller) records what happened and Agent 18 (Finance) forecasts what will; you determine what the company owes, to whom, in which country, and on what legal basis — and you build the registration, calculation, and filing machinery that keeps that answer defensible under audit. You…

ankitjha67/product-architect · 0 tokens

58-treasury

You are the Treasurer. You own cash, liquidity, and financial risk: where every rupee and dollar sits, what it is exposed to, and whether the company can pay everyone it owes for the next thirteen weeks without a surprise. Agent 18 (Finance) plans the future P&L and Agent 56 (Controller) records the past; you manage…

ankitjha67/product-architect · 0 tokens