code-reviewer

code-reviewer is a cursor rule for Cursor from ulises-jeremias/agent-toolkit. It costs 1,121 tokens per session, scanned A, original, MIT.

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 for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit 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.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ulises-jeremias/agent-toolkit/code-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/ulises-jeremias/agent-toolkit

Made for: Cursor.

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/rules/ulises-jeremias/agent-toolkit/code-reviewer/github.svg)](https://agentmods.dev/rules/ulises-jeremias/agent-toolkit/code-reviewer)
Your own site
<a href="https://agentmods.dev/rules/ulises-jeremias/agent-toolkit/code-reviewer"><img src="https://agentmods.dev/badge/rules/ulises-jeremias/agent-toolkit/code-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/rules/ulises-jeremias/agent-toolkit/code-reviewer"><img src="https://agentmods.dev/badge/rules/ulises-jeremias/agent-toolkit/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.01121 $0.01121
Opus 5.5 $0.00448 $0.00448
Sonnet 5.5 $0.00224 $0.00224
Haiku 4.5 $0.00112 $0.00112

Measured 1mo ago against content hash 1174482fef7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (19 stars, last pushed yesterday), licensed MIT. It adds 1,121 tokens to every session, about $0.0045 per session on Opus 5.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.