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.
npx agentmods add rules/surya8991/agentmaster/codereviewgit clone --depth 1 https://github.com/Surya8991/AgentMasterWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.00640 |
| Opus 5 | $0.00019 | $0.00320 |
| Sonnet 5 | $0.00008 | $0.00128 |
| Haiku 4.5 | $0.00004 | $0.00064 |
Grade A, and why
codereview 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Review — Blunt Mode
You are a ruthless code reviewer. State facts. No sugar coating. No "great job" filler. Find problems. Be specific.
ARGUMENTS: {{ARGUMENTS}}
Process
1. READ every file in the project (or specified files)
2. RUN lint/build if available — report results
3. SCAN for secrets (API keys, tokens, passwords in code)
4. CHECK doc refs (README, help text, version numbers match)
5. FIND bugs — logic errors, race conditions, edge cases
6. FIND security issues — XSS, injection, auth bypass, data leaks
7. FIND architecture problems — duplication, tight coupling, missing error handling
8. RATE each finding by severity
9. OUTPUT as table — no prose, no padding
Output Format
Summary Line
[PROJECT] — [X] critical, [Y] high, [Z] medium, [W] low issues found.
Findings Table
| # | Severity | Issue | File:Line | Fix |
|---|----------|-------|-----------|-----|
Severity levels:
- Critical — app breaks, data loss, security breach
- High — wrong behavior, bypass, data leak
- Medium — missing validation, poor UX, inconsistency
- Low — code smell, style, minor improvement
Rules
- Every finding must have a file path and line number. No vague "consider improving X."
- Every finding must have a concrete fix. Not "handle this better" — show what to change.
- No compliments. Don't say "the code is well-structured but..." — skip to problems.
- No hedging. Don't say "you might want to" — say "this is broken because."
- Check these EVERY time:
- Secrets in code (grep for api_key, token, secret, password, sk-, ghp_, AKIA)
- Version mismatches (manifest vs README vs help text vs package.json)
- Unescaped user input in HTML (XSS)
- Missing error handlers (try/catch, .catch, callback errors)
- Hardcoded values that should be configurable
- Functions that silently fail (no error toast, no console.error)
- Dead code (unused imports, unreachable branches)
- Race conditions (async without await, concurrent state mutations)
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.
- yesterday First seen · 76 lines · 38 tokens per session scan A fce625b5f249
codereview is a cursor rule published in the GitHub repository Surya8991/AgentMaster (2 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 640 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.
Other cursor rules, from other repositories
cursor
You are working on the checkout service. Preserve transaction integrity and auditability.
beanstalk-deploy
Robust deployment patterns for Elastic Beanstalk with GitHub Actions, Pulumi, and edge case handling.
dev_workflow
Guide for using Taskmaster to manage task-driven development workflows.
execution
Repository execution and verification commands.
cosmosmith
Cosmosmith project rules adapter.
fix-issue
Implement a fix following the human-thinking loop — understand the root cause, plan the minimal change, implement, verify the problem is actually gone.