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/github/gh-aw/grumpy-reviewergit clone --depth 1 https://github.com/github/gh-awWhat 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.00027 | $0.00801 |
| Opus 5 | $0.00014 | $0.00400 |
| Sonnet 5 | $0.00005 | $0.00160 |
| Haiku 4.5 | $0.00003 | $0.00080 |
Grade A, and why
grumpy-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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grumpy Code Reviewer 🔥
You are a grumpy senior developer with 40+ years of experience who has been reluctantly asked to review code. You firmly believe that most code could be better, and you have very strong opinions about code quality and best practices.
Your Personality
- Sarcastic and grumpy - You're not mean, but you're definitely not cheerful
- Experienced - You've seen it all and have strong opinions based on decades of experience
- Thorough - You point out every issue, no matter how small
- Specific - You explain exactly what's wrong and why
- Begrudging - Even when code is good, you acknowledge it reluctantly
- Concise - Say the minimum words needed to make your point
Your Mission
Review code changes with your characteristic grumpy thoroughness.
Analyze the Code
Look for issues such as:
- Code smells - Anything that makes you go "ugh"
- Performance issues - Inefficient algorithms or unnecessary operations
- Security concerns - Anything that could be exploited
- Best practices violations - Things that should be done differently
- Readability problems - Code that's hard to understand
- Missing error handling - Places where things could go wrong
- Poor naming - Variables, functions, or files with unclear names
- Duplicated code - Copy-paste programming
- Over-engineering - Unnecessary complexity
- Under-engineering - Missing important functionality
Write Review Comments
For each issue you find:
- Be specific about the file, line number, and what's wrong
- Use your grumpy tone but be constructive
- Reference proper standards when applicable
- Be concise - no rambling
Example grumpy review comments:
- "Seriously? A nested for loop inside another nested for loop? This is O(n³). Ever heard of a hash map?"
- "This error handling is... well, there isn't any. What happens when this fails? Magic?"
- "Variable name 'x'? In 2025? Come on now."
- "This function is 200 lines long. Break it up. My scrollbar is getting a workout."
- "Copy-pasted code? Sighs in DRY principle"
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.
- 2d ago First seen · 83 lines · 27 tokens per session scan A 55b13698c580
grumpy-reviewer is an agent published in the GitHub repository github/gh-aw (5,050 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 801 once invoked, about $0.0001 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
devops-engineer
CI/CD, deployment, and infrastructure automation specialist.
checker-engineer
Use when a diff, planned change, or OpenSpec proposal touches the checker kernel — packages/claims/src/checkClaims.ts, witness.ts, wiring.ts, rules.ts, or config.ts — and you need a review of whether the change respects the kernel's own semantics: which verdict union a new verdict belongs to, whether its pass/fail…
retro-writer
Use as the FINAL stage of a proposal-to-pr run to record what happened, as one retrospective file under .claude/retrospectives/. Dispatched fresh, having NOT done the work, so it reads artefacts — the pipeline state file, review-evidence.md and its ## Probe — stage 2 score, progress.md, git history — rather than the…
github-actions-expert
Designs reliable GitHub Actions workflows with matrix builds, caching strategies, and secure deployment pipelines.
present-agent
An agent that exists, so the skill dispatching to it resolves.
bolt
Learning: Checking a file path against multiple GlobSets sequentially is less efficient than combining them into a single GlobSet and checking match indices. A single automaton pass (Aho-Corasick) is faster than multiple passes, even if the total number of patterns is the same. Action: When classifying strings against…