address-review

A command workflow for handling review feedback on a pull request, which is a proposed code change submitted for review. It reads comments, decides whether each needs a fix, should become a separate issue, or needs an explanation, then tests and submits the result.

In plain words
What is it for?
Reading pull-request reviews, fixing introduced problems, filing follow-up GitHub issues for unrelated findings, replying to disagreements, and running build, test, type-check, and lint checks.
Why use it?
It turns scattered review comments into tracked engineering work and helps ensure legitimate fixes are tested before submission.

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/cloudflare/vinext/address-review
Clone the repo
git clone --depth 1 https://github.com/cloudflare/vinext
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 492 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.00014 $0.00492
Opus 5 $0.00007 $0.00246
Sonnet 5 $0.00003 $0.00098
Haiku 4.5 $0.00001 $0.00049

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

Security

Grade A, and why

address-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 3d 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.

.opencode/commands/address-review.md · 80 lines

What it actually says

Address review comments on PR #$ARGUMENTS for cloudflare/vinext.

Step 1: Read all review feedback

gh pr view $ARGUMENTS --comments
gh api repos/cloudflare/vinext/pulls/$ARGUMENTS/reviews
gh api repos/cloudflare/vinext/pulls/$ARGUMENTS/comments

Step 2: Categorize each comment

For every review comment, decide:

  • Fix needed: A legitimate issue introduced by this PR. Fix it.
  • Out of scope / pre-existing: A real problem, but not introduced by this PR. File a GitHub issue to track it.
  • Disagree: The reviewer is wrong or it's a style preference. Reply explaining why.

Step 3: Make fixes

Work in ../vinext-fix-$ARGUMENTS/:

  1. Address each legitimate comment with a code fix
  2. Run the full check suite:
    pnpm run build
    pnpm test
    pnpm run typecheck
    pnpm run lint
    
  3. Commit: fix: address review feedback
  4. Push

Step 4: File follow-up issues

For each out-of-scope finding, create a tracked issue:

gh issue create \
  --title "<concise description>" \
  --body "Identified during review of #$ARGUMENTS.

## Context
<what was found and why it matters>

## Suggested approach
<if you have one>"

Do NOT skip this. The whole point is to avoid losing track of work.

Step 5: Reply to review comments

For each comment that was addressed, reply confirming the fix:

gh api repos/cloudflare/vinext/pulls/$ARGUMENTS/comments/{comment_id}/replies \
  -f body="Fixed in <commit sha>"

For disagreements, reply with your reasoning.

Step 6: Enable auto-merge

gh pr merge $ARGUMENTS --auto --squash --delete-branch

Step 7: Summary

Print a final summary:

  • Comments addressed (with commit references)
  • Follow-up issues filed (with issue numbers and links)
  • Auto-merge status
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. 3d ago First seen · 80 lines · 14 tokens per session scan A 47bfa0637bdd

Subscribe to this mod's changes

address-review is a command published in the GitHub repository cloudflare/vinext (8,722 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 492 once invoked, about $0.0001 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-08-30.