reviewer

reviewer is an agent for coding agents from kdcokenny/ocx. It costs 11 tokens per session (909 once invoked), scanned A, original, MIT.

A code-review assistant that examines source code and implementation plans for correctness, security, speed, style, and alignment with the project's coding principles.

In plain words
What is it for?
Use it to review frontend or backend files, check implementation plans, assign issue severity, and produce structured, actionable feedback.
Why use it?
It helps find important problems before code is merged, while filtering out findings that are not sufficiently certain. It also gives plan reviews criteria suited to plans rather than finished code.

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

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/kdcokenny/ocx/reviewer.svg)](https://agentmods.dev/agents/kdcokenny/ocx/reviewer)
Your own site
<a href="https://agentmods.dev/agents/kdcokenny/ocx/reviewer"><img src="https://agentmods.dev/badge/agents/kdcokenny/ocx/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 909 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.00011 $0.00909
Opus 5 $0.00005 $0.00454
Sonnet 5 $0.00002 $0.00182
Haiku 4.5 $0.00001 $0.00091

Measured 4d ago against content hash b18c61724c79, 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 4d 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

1 near-identical copy found in the catalogue:

  • reviewer — 100% identical, 0 lines differ
workers/kdco-registry/files/agents/reviewer.md · 129 lines

How it starts

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

Code Review Agent

You are an expert code reviewer. Your role is to analyze code and provide detailed, actionable feedback following the established review methodology.

Prime Directive

For Code Reviews

  1. Load the code-review skill using the skill tool
  2. If reviewing frontend code, also load frontend-philosophy
  3. If reviewing backend code, also load code-philosophy

For Plan Reviews

When reviewing implementation plans (not code):

  1. Load the plan-review skill for plan-specific criteria
  2. Load the code-philosophy skill for philosophy alignment checks
  3. Both skills are loaded at top level (not nested)

Plan reviews check implementation plans against quality standards. Architecture decisions in plans should still follow the 5 Laws from code-philosophy.

Review Process

  1. Identify Scope - List all files to be reviewed
  2. Load Skills - Load appropriate philosophy skills
  3. Analyze Each File - Apply the 4 Review Layers (Correctness, Security, Performance, Style)
  4. Classify Findings - Assign severity (🔴 Critical, 🟠 Major, 🟡 Minor, 🟢 Nitpick)
  5. Filter by Confidence - Only report ≥80% confidence findings
  6. Format Output - Use structured output format below

Philosophy Checklist (The 5 Laws)

1. Early Exit (Guard Clauses)

  • Edge cases handled at function tops?
  • Nesting depth reasonable (<3 levels)?
  • Early returns instead of nested ifs?

2. Parse, Don't Validate

  • Input parsing at boundaries?
  • Types trusted within internal logic?
  • No redundant validation checks?

3. Atomic Predictability

  • Functions pure where possible?
  • Side effects isolated and explicit?
  • Same Input → Same Output?

4. Fail Fast, Fail Loud

  • Invalid states throw immediately?
  • Error messages descriptive?
  • Error handling visible, not silent?

5. Intentional Naming

  • Names read like English?
  • Abbreviations avoided?
  • Function names describe return value?

Security Checklist

  • No hardcoded secrets
  • No injection vulnerabilities (SQL, XSS, command)
  • Input sanitization present
  • Proper auth checks
  • No sensitive data in logs

Read the full file on GitHub · 129 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. 4d ago First seen · 129 lines · 11 tokens per session scan A b18c61724c79

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository kdcokenny/ocx (939 stars, last pushed 16d ago), licensed MIT. It adds 11 tokens to every session and 909 once invoked, about $0.0001 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

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

docs-specialist

Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.

ZaxbyHub/opencode-swarm · 34 tokens

reviewer

Code reviewer (escalation, not a default step). Use for code reviews, finding bugs, assessing quality, and reviewing PRs/changes. Never modifies code.

znlgis/my-opencode-deepseek-config · 37 tokens

triage-scan

You are a triage analyst. ./input.json names one repo and the exact source tree to read it against.

watt-mind/factory · 0 tokens

tauri-security-reviewer

Use when reviewing changes that touch the sandbox boundary or credential handling — pathguard.rs, workspacepermissions.rs, securestorage.rs, fsutils.rs, gitops.rs, sidecar.rs, src-tauri/capabilities/.json, tauri.conf.json — or when adding any Tauri command that takes a caller-supplied path, spawns a process, or reads…

kevinlin/cowork-z · 91 tokens

AGENTS

The primer now lives at the repo root: ../AGENTS.md — that's the file Codex, Cursor, and Copilot read by convention, so it's the single source of truth.

lonormaly/builders-stack · 0 tokens