review-pr-comments

review-pr-comments is a command for coding agents from pablomarin/claude-codex-forge. It costs 0 tokens per session (518 once invoked), scanned A, original, MIT.

A command for reading and processing comments on a GitHub pull request, which is a proposed code change awaiting review.

In plain words
What is it for?
Use it after a pull request is created and reviewers or automated tools have left feedback, before the change is merged.
Why use it?
It gathers both general review feedback and line-specific comments so developers can address issues before merging.

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/pablomarin/claude-codex-forge/review-pr-comments
Clone the repo
git clone --depth 1 https://github.com/pablomarin/claude-codex-forge

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-pr-comments

README.md
[![agentmods](https://agentmods.dev/badge/commands/pablomarin/claude-codex-forge/review-pr-comments.svg)](https://agentmods.dev/commands/pablomarin/claude-codex-forge/review-pr-comments)
Your own site
<a href="https://agentmods.dev/commands/pablomarin/claude-codex-forge/review-pr-comments"><img src="https://agentmods.dev/badge/commands/pablomarin/claude-codex-forge/review-pr-comments.svg" alt="Measured on agentmods" height="20"></a>
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 518 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.00518
Opus 5 $0.00000 $0.00259
Sonnet 5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

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

Security

Grade A, and why

review-pr-comments 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.

commands/review-pr-comments.md · 46 lines

How it starts

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

/review-pr-comments — Host-Neutral Review Feedback

Use after a PR receives automated or human feedback. The active Claude Code or Codex host remains the main agent for this session; reviewer choice is independent.

1. Read the Current Review Set

Resolve the current PR and fetch its review summaries, inline comments, unresolved conversations, base, and head SHA. If no PR exists, stop. Record the review-set fingerprint and current candidate in .forge/local/state.md; never treat stale comments or a previous candidate receipt as current.

2. Evaluate Before Editing

For each comment, identify the requested change and verify it against code, requirements, and project rules. Do not agree performatively:

  • valid finding — name the affected behavior and smallest correction;
  • already fixed/stale — cite the current evidence;
  • incorrect or conflicting — explain the technical objection;
  • ambiguous or consequential — dispatch the Forge opinion workflow with the active host entry point (/opinion in Claude Code; $opinion in Codex), relevant artifact, and question.

Use automatic other-engine review with visible fresh same-engine fallback. A finding is not an engine failure and never triggers fallback.

Treat the current fingerprinted review set as one broad review, use one repair pass, then one closure review limited to named findings and direct regressions. Do not start a second broad scan for unchanged comments/candidate. One still-open reachable P0/P1 may receive one surgical repair and verification; then surface the blocker to the developer. P3, cosmetic, and speculative concerns do not keep the loop open.

3. Repair and Re-Certify

Apply accepted fixes with TDD where behavior changes, then run focused owning checks. Run the Forge-owned simplification phase for code mutations. Stage all intended changes, freeze a new candidate, and rerun the final gates that the mutation can affect: distinct code-spec and code-quality reviews, verify-app, and applicable E2E. Persist candidate-bound receipts under .forge/local/; any later mutation invalidates affected evidence.

Read the full file on GitHub · 46 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. yesterday Changed · -36 lines b23163c42378
  2. 5d ago First seen · 82 lines · 0 tokens per session scan A 8d40cf35857e

Subscribe to this mod's changes

review-pr-comments is a command published in the GitHub repository pablomarin/claude-codex-forge (5 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 518 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.