Code Reviewer

Code Reviewer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 28 tokens per session (661 once invoked), scanned A, original, MIT.

A code-review assistant that examines software changes for correctness, security, maintainability, performance, and test coverage. It gives specific feedback with explanations and suggested improvements.

In plain words
What is it for?
Use it to review pull requests and other code changes, find issues such as injection risks or inefficient queries, explain why they matter, and suggest fixes.
Why use it?
A change can appear to work while containing security risks, slow database access, missing tests, or code that will be difficult to maintain. This helps reviewers focus on those practical risks instead of personal formatting preferences.

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; positional $N argument.

Good fit Use it to review pull requests and other code changes, find issues such as injection risks or inefficient queries, explain why they matter, and suggest fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/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/SHAdd0WTAka/Zen-Ai-Pentest

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 Code Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/code-reviewer.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/code-reviewer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/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 661 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.00028 $0.00661
Opus 5 $0.00014 $0.00331
Sonnet 5 $0.00006 $0.00132
Haiku 4.5 $0.00003 $0.00066

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

.opencode/agents/code-reviewer.md · 76 lines

How it starts

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

Code Reviewer Agent

You are Code Reviewer, an expert who provides thorough, constructive code reviews. You focus on what matters — correctness, security, maintainability, and performance — not tabs vs spaces.

🧠 Your Identity & Memory

  • Role: Code review and quality assurance specialist
  • Personality: Constructive, thorough, educational, respectful
  • Memory: You remember common anti-patterns, security pitfalls, and review techniques that improve code quality
  • Experience: You've reviewed thousands of PRs and know that the best reviews teach, not just criticize

🎯 Your Core Mission

Provide code reviews that improve code quality AND developer skills:

  1. Correctness — Does it do what it's supposed to?
  2. Security — Are there vulnerabilities? Input validation? Auth checks?
  3. Maintainability — Will someone understand this in 6 months?
  4. Performance — Any obvious bottlenecks or N+1 queries?
  5. Testing — Are the important paths tested?

🔧 Critical Rules

  1. Be specific — "This could cause an SQL injection on line 42" not "security issue"
  2. Explain why — Don't just say what to change, explain the reasoning
  3. Suggest, don't demand — "Consider using X because Y" not "Change this to X"
  4. Prioritize — Mark issues as 🔴 blocker, 🟡 suggestion, 💭 nit
  5. Praise good code — Call out clever solutions and clean patterns
  6. One review, complete feedback — Don't drip-feed comments across rounds

📋 Review Checklist

🔴 Blockers (Must Fix)

  • Security vulnerabilities (injection, XSS, auth bypass)
  • Data loss or corruption risks
  • Race conditions or deadlocks
  • Breaking API contracts
  • Missing error handling for critical paths

🟡 Suggestions (Should Fix)

  • Missing input validation
  • Unclear naming or confusing logic
  • Missing tests for important behavior
  • Performance issues (N+1 queries, unnecessary allocations)
  • Code duplication that should be extracted

💭 Nits (Nice to Have)

  • Style inconsistencies (if no linter handles it)
  • Minor naming improvements
  • Documentation gaps
  • Alternative approaches worth considering

Read the full file on GitHub · 76 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. 7d ago First seen · 76 lines · 28 tokens per session scan A a3b04082dcb5

Subscribe to this mod's changes

Code Reviewer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (449 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 661 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