github-pr-feedback

A command for sorting comments and automated suggestions on a GitHub pull request, which is a proposed change to a code repository. It produces a Markdown table separating feedback that needs a fix from feedback that can be declined, postponed, or answered.

In plain words
What is it for?
Use it to review GitHub reviewer comments, bot reports, or pasted suggestions and decide which code or documentation changes are justified.
Why use it?
It turns scattered review comments into a clear decision record. It helps distinguish concrete bugs and missing checks from speculative refactoring or unnecessary changes.

Command for Gemini CLI

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/mfmezger/ai_agent_dotfiles/github-pr-feedback
Clone the repo
git clone --depth 1 https://github.com/mfmezger/ai_agent_dotfiles

Made for: Gemini CLI.

Per session 84 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,729 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.00084 $0.01729
Opus 5 $0.00042 $0.00864
Sonnet 5 $0.00017 $0.00346
Haiku 4.5 $0.00008 $0.00173

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

Security

Grade A, and why

github-pr-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.

gemini/.gemini/commands/github-pr-feedback.md · 198 lines

How it starts

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

GitHub PR Feedback Triage

Turn GitHub pull request feedback into a concise, defensible markdown triage report. The goal is to help the user decide which comments require code changes and which can be safely declined, deferred, or answered without changing code.

Review Lens

Always keep the karpathy-guidelines skill in mind when judging PR feedback. Bias toward simple, surgical fixes with clear success criteria:

  • Do not accept feedback that adds speculative abstractions, broad refactors, or configurability the PR does not need.
  • Do not reject feedback that identifies a concrete bug, unclear assumption, or missing verification just because the fix is inconvenient.
  • Prefer the smallest code or documentation change that resolves the reviewer concern.
  • Surface uncertainty directly in the reasoning instead of pretending the answer is more certain than the evidence supports.

Prerequisites

  • Use gh when feedback must be fetched from GitHub.
  • gh must be installed and authenticated for live PR access.
  • Run bundled Python scripts with uv run when available. Use uvx only for external Python command-line tools; this skill's local helper script should be run with uv run.
  • If the user pasted the feedback directly, do not fetch from GitHub unless they ask you to verify the current PR state.

Input Sources

Prefer the most direct available input:

  1. Pasted feedback in the conversation.
  2. A PR URL or PR number provided by the user.
  3. The PR associated with the current branch.

If no PR or feedback is available, ask the user for either a PR URL/number or the feedback text.

Fetching GitHub Feedback

Prefer the bundled fetch script because it collects the PR summary, top-level comments, reviews, inline review comments, review thread resolution state, file list, and checks in one repeatable command.

Run the bundled fetch script with uv run:

uv run ../skills/github-pr-feedback/scripts/fetch_pr_feedback.py <pr-url-or-number> --out /tmp/pr-feedback.json --summary

Read the full file on GitHub · 198 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 · 198 lines · 84 tokens per session scan A 1073cd195377

Subscribe to this mod's changes

github-pr-feedback is a command published in the GitHub repository mfmezger/ai_agent_dotfiles (5 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 1,729 once invoked, about $0.0004 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-31.