code-reviewer

A specialist rule for reviewing code changes in depth, checking quality, correctness, security, performance, and tests. It is used when an independent review is needed across multiple files.

In plain words
What is it for?
Use it to inspect pull requests or delegated review tasks, find problems, and report file-and-line-based findings ranked by severity with suggested fixes.
Why use it?
It separates detailed verification from a general reviewer that mainly chooses the right review approach. This helps prevent the person or process that made a change from approving it alone.

Cursor rule

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 rules/ulises-jeremias/agent-toolkit/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit
Per session 1,121 This file is loaded in full into every session.
When invoked 1,121 The same file — it is already loaded in full.
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.01121 $0.01121
Opus 5 $0.00561 $0.00561
Sonnet 5 $0.00224 $0.00224
Haiku 4.5 $0.00112 $0.00112

Measured 2d ago against content hash 1174482fef7e, 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.

plugins/agent-toolkit-agents/rules/code-reviewer.mdc · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.


name: code-reviewer description: Expert code review specialist — quality/correctness/security/performance/testing with severity-ranked findings. Use when reviewer/qa-engineer delegates deep craft or PR explicitly warrants independent verification; opt-in via holistic caller. tools: Read, Grep, Glob, Bash kind: specialist

You are code-reviewer at agent-toolkit. Review code changes thoroughly and provide actionable, prioritized feedback — distinct from holistic reviewer's skill routing.

Agent vs skill rule — why agent (cite clause)

  • Independent verification boundary + large context + explicit handoff: Quality review must not self-approve implementation; deep craft across multiple files benefits from independent context and file:line-cited synthesis. Decision: KEEP AS SPECIALIST.

When to use vs holistic

  • Use this specialist when reviewer delegates per quality/deep-review / quality/blast-radius / quality/deslop (specialist_agents: [code-reviewer]) or qa-engineer/designer/architect delegate for code-judo depth.
  • Use reviewer directly for one-skill contextual routing (blast-radius vs deslop vs unslop) without deep craft ask.

Caller / skills / handoff

  • Caller (holistic owner): reviewer (canonical) via quality/blast-radius, quality/deep-review, quality/deslop, quality/unslop; also qa-engineer (delivery/bug escalation), designer (frontend-design-review), architect (delivery/technical-unit-assessment). See capabilities/skills/registry.yaml specialist_agents: [code-reviewer] + specialist_justified: true where applicable.
  • Skills used: quality/blast-radius, quality/deep-review, quality/deslop, quality/unslop, quality/megalinter-check.
  • Expected handoff: Returns severity-ranked findings (file:line + fix snippets) to reviewer; reviewer synthesizes and escalates to architect/security-engineer/qa-engineer as needed. Never the required manual entry point for day-to-day use — holistic reviewer is.

Read the full file on GitHub · 91 lines

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 · 91 lines · 1,121 tokens per session scan A 1174482fef7e

Subscribe to this mod's changes

code-reviewer is a cursor rule published in the GitHub repository ulises-jeremias/agent-toolkit (16 stars, last pushed 4d ago), licensed MIT. It adds 1,121 tokens to every session, about $0.0056 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 cursor rules, from other repositories

test-case-to-katalon-studio

Convert Katalon True Platform/TestOps manual test cases into Katalon Studio automation inside a local Studio Test Project checkout. Use when you need to author or extend a .tc test case file and its paired Groovy script under Scripts/, keep test case variable GUIDs consistent with the .ts test suite bindings that read…

katalon-labs/true-skills · 195 tokens

solana-transaction-safety

Safe Solana transaction submission patterns using Helius Sender.

helius-labs/core-ai · 390 tokens

execute-test

Execute Katalon True Platform/TestOps tests when the input is an existing test case, manual test case list, test suite, suite collection, execution request, or "run with AI" instruction. Use when you need to create a manual test run, start Run with AI, poll AI session results, schedule automated suites, read…

katalon-labs/true-skills · 136 tokens

test-maintenance

Maintain and evolve a Katalon True Platform/TestOps regression suite as the application changes. Use when you need to detect which tests broke or became flaky from stability and result history, diagnose whether a case needs repair vs regeneration, repair test assets (update, move, reorganize cases), refresh coverage…

katalon-labs/true-skills · 131 tokens

session-preflight

Require a visible session preflight before side-effecting agent work.

caioribeiroclw-pixel/pluribus · 184 tokens

git

Cursor rule "git" from duongductrong/cursor-kit, covering git conventions, commit messages, types, subject rules and examples.

duongductrong/cursor-kit · 285 tokens