# code_reviewer

The code_reviewer Claude Code subagent reviews code changes for defects, security risks, and test gaps. It takes a diff and relevant repository context as input.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 776 repo stars
- Author: AgenticOrgLab
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/AgenticOrgLab/ExecOrchestra/tree/HEAD/execorchestra/Pool/resources/agents/code_reviewer.md
- Updated: 2026-11-12
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/agenticorglab-code-reviewer

## What it does

code_reviewer examines a change set and returns a Markdown report with an overall assessment, review scope, and findings ranked by severity. Each finding includes its location, likely consequence, a practical fix, and a way to verify it. The report also states plainly when it finds no actionable issue.

Findings must be supported by the diff or repository context; speculation cannot be presented as fact. The agent needs the changes and relevant details about surrounding code, requirements, or tests. It does not claim tests passed without evidence that they ran.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/code_reviewer.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/code_reviewer.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/code_reviewer.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/AgenticOrgLab/ExecOrchestra/tree/HEAD/execorchestra/Pool/resources/agents/code_reviewer.md

## When to use it
- spot defects in a diff and describe their consequences
- identify security and performance risks in code changes
- check whether tests cover the changed behavior
- get a concrete fix for each actionable finding

## Example prompts
- Review this diff and suggest fixes for confirmed issues.
- Check these changes for security risks and point to the affected code.
- Assess whether the tests cover these changes and suggest verification steps.

## Similar
- [code-reviewer](https://affpapa.org/en/nevibecode/agents/code-reviewer.md) — subagent · 31050 installs
- [multi-reviewer-patterns](https://affpapa.org/en/nevibecode/skills/multi-reviewer-patterns.md) — skill · 9800 installs
- [team-reviewer](https://affpapa.org/en/nevibecode/agents/team-reviewer.md) — subagent · ★ 42780 repo stars
- [reviewer](https://affpapa.org/en/nevibecode/agents/voltagent-reviewer.md) — subagent · ★ 6505 repo stars
- [code-reviewer-pro](https://affpapa.org/en/nevibecode/agents/code-reviewer-pro.md) — subagent · ★ 1357 repo stars
- [phase-10b-durable-timeline-re-reviewer](https://affpapa.org/en/nevibecode/prompts/phase-10b-durable-timeline-re-reviewer.md) — prompt · ★ 1497 repo stars

From the same set: [agenticorglab/execorchestra](https://affpapa.org/en/nevibecode/by/agenticorglab/execorchestra.md) — 24 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
