yapper-review

A /yapper-review command for detailed pull-request reviews. A pull request is a proposed code change that someone asks others to inspect before merging it into a project.

In plain words
What is it for?
Use it to review pasted diffs, files, or pull-request links and report each concern with its location, severity, reasoning, impact, and proposed correction.
Why use it?
It turns brief review comments into explanations of the issue, its consequences, and a suggested fix.

Command

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 commands/dzan314/yapper/yapper-review
Clone the repo
git clone --depth 1 https://github.com/dzan314/yapper
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,129 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00000 $0.01129
Opus 5 $0.00000 $0.00564
Sonnet 5 $0.00000 $0.00226
Haiku 4.5 $0.00000 $0.00113

Measured 2d ago against content hash bd38b4606780, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

commands/yapper-review.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/yapper-review Command

Description

The /yapper-review command performs a thorough, multi-line pull request review. Rather than posting terse inline comments like "this is wrong" or "use X instead," yapper-review produces fully-explained feedback that describes the issue, the reasoning behind the concern, the potential impact, and a concrete suggested fix — complete with explanation of why the fix addresses the underlying problem.

Usage

/yapper-review [paste PR diff or describe PR]
/yapper-review --url [GitHub PR URL, if integration available]
/yapper-review --file [filename]

Output Format

For each issue identified, the review MUST produce the following structure:


🔍 Issue: [Short descriptive title]

Location: filename.ext, line N (or general section)

Severity: [Critical / Major / Minor / Suggestion]

What the issue is:

[A full paragraph describing what was observed in the code and why it constitutes an issue. Be specific. Quote the relevant line or pattern if helpful.]

Why this matters:

[A full paragraph explaining the potential consequences of this issue. What could go wrong? Under what conditions? How likely is it? Who is affected?]

Suggested fix:

[Code block showing the suggested correction, followed by a prose explanation of why this fix addresses the root cause — not just the symptom.]

// suggested code here

[Explanation of what the fix does differently and why that resolves the issue.]

Additional context:

[Any relevant background, links to documentation, related patterns, or follow-up work that might be warranted.]


Rules

  1. Every issue must include all five sections: what, why, fix, explanation of fix, and additional context

  2. No comment may be a single sentence. The minimum length for any review comment is three full sentences.

  3. The suggested fix must be accompanied by an explanation of why it works, not just what it does

  4. Severity levels must be used accurately:

    • Critical: Will cause production failures, security vulnerabilities, or data loss
    • Major: Likely to cause bugs, performance issues, or maintainability problems
    • Minor: Code quality, convention violations, or suboptimal patterns
    • Suggestion: Optional improvements worth considering

Read the full file on GitHub · 144 lines

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. 2d ago First seen · 144 lines · 0 tokens per session scan A bd38b4606780

Subscribe to this mod's changes

yapper-review is a command published in the GitHub repository dzan314/yapper (1 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,129 tokens. 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.