code-reviewer · serpro69 — Claude Code subagent: what it does, how to install
code-reviewer is a Claude Code subagent that independently evaluates git diffs for SOLID principles, architectural flaws, and security risks.
Elastic-2.0 ★ 155 updated 2026-10-29
/plugin marketplace add serpro69/claude-toolbox
/plugin install kk@claude-toolboxWhat code-reviewer does
Running on claude-opus-5-5, this subagent examines changes from an objective stance. The calling setup strips out conversation logs, debugging iterations, and implementation struggles. Instead, the agent receives only the diff manifest, scope specifications, design rationale, and predefined checklist profiles.
Its tool access is locked down to Read, Grep, Glob, and mcp__capy__capy_search. Because terminal and git execution tools are absent, it analyzes contracts and consumers purely through source inspection without running test suites directly.
The review workflow enforces strict file ordering: protocol instructions load before analyzing code diffs. Without a valid absolute path under the ## Plugin Root header, the agent halts and reports an error immediately.
What it helps with
- evaluate git diffs against SOLID design principles
- spot security flaws and architectural smells in pull requests
- verify interface contracts across dependent components
- conduct code reviews free from implementation session bias
Example prompts for the agent
- Run the code-reviewer subagent on this pull request diff
- Review the staged changes against our design spec using code-reviewer
- Invoke subagent code-reviewer to check boundary contracts across consumers
How to install code-reviewer
1Plugin marketplace
/plugin marketplace add serpro69/claude-toolbox/plugin install kk@claude-toolbox2Manually: put the files in place
.claude/agents/code-reviewer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/code-reviewer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/code-reviewer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about code-reviewer
How to install code-reviewer in Claude Code?
Add the repository with /plugin marketplace add serpro69/claude-toolbox and install via /plugin install kk@claude-toolbox.
What does the code-reviewer subagent do?
It performs automated structural reviews on diffs, checking behavioral contracts, SOLID conventions, and potential security regressions.
Can code-reviewer execute test suites or git commands?
No, it lacks shell access. Its environment only permits Read, Grep, Glob, and capy_search operations.
Similar subagents
All subagents for Code review and refactoring →code-reviewer by other authors comes first.