address_review

address_review is a command for Codex from saffron-health/opencode-gui. It costs 0 tokens per session (424 once invoked), scanned A, original, MIT.

A procedure for handling comments left during a pull-request review, where a pull request is a proposed set of code changes for merging.

In plain words
What is it for?
Fetching review threads, changing the code, running type checks, builds, and linting, then committing, pushing, and resolving addressed comments.
Why use it?
It gathers feedback in one place and helps ensure every requested change is made, tested, and resolved.

Command for Codex

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/saffron-health/opencode-gui/address_review
Clone the repo
git clone --depth 1 https://github.com/saffron-health/opencode-gui

Made for: Codex.

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 address_review

README.md
[![agentmods](https://agentmods.dev/badge/commands/saffron-health/opencode-gui/address_review.svg)](https://agentmods.dev/commands/saffron-health/opencode-gui/address_review)
Your own site
<a href="https://agentmods.dev/commands/saffron-health/opencode-gui/address_review"><img src="https://agentmods.dev/badge/commands/saffron-health/opencode-gui/address_review.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 424 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.00424
Opus 5 $0.00000 $0.00212
Sonnet 5 $0.00000 $0.00085
Haiku 4.5 $0.00000 $0.00042

Measured 4d ago against content hash fc7050e1adad, 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 4d 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.

.agents/commands/address_review.md · 39 lines

What it actually says

Address PR review comments systematically.

Process

  1. Get review comments: Use gh api graphql to fetch all review threads and comments for the PR. (If a PR number is not provided in the input, look up the PR for the current branch).

  2. Analyze comments: Review all the feedback to understand what changes are needed

  3. Address each comment systematically: For each review comment:

    • Make the requested code changes
    • Verify the changes fix the issue raised
    • Add explanatory comments if the reviewer requested clarification
    • Test changes to ensure they don't break existing functionality
  4. Quality assurance: Run type-check, build, and lint to ensure all changes are correct

  5. Commit and push: Stage and commit all changes with an appropriate message and push.

  6. Mark comments resolved: Query PR review threads with gh api graphql to get thread IDs and outdated status. Resolve all addressed threads using mutation { resolveReviewThread(input: {threadId: "THREAD_ID"}) { thread { isResolved } } }. Always resolve outdated threads.

Implementation Pattern

// Query review threads:
gh api graphql -f query='query { repository(owner: "owner", name: "repo") { pullRequest(number: N) { reviewThreads(first: 100) { nodes { id isResolved isOutdated comments { nodes { body } } } } } } }'

// Resolve thread:
gh api graphql -f query='mutation { resolveReviewThread(input: {threadId: "THREAD_ID"}) { thread { isResolved } } }'

Notes

  • Only address reviews from human users; ignore bot reviews (e.g., Claude) unless explicitly requested
  • Use sub-agents to handle independent review comments in parallel when possible
  • Always verify changes don't introduce new issues
  • If a review comment requires clarification, document the approach taken
  • Focus on the specific issues raised rather than making additional changes
  • Mark outdated comments as resolved automatically since they no longer apply to current code
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. 4d ago First seen · 39 lines · 0 tokens per session scan A fc7050e1adad

Subscribe to this mod's changes

address_review is a command published in the GitHub repository saffron-health/opencode-gui (58 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 424 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-30.