code-reviewer

code-reviewer is an agent for Claude Code from nyldn/claude-octopus. It costs 19 tokens per session (354 once invoked), scanned A, original, MIT.

A code-review role that examines software for correctness, security, speed, maintainability, and testing issues.

In plain words
What is it for?
It is for reviewing application code, security, performance, configuration, architecture, and tests during an Octopus workflow.
Why use it?
It provides a structured review of risks and code quality before changes are accepted.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the octo plugin — 70 skills, 108 commands, 10 agents, 18 hooks shipped together

Good fit It is for reviewing application code, security, performance, configuration, architecture, and tests during an Octopus workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nyldn/claude-octopus/code-reviewer
About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,253 stars · on GitHub · reddit.com

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/nyldn/claude-octopus

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 70 skills, 108 commands, 10 agents, 18 hooks.

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/nyldn/claude-octopus/code-reviewer/github.svg)](https://agentmods.dev/agents/nyldn/claude-octopus/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nyldn/claude-octopus/code-reviewer"><img src="https://agentmods.dev/badge/agents/nyldn/claude-octopus/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/nyldn/claude-octopus/code-reviewer"><img src="https://agentmods.dev/badge/agents/nyldn/claude-octopus/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 354 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.00019 $0.00354
Opus 5.5 $0.00008 $0.00142
Sonnet 5.5 $0.00004 $0.00071
Haiku 4.5 $0.00002 $0.00035

Measured 1mo ago against content hash 8de859d86963, 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.

.claude/agents/code-reviewer.md · 58 lines

What it actually says

You are an elite code review expert specializing in modern code analysis, security, performance, and maintainability.

Core Expertise

  • Code Quality: Clean Code principles, SOLID patterns, code smell detection
  • Security Review: OWASP Top 10, input validation, auth implementation
  • Performance: N+1 detection, memory leaks, caching strategy review
  • Configuration: Production configs, Kubernetes manifests, CI/CD pipelines
  • Testing: TDD adherence, coverage analysis, contract testing

Behavioral Traits

  • Maintains constructive, educational tone in all feedback
  • Prioritizes security and production reliability above all
  • Provides specific, actionable feedback with code examples
  • Balances thorough analysis with development velocity
  • Considers long-term technical debt implications

Response Approach

  1. Analyze code context and identify review scope
  2. Apply automated analysis for vulnerabilities
  3. Conduct manual review for logic and architecture
  4. Assess security and performance implications
  5. Provide structured feedback organized by severity
  6. Suggest improvements with specific code examples

Output Contract

Return status: COMPLETE | BLOCKED | PARTIAL

COMPLETE

  • Findings (mandatory, with severity: Critical/High/Medium/Low)
  • Security Issues
  • Performance Concerns
  • Recommendations

BLOCKED

  • Blocker Description
  • What Was Attempted

PARTIAL

  • Completed Sections
  • Remaining Work
  • Confidence: [0-100]
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 · 58 lines · 19 tokens per session scan A 8de859d86963

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository nyldn/claude-octopus (4,253 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 354 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

soleur-engineering-review-observability-coverage-reviewer

Use this agent when reviewing PRs that add server-side code (routes, server functions, Inngest functions, scripts, infra), code on a non-inspectable execution surface (agent sandbox, container readiness gate, cron worker), or code under plugins/ that executes on a customer's self-hosted CLI (observability layer 7), to…

jikig-ai/soleur · 198 tokens

soleur-engineering-review-architecture-strategist

Use this agent when you need to analyze code changes from an architectural perspective, evaluate system design decisions, or ensure modifications align with established architectural patterns. Use soleur-engineering-design-ddd-architect for Domain-Driven Design modeling; use this agent for general architectural…

jikig-ai/soleur · 66 tokens

soleur-engineering-review-code-quality-analyst

Use this agent when you need a formal quality report with severity-scored findings and a prioritized refactoring roadmap. Use soleur-engineering-review-pattern-recognition-specialist for quick pattern checks; use this agent when you need a formal report to plan refactoring work.

jikig-ai/soleur · 64 tokens

soleur-engineering-review-data-integrity-guardian

Use this agent when you need to review database migrations, data models, or any code that manipulates persistent data. Use soleur-engineering-review-data-migration-expert for ID mapping validation; use soleur-engineering-review-deployment-verification-agent for deploy checklists. Boundary vs gdpr-gate: see…

jikig-ai/soleur · 90 tokens

soleur-engineering-review-data-migration-expert

Use this agent when reviewing PRs that touch database migrations, data backfills, or any code that transforms production data. Use soleur-engineering-review-data-integrity-guardian for general migration safety review; use this agent specifically when ID mappings or value swaps need validation.

jikig-ai/soleur · 65 tokens

soleur-engineering-review-kieran-rails-reviewer

Use this agent when you need to review Rails code changes with an extremely high quality bar. Applies Kieran's strict Rails conventions and taste preferences. Use soleur-engineering-review-dhh-rails-reviewer for opinionated architectural critique; use this agent for strict convention and quality checks.

jikig-ai/soleur · 69 tokens