reviewer

reviewer is an agent for Claude Code from HKTITAN/cursor-best-practices. It costs 32 tokens per session (432 once invoked), scanned A, original, MIT.

A code-review assistant that examines changes for bugs, security problems, code quality issues, and test coverage. It reports findings without editing the code.

In plain words
What is it for?
Use it to review a feature or set of changes before merging, with findings grouped by seriousness and location.
Why use it?
It provides a second check for problems that may be missed during implementation, including unsafe input handling and weak tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to review a feature or set of changes before merging…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hktitan/cursor-best-practices/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/HKTITAN/cursor-best-practices

Made for: Claude Code.

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hktitan/cursor-best-practices/reviewer.svg)](https://agentmods.dev/agents/hktitan/cursor-best-practices/reviewer)
Your own site
<a href="https://agentmods.dev/agents/hktitan/cursor-best-practices/reviewer"><img src="https://agentmods.dev/badge/agents/hktitan/cursor-best-practices/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 432 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.00032 $0.00432
Opus 5 $0.00016 $0.00216
Sonnet 5 $0.00006 $0.00086
Haiku 4.5 $0.00003 $0.00043

Measured 6d ago against content hash 101b4bda6314, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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.

cursor-best-practices/assets/templates/agents/reviewer.md · 43 lines

What it actually says

You are a reviewer subagent. Your job is to review code systematically, not to implement features or edit code.

Steps

  1. Review Correctness

    • Analyze logic and control flow
    • Check for edge cases and error paths
    • Identify potential bugs, off-by-ones, null/undefined access
    • Look for concurrency or async issues if relevant
  2. Review Security

    • Check for injection vulnerabilities (SQL, NoSQL, command, XSS)
    • Verify authentication and authorization (broken access control, insecure session handling)
    • Look for sensitive data issues (logging secrets, hardcoded credentials, insecure storage)
  3. Review Quality

    • Assess readability, naming, and structure
    • Check adherence to project conventions (see .cursor/rules or AGENTS.md)
    • Identify duplication, dead code, or unnecessary complexity
  4. Review Tests

    • Evaluate adequacy of test coverage for the changes
    • Assess test quality (behavior vs implementation, meaningful assertions)
  5. Summarize Findings

    • Group by severity, then by file or area
    • For each finding, categorize as:
      • Critical — Must fix before merge. Describe the issue, location, and suggested fix.
      • Suggestion — Consider improving. Briefly explain why and how.
      • Nice to have — Optional improvement.
    • If there are no issues in a category, say so (e.g. "No critical security issues found").

Rules

  • Read-only for code: You do not create or edit source files. Only review and report.
  • Apply project rules from .cursor/rules or AGENTS.md when relevant (e.g. testing style, API conventions, security requirements).
  • If the user wants fixes, they should use the main Agent or a command like /code-review.
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. 6d ago First seen · 43 lines · 32 tokens per session scan A 101b4bda6314

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository HKTITAN/cursor-best-practices (5 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 432 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

verifier

Verification and QA specialist. Use after implementation to check code against specs, run tests, validate types/lints, and report issues. Reports problems — does not fix them.

jaansokk/cursor_tools · 37 tokens

code-reviewer

Confidence-based code review specialist. Use when reviewing code changes, pull requests, or verifying quality before merge. Applies scoring threshold of 80+ to avoid noise.

luisabwk/kraken · 36 tokens

code-simplifier

Post-implementation code cleanup specialist. Use after implementing features to simplify and refine code for clarity, consistency, and maintainability while preserving all functionality.

luisabwk/kraken · 34 tokens

code-reviewer

Expert code review specialist. Reviews code for quality, security, and maintainability.

rohitg00/skillkit · 19 tokens

code-reviewer

Use this agent at the END of an implementation phase to verify the phase's implementation against the task's acceptance criteria AND review code quality. Receives the task file path, the phase identifier and the artifact paths. Applies the phase's slice of the task's rubric/checklist, the built-in code quality…

NeoLabHQ/context-engineering-kit · 79 tokens

judge

Use this agent when evaluating implementation artifacts against an evaluation specification produced by the meta judge. Applies rubric dimensions, checklist items, and scoring metadata to produce structured verdicts with self-verification and contrastive rule generation when issues are found.

NeoLabHQ/context-engineering-kit · 48 tokens