Borrowing it
Nothing to install: this file belongs to BlackbirdWorks/gopherstack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/BlackbirdWorks/gopherstack/main/.gemini/commands/review.mdgit clone --depth 1 https://github.com/BlackbirdWorks/gopherstackWrote 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/commands/blackbirdworks/gopherstack/review)<a href="https://agentmods.dev/commands/blackbirdworks/gopherstack/review"><img src="https://agentmods.dev/badge/commands/blackbirdworks/gopherstack/review/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/commands/blackbirdworks/gopherstack/review"><img src="https://agentmods.dev/badge/commands/blackbirdworks/gopherstack/review.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.00010 | $0.00865 |
| Opus 5.5 | $0.00004 | $0.00346 |
| Sonnet 5.5 | $0.00002 | $0.00173 |
| Haiku 4.5 | $0.00001 | $0.00086 |
Grade A, and why
review 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review code and provide a structured assessment with grading.
Arguments: $ARGUMENTS
Diff Source Resolution
Determine the diff to review based on arguments:
| Argument | Diff command | Use case |
|---|---|---|
| (none) | git diff + git diff --staged |
Review uncommitted + staged changes |
--staged |
git diff --staged |
Review only staged changes |
--branch |
git diff origin/<base>...HEAD |
Review branch diff vs base branch |
--pr <url> |
gh pr diff <url> |
Review a GitHub PR |
Step 1: Get the diff
Based on the arguments, run the appropriate diff command:
# Default (no args): uncommitted + staged
DIFF=$(git diff; git diff --staged)
# --staged: only staged
DIFF=$(git diff --staged)
# --branch: branch diff (detect base branch)
BASE=$(git rev-parse --abbrev-ref HEAD@{upstream} 2>/dev/null | sed 's|origin/||' || git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||' || echo "main")
DIFF=$(git diff origin/$BASE...HEAD)
# --pr <url>: PR diff
DIFF=$(gh pr diff <url>)
If the diff is empty, report "No changes to review" and stop.
Step 2: Review the diff
Review the diff systematically. For each issue found, classify by severity:
CRITICAL - Must fix before merge:
- Security vulnerabilities (injection, auth bypass, secrets in code)
- Data loss risks (missing transactions, unsafe deletes)
- Correctness bugs (race conditions, nil dereference, logic errors)
MAJOR - Should fix before merge:
- Logic errors that may not crash but produce wrong results
- Missing error handling on external calls
- API contract violations
- Missing tests for critical paths
MINOR - Nice to fix:
- Style inconsistencies with surrounding code
- Naming issues (unclear or misleading names)
- Missing comments on non-obvious logic
- Minor code smells
For each issue, note:
- File and line number
- Severity (CRITICAL, MAJOR, MINOR)
- Description of the issue
- Suggested fix (specific, actionable)
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 · 114 lines · 10 tokens per session scan A 2779922de1a5
review is a command published in the GitHub repository BlackbirdWorks/gopherstack (17 stars, last pushed yesterday), licensed MIT. It adds 10 tokens to every session and 865 once invoked, about $0.0000 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-11-07.
review compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reviewBlackbirdWorks/gopherstack | Command | 17 | yesterday | MIT | A | 10 | Claude Code, Gemini CLI |
| review_prsaws-samples/sample-autonomous-cloud-coding-agents | Command | 172 | today | MIT-0 | A | 0 | Claude Code |
| review_praws-samples/sample-autonomous-cloud-coding-agents | Command | 172 | today | MIT-0 | A | 0 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 116 | 5d ago | MIT | A | 35 | Claude Code |
| refactorRchGrav/claudebox | Command | 1.2k | 1mo ago | MIT | A | 9 | Claude Code |
| spec-trace-requirementsrjmurillo/ai-agents | Command | 49 | today | MIT | A | 0 | GitHub Copilot |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 49 | today | MIT | A | 0 | GitHub Copilot |