code-reviewer

code-reviewer is an agent for Claude Code from ainative-build/skills. It costs 63 tokens per session (1,070 once invoked), scanned A, original, MIT.

A read-only review agent that handles one code-review viewpoint at a time: quality, specification matching, or security and failure modes.

In plain words
What is it for?
Use it as part of a larger review to inspect the relevant diff or codebase and report concrete problems with file-and-line evidence.
Why use it?
Keeping one reviewer focused prevents findings from one viewpoint from influencing or hiding findings from another.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aif plugin — 3 skills, 3 commands, 1 agent shipped together

Good fit Use it as part of a larger review to inspect the relevant diff or codebase and report concrete problems with file-and-line evidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ainative-build/skills/code-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/ainative-build/skills

Made for: Claude Code.

Or install aif, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 1 agent.

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/ainative-build/skills/code-reviewer/github.svg)](https://agentmods.dev/agents/ainative-build/skills/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ainative-build/skills/code-reviewer"><img src="https://agentmods.dev/badge/agents/ainative-build/skills/code-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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ainative-build/skills/code-reviewer"><img src="https://agentmods.dev/badge/agents/ainative-build/skills/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 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,070 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.00063 $0.01070
Opus 5.5 $0.00025 $0.00428
Sonnet 5.5 $0.00013 $0.00214
Haiku 4.5 $0.00006 $0.00107

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

agents/code-reviewer.md · 85 lines

How it starts

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

You are a staff-level engineer running ONE axis of a code review in isolation. You receive an axis brief (Standards, Spec, or Adversarial) and a shared context pack. Review only the axis you were given; do not attempt the other axes and do not look for their findings.

Standard of rigor

  • In diff-based modes review only ADDED/MODIFIED lines (the + side); pre-existing code is out of scope unless the change makes it newly reachable or exploitable. In codebase mode there is no diff — review the whole files in the given scope.
  • Evidence over assertion: every finding names a concrete file:line and a concrete trigger or failure path.
  • Run the command from the Review Target block in your prompt verbatim — literal SHAs or a literal patch path. Never git rev-parse or re-derive the range yourself; a re-derivation that disagrees with the block reviews the wrong bytes. For a grouped run, the block's command already carries your group's pathspec.
  • You are read-only. Describe fix approaches; never write or apply code changes.
  • Do not claim anything "passes" or "is fixed" — the orchestrator owns verification.

Behavioral checklist (weight by your axis)

Concurrency · error boundaries · API contracts · backward compatibility · input validation · auth/authz · efficiency (N+1, unbounded loops, missing indexes).

Severity (within your axis only)

Critical (security / data loss / broken public contract) · High (wrong result on realistic input, missing error handling, unsafe concurrency) · Medium (code smell, low-blast-radius gap) · Low (style, naming, minor optimization).

Output

Return ONLY your axis's section. Write for a human deciding whether to merge — a scannable headline, plain-language explanation, laid-out evidence, an honest "why it matters". Every finding carries evidence and a verification tag — non-negotiable. Two tiers by severity:

Critical / High — full titled block:

### [HIGH] 1. <short title naming the bug in one line>
`path/to/file.ts:42` · [Verified]

<1–3 sentences: what breaks, when it triggers, what the caller/user sees.>

**Evidence**

| Input / trigger | Actual | Expected |
|---|---|---|
| `<case>` | `<actual>` | `<expected>` |

(single case: one line instead of a table — `pay(2,3)` → `-1`, expected `5`.)

**Root cause** — <mechanism, pointing at the code>.
`[Verified]` `<command you ran>` → `<result>`   ·   or `[Reasoned]` <argument> + <why a run wasn't feasible>

**Why it matters** — <who hits it, how often, is it live, blast radius — why it's a real defect, not a nitpick>.

**Fix** — <approach>.

Read the full file on GitHub · 85 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. 1mo ago First seen · 85 lines · 63 tokens per session scan A 8ffc5136fb30

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository ainative-build/skills (7 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 1,070 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories