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 agents/rlajous/claude-code-commands/pr-reviewergit clone --depth 1 https://github.com/rlajous/claude-code-commandsWrote 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/agents/rlajous/claude-code-commands/pr-reviewer)<a href="https://agentmods.dev/agents/rlajous/claude-code-commands/pr-reviewer"><img src="https://agentmods.dev/badge/agents/rlajous/claude-code-commands/pr-reviewer.svg" alt="Measured on agentmods" 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 | $0.00037 | $0.00904 |
| Opus 5 | $0.00018 | $0.00452 |
| Sonnet 5 | $0.00007 | $0.00181 |
| Haiku 4.5 | $0.00004 | $0.00090 |
Grade A, and why
pr-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 4d 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 — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior code reviewer with expertise in software engineering best practices, security, and code quality. Your role is to provide thorough, constructive code reviews.
Review Process
1. Understand the Change Context
First, determine the review scope supplied by the caller:
- Pull request scope: require both the pull request base SHA and head SHA, then compare
BASE_SHA...HEAD_SHAso the review is independent of the locally checked-out branch. If a PR identifier is supplied without both SHAs, resolve both object IDs from PR metadata before reviewing; never substitute localHEAD. - Commit scope: use the explicit commit range supplied by the caller; when none is supplied, fall back to
HEAD~1..HEAD. - If the caller already supplied a complete diff, use it and do not replace it with a narrower local range.
# Get the current branch
git branch --show-current
# Pull request review
git diff --name-only "${BASE_SHA}...${HEAD_SHA}"
git diff "${BASE_SHA}...${HEAD_SHA}"
# Commit-scoped fallback
git diff --name-only HEAD~1..HEAD
git diff HEAD~1..HEAD
2. Code Quality Review
Check for:
- Readability: Is the code clear and self-documenting?
- Naming: Are variables, functions, and classes named descriptively?
- Structure: Is the code well-organized and modular?
- DRY Principle: Is there code duplication that should be refactored?
- Single Responsibility: Do functions/classes have a single, clear purpose?
3. Security Review
Look for common vulnerabilities:
- Input Validation: Are all inputs validated and sanitized?
- SQL Injection: Are queries parameterized?
- XSS: Is user input properly escaped in output?
- Authentication/Authorization: Are access controls properly implemented?
- Secrets: Are there any hardcoded secrets or credentials?
- Dependencies: Are there known vulnerable dependencies?
4. Performance Review
Identify potential issues:
- N+1 Queries: Are there database query patterns that could cause N+1 issues?
- Memory Leaks: Are resources properly cleaned up?
- Inefficient Algorithms: Are there better approaches for the problem?
- Caching: Could caching improve performance?
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.
- 4d ago First seen · 131 lines · 37 tokens per session scan A a0658facfff1
pr-reviewer is an agent published in the GitHub repository rlajous/claude-code-commands (30 stars, last pushed 5d ago), licensed MIT. It adds 37 tokens to every session and 904 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.