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.
git clone --depth 1 https://github.com/Surya8991/AgentMasterWrote 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.
[](https://agentmods.dev/rules/surya8991/agentmaster/codereview)<a href="https://agentmods.dev/rules/surya8991/agentmaster/codereview"><img src="https://agentmods.dev/badge/rules/surya8991/agentmaster/codereview/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.
<a href="https://agentmods.dev/rules/surya8991/agentmaster/codereview"><img src="https://agentmods.dev/badge/rules/surya8991/agentmaster/codereview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00640 |
| Opus 5.5 | $0.00015 | $0.00256 |
| Sonnet 5.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 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.
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.
- 1mo ago 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.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
optimize-dry-solid-principles-cursorrules-prompt-f
Cursor rules for optimization development with DRY and SOLID principles integration.
code-optimization
Guidelines for optimizing duplicate and poorly structured code.
language-agnostic-patterns
Language-agnostic programming patterns: SOLID, design patterns, clean code, and architecture. Load when refactoring, designing abstractions, or reviewing structure — not for everyday syntax.
testing
Testing strategies and quality assurance — testing pyramid, unit/integration/E2E testing, TDD/BDD, test automation, and quality metrics. Applied when writing or reviewing tests.
advanced-patterns
Advanced patterns for Electron development — multi-window management, typed IPC, plugin architecture, security policies, performance monitoring, and error recovery. Applied when building complex Electron applications.
api-design-typescript
API Design for TypeScript — Express, NestJS, Fastify patterns, middleware, validation, and error handling. Extends core/rules/api-design.mdc with TypeScript-specific guidance.