gh-address

gh-address is a command for Claude Code from synaptiai/synapti-marketplace. It costs 0 tokens per session (1,163 once invoked), scanned A, original, Apache-2.0.

A command-line workflow for working through review comments on a GitHub pull request. A pull request is a proposed code change that others review before it is merged.

In plain words
What is it for?
Use it to fetch pull-request details and comments, check unresolved threads, review each issue, make fixes, and get approval before pushing changes.
Why use it?
It helps turn scattered review comments into a checklist, clarify uncertain feedback, inspect the affected code, and apply agreed fixes systematically.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Good fit Use it to fetch pull-request details and comments, check unresolved threads, review each issue, make fixes, and get approval before pushing changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/synaptiai/synapti-marketplace/gh-address
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.

Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

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 gh-address

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-address/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-address)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-address"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-address/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-address

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-address"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-address.svg" alt="Reviewed on agentmods" width="80" 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 1,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.01163
Opus 5 $0.00000 $0.00581
Sonnet 5 $0.00000 $0.00233
Haiku 4.5 $0.00000 $0.00116

Measured 10d ago against content hash 7e14c1c90910, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gh-address 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 10d 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.

.claude/commands/gh-address.md · 178 lines

How it starts

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

Address PR #$ARGUMENTS Comments

Systematically address review feedback on a pull request.

Tool Usage: This workflow uses the AskUserQuestion tool to clarify ambiguous feedback, confirm proposed fixes, and get approval before pushing changes.

Process

  1. Fetch PR details and reviews:

    gh pr view $ARGUMENTS --json title,headRefName,state,reviews
    
  2. Fetch review comments (inline code comments):

    gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments
    
  3. Fetch PR conversation (general discussion comments):

    gh api repos/{owner}/{repo}/issues/$ARGUMENTS/comments
    
  4. Check for resolved/unresolved threads:

    gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments --jq '[.[] | select(.in_reply_to_id == null)] | length'
    
  5. Checkout PR branch (if not already on it):

    git fetch origin {headRefName}
    git checkout {headRefName}
    
  6. Create checklist of all feedback items to address

  7. For each comment:

    • Read and understand the feedback
    • Read the relevant content context

    If feedback is ambiguous, use the AskUserQuestion tool to clarify:

    • Quote the unclear comment
    • Present your interpretation options:
      • Option 1: "I interpret this as [interpretation A]"
      • Option 2: "I interpret this as [interpretation B]"
      • Option 3: "I need more context to understand"

    If you disagree with feedback, use the AskUserQuestion tool:

    • Option 1: "Implement the suggested change anyway"

    • Option 2: "Push back with explanation"

    • Option 3: "Discuss further before deciding"

    • Make the necessary changes

    • Commit with a descriptive message

  8. Preview response and get approval using the AskUserQuestion tool:

    Before pushing, show the summary of changes and response comment:

    • Option 1: "Push changes and post this response" (Recommended)
    • Option 2: "Edit response comment first"
    • Option 3: "Make additional changes before pushing"

Read the full file on GitHub · 178 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. 10d ago First seen · 178 lines · 0 tokens per session scan A 7e14c1c90910

Subscribe to this mod's changes

gh-address is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,163 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.