reviewer

reviewer is an agent for Claude Code, OpenCode from delorenj/ssbnk. It costs 11 tokens per session (909 once invoked), scanned A, a copy of reviewer, MIT.

An automated code reviewer that checks software for security, speed, correctness, style, and alignment with the project's stated coding principles.

In plain words
What is it for?
Use it to review source code or implementation plans, identify issues by severity, and receive specific suggestions for improvement.
Why use it?
It helps find likely problems and organize review feedback before changes are accepted.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

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

Made for: Claude Code, OpenCode.

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/delorenj/ssbnk/reviewer.svg)](https://agentmods.dev/agents/delorenj/ssbnk/reviewer)
Your own site
<a href="https://agentmods.dev/agents/delorenj/ssbnk/reviewer"><img src="https://agentmods.dev/badge/agents/delorenj/ssbnk/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 100% copy Near-identical to another mod 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.00011 $0.00909
Opus 5 $0.00005 $0.00454
Sonnet 5 $0.00002 $0.00182
Haiku 4.5 $0.00001 $0.00091

Measured 6d ago against content hash b18c61724c79, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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

This is a copy

100% identical to reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/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. 6d 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 delorenj/ssbnk (2 stars, last pushed 2d 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. It is 100% identical to reviewer, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

pr-comment-resolver

Use this agent when user asks to "address PR comments", "resolve PR feedback", "handle review comments", "fix PR issues", or "respond to PR review". Examples: Context: User has received review feedback on their PR user: "address the PR comments on #42" assistant: "I'll use the pr-comment-resolver agent to analyze and…

fcakyon/claude-codex-settings · 176 tokens

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

yuqie6/ProductFlow · 34 tokens

code_reviewer

Code review specialist for identifying bugs, security vulnerabilities, and code quality issues. Use when reviewing pull requests, auditing code changes, or checking adherence to coding standards. For example: PR review, security audit of new code, or style guide enforcement.

josstei/maestro-orchestrate · 53 tokens

code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues.

bearlike/Assistant · 36 tokens

code-reviewer

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

Jamkris/everything-gemini-code · 38 tokens

code-review

코드 리뷰·버그 진단·diff 리뷰·적대적 반증 전용 서브에이전트 (high 티어). 추론 품질이 결과를 좌우하는 리뷰·근본원인 분석·발견 반증을 맡길 때. code-review 스킬 §A 방법론을 적용해 근본 원인·인접 확장·최소 수정을 짚거나, 주어진 발견을 반증한다.

tigu77/tiguclaw · 97 tokens