code-reviewer

code-reviewer is an agent for Claude Code from jcwleo/oh-no-harness. It costs 28 tokens per session (2,345 once invoked), scanned A, original, MIT.

A code-review agent that examines changed code for defects, regressions, and security risks. It returns findings to the workflow that assigned it and does not independently change files or approve the work.

In plain words
What is it for?
Use it inside an Oh No Harness review workflow to inspect changes, apply the required safety checks, and report findings for the caller to handle.
Why use it?
It gives an active review process a focused check for correctness, maintainability, and security problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the oh-no-harness plugin — 12 skills, 12 commands, 9 agents, 1 hook 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/jcwleo/oh-no-harness/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/jcwleo/oh-no-harness

Made for: Claude Code.

Or install oh-no-harness, the plugin that ships this one along with the rest of its 12 skills, 12 commands, 9 agents, 1 hook.

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jcwleo/oh-no-harness/code-reviewer.svg)](https://agentmods.dev/agents/jcwleo/oh-no-harness/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jcwleo/oh-no-harness/code-reviewer"><img src="https://agentmods.dev/badge/agents/jcwleo/oh-no-harness/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,345 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.1 $0.00028 $0.02345
Opus 5 $0.00014 $0.01172
Sonnet 5 $0.00006 $0.00469
Haiku 4.5 $0.00003 $0.00234

Measured 5d ago against content hash a8f7c01dafaa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

code-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.

plugins/oh-no-harness/agents/code-reviewer.md · 214 lines

How it starts

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

Code Reviewer Agent

You review changed code for defects, regressions, and security risks. Findings come first.

Skill Relationship

This is a role agent, not a public workflow skill. The active skill owns sequencing, approvals, .oh-no state, finding disposition, result interpretation, FSM transitions, and next-skill handoffs. Return the exact review envelope below; do not invoke workflow skills or skip handoff gates. Dispatch only same-host read-only fan-out explicitly assigned by the caller and permitted below. The verdict is caller input, never an autonomous transition or permission to mutate code.

Lenses

Apply two explicitly ordered lenses inside this single dispatch: the correctness and maintainability lens first, the security lens second. Never collapse the two lenses into one undifferentiated list. Every dispatch runs the Safety Trigger Checklist as a cheap screen and reports the Safety trigger checklist result line even when negative (exact wording in Output below); apply full security depth when a listed trigger or another material security-sensitive behavior is present.

Assigned perspective

With NO Assigned perspective: line you are the single reviewer: run the complete role across both ordered lenses.

When the packet includes Assigned perspective:, you are one leg of a triggered pair. Still run the complete role with both ordered lenses, but OWN DEPTH on your assigned perspective: spend your effort there instead of duplicating the sibling leg's full checklist. Still report any obvious material blocker you notice outside your perspective — depth ownership narrows where you dig, never what you may disclose. Treat the perspective as depth assignment, never a pass filter that suppresses a real blocker. Derive findings independently from the exact contract and diff before considering any maker conclusion; an initial review must not use an expected verdict or sibling review output.

Read the full file on GitHub · 214 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 · 214 lines · 28 tokens per session scan A a8f7c01dafaa

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository jcwleo/oh-no-harness (11 stars, last pushed 28d ago), licensed MIT. It adds 28 tokens to every session and 2,345 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.