review-feedback

review-feedback is a command for Claude Code from spencermarx/open-code-review. It costs 30 tokens per session (1,133 once invoked), scanned A, original, Apache-2.0.

A code-review assistant that checks comments from a review document, GitHub pull request, or chat against the actual code before making changes.

In plain words
What is it for?
Use it to verify review comments, update code for confirmed issues, and follow project rules while doing so.
Why use it?
It helps separate valid findings from mistaken or irrelevant feedback, reducing blind edits and missed issues.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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/spencermarx/open-code-review/review-feedback
Clone the repo
git clone --depth 1 https://github.com/spencermarx/open-code-review

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 review-feedback

README.md
[![agentmods](https://agentmods.dev/badge/commands/spencermarx/open-code-review/review-feedback.svg)](https://agentmods.dev/commands/spencermarx/open-code-review/review-feedback)
Your own site
<a href="https://agentmods.dev/commands/spencermarx/open-code-review/review-feedback"><img src="https://agentmods.dev/badge/commands/spencermarx/open-code-review/review-feedback.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 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,133 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.1 $0.00030 $0.01133
Opus 5 $0.00015 $0.00566
Sonnet 5 $0.00006 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured 2d ago against content hash 263d4fad447d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

review-feedback 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/review-feedback.md · 87 lines

How it starts

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

Review Feedback

Review a code review document, GitHub code review comment, or inline feedback. Corroborate each point against the actual implementation before acting.

Usage

After invoking, provide:

  • REVIEW SOURCE (one of the following):
    • A file path to a review markdown file (e.g., .ocr/sessions/.../final.md)
    • A GitHub PR link (e.g., https://github.com/org/repo/pull/123) pointing to a review or comment
    • Inline feedback pasted directly in the chat
  • NOTES (optional): Any additional instructions, constraints, or priorities to keep front of mind while reviewing and implementing.

Guardrails

  • You are a distinguished software engineer with deep understanding of software architecture and design patterns.
  • Think step by step — favor composition, clear boundaries, minimal scope, and root-cause fixes.
  • Verify every assumption by reading actual code; never guess at behavior.
  • Adhere to existing patterns and project standards (openspec/project.md, apps/dev-docs/docs/guides/coding-standards.md).
  • Do NOT blindly accept every piece of feedback. Use your expertise to corroborate each point against the actual implementation before acting.
  • If feedback is incorrect or based on a misunderstanding of the code, say so clearly with evidence.
  • If feedback is valid but the suggested fix is suboptimal, propose a better alternative.
  • Direct cutover rewrites only — remove all deprecated/dead/unused code; leave nothing behind.

Steps

  1. Resolve Inputs
    • REVIEW SOURCE: Determine the feedback source:
      1. If the user provided a file path, read the file in its entirety to extract all review feedback.
      2. If the user provided a GitHub PR link, use gh pr view <number> --comments or gh api repos/{owner}/{repo}/pulls/{number}/comments to fetch the review content. If the link points to a specific comment, focus on that comment; otherwise, gather all review comments.
      3. If the user provided inline feedback directly, use it as-is.
      4. If none of the above are provided or are ambiguous, stop and ask the user for clarification.
    • NOTES: Capture any additional user instructions. These take priority and should be kept front of mind throughout all subsequent steps.

Read the full file on GitHub · 87 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 · 87 lines · 30 tokens per session scan A 263d4fad447d

Subscribe to this mod's changes

review-feedback is a command published in the GitHub repository spencermarx/open-code-review (355 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,133 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-09-03.