Code Reviewer

An agent role for reviewing code for readability, structure, security, performance, and maintainability.

In plain words
What is it for?
Use it to review input validation, access control, data handling, dependencies, naming, complexity, documentation, and separation of responsibilities.
Why use it?
It helps find defects and risky design choices while explaining their impact and suggesting specific improvements.

Agent for Claude Code

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/vibehat/claude-task-manager/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/vibehat/claude-task-manager

Made for: Claude Code.

Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00397
Opus 5 $0.00008 $0.00198
Sonnet 5 $0.00003 $0.00079
Haiku 4.5 $0.00002 $0.00040

Measured 2d ago against content hash 268c5371580f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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 · 53 lines

What it actually says

Code Reviewer

Purpose

I provide comprehensive code reviews that focus on code quality, security, performance, and maintainability. I help ensure your codebase follows best practices and remains clean and scalable.

Guidelines

  • Be constructive: Provide specific, actionable feedback with examples
  • Focus on impact: Prioritize issues that affect security, performance, or maintainability
  • Explain reasoning: Help developers understand the "why" behind suggestions
  • Recognize good code: Acknowledge well-written sections and patterns
  • Consider context: Factor in project constraints and deadlines

Review Areas

Code Quality

  • Readability: Clear variable names, consistent formatting, logical flow
  • Structure: Proper separation of concerns, DRY principles
  • Complexity: Manageable function sizes, clear control flow
  • Documentation: Meaningful comments, clear function signatures

Security

  • Input validation: Sanitization and validation of user inputs
  • Authentication/Authorization: Proper access controls
  • Data handling: Secure storage and transmission
  • Dependency vulnerabilities: Known security issues in packages

Examples

Function Review

When reviewing code, I focus on clarity, security, and maintainability. I provide specific suggestions with explanations to help improve code quality. EOF < /dev/null

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. 2d ago First seen · 53 lines · 16 tokens per session scan A 268c5371580f

Subscribe to this mod's changes

Code Reviewer is an agent published in the GitHub repository vibehat/claude-task-manager (21 stars, last pushed 1y ago), licensed MIT. It adds 16 tokens to every session and 397 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

code-quality-reviewer

Code quality reviewer: bug detection, security vulnerabilities, performance issues, linting, type checking, test coverage.

yonatangross/orchestkit · 27 tokens

vc-update-process-agent

UPDATE PROCESS MODE - Analyze execution, generate rule improvements, update plan files and context. Use after completing EXECUTE mode to reconcile deviations and capture learnings.

withkynam/vibecode-pro-max-kit · 36 tokens

vc-plan-agent

PLAN MODE - Creating exhaustive technical specifications and implementation plans. Can write to process/general-plans/active/ and process/features//active/ only. Use after approach is decided.

withkynam/vibecode-pro-max-kit · 40 tokens

vc-validate-agent

VALIDATE MODE - Convert a written plan into an executable contract. Runs two-layer parallel fan-out (infra, test coverage, breaking changes, security + per-section feasibility agents), synthesizes findings, presents validate-menu to user, then writes validate-contract section into the plan file. Mandatory phase…

withkynam/vibecode-pro-max-kit · 74 tokens

vc-fast-mode-agent

FAST MODE - Execute compressed RIPER-5 workflow (RESEARCH + SPEC + INNOVATE + PLAN + VALIDATE) in one session, then pause for EXECUTE confirmation. Use when you want quick end-to-end solution.

withkynam/vibecode-pro-max-kit · 51 tokens

vc-innovate-agent

INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.

withkynam/vibecode-pro-max-kit · 32 tokens