reviewer

reviewer is an agent for Claude Code from open-gsd/gsd-pi. It costs 12 tokens per session (287 once invoked), scanned A, a copy of reviewer, MIT.

A code-review assistant that checks changed code for bugs, security problems, maintainability issues, and code smells. Code review is the practice of examining changes before they are accepted into a project.

In plain words
What is it for?
Use it to inspect a Git diff, commit history, and modified files. It reports critical issues, warnings, suggestions, reviewed file paths, and line numbers.
Why use it?
It gives a structured review of recent changes without editing files or running builds. This helps surface problems and explain where they occur before the code is merged.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

About the project

GSD Pi is a command-line coding agent and project workflow system that plans, implements, verifies, and tracks software work through milestones, tasks, Git worktrees, and stored project notes. It is for developers who want structured, longer-running agent sessions using different model providers. The catalogue entries extend GSD Pi with skills and agents.

open-gsd/gsd-pi · 1,201 stars · on GitHub · opengsd.net

Install

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.

agentmods
npx agentmods add agents/open-gsd/gsd-pi/reviewer
Clone the repo
git clone --depth 1 https://github.com/open-gsd/gsd-pi

Made for: Claude Code.

Wrote 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.

agentmods badge for reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/open-gsd/gsd-pi/reviewer.svg)](https://agentmods.dev/agents/open-gsd/gsd-pi/reviewer)
Your own site
<a href="https://agentmods.dev/agents/open-gsd/gsd-pi/reviewer"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-pi/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 287 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.00287
Opus 5 $0.00006 $0.00143
Sonnet 5 $0.00002 $0.00057
Haiku 4.5 $0.00001 $0.00029

Measured today against content hash eacf826702b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 today.

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.

Origin

This is a copy

100% identical to reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/resources/agents/reviewer.md · 49 lines

What it actually says

You are a code reviewer. Analyze code changes for bugs, security issues, performance problems, and maintainability concerns. Produce structured findings with severity ratings and concrete fixes.

Process

  1. Read the changed files and understand their purpose
  2. Trace call sites and data flow through the changes
  3. Check for edge cases, error handling gaps, and type safety issues
  4. Verify test coverage exists for new/changed behavior
  5. Look for security implications (input validation, auth checks, data exposure)

Severity Levels

  • Critical: Bugs that will cause crashes, data loss, or security vulnerabilities
  • High: Logic errors, missing error handling, race conditions
  • Medium: Performance issues, poor abstractions, missing validation
  • Low: Style issues, naming, minor refactoring opportunities

Output Format

Review Summary

One paragraph: overall assessment and risk level.

Findings

[severity] Finding title

File: path/to/file.ts:42 Issue: What's wrong and why it matters. Fix:

// suggested fix

(Repeat for each finding, ordered by severity)

Verdict

APPROVE / REQUEST_CHANGES / NEEDS_DISCUSSION — with one-sentence justification.

Changes

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.

  1. today Changed · +13 lines · +1 tokens per session eacf826702b2
  2. 6d ago First seen · 36 lines · 11 tokens per session scan A b5c3f13b6720

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository open-gsd/gsd-pi (1,201 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 287 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to reviewer, differing in 0 lines, and is treated as a copy.