github-pr-feedback

github-pr-feedback is a command for Claude Code, Gemini CLI from mfmezger/ai_agent_dotfiles. It costs 84 tokens per session (1,729 once invoked), scanned A, original, MIT.

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 Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code command (commands/*.md).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is uv run ../skills/github-pr-feedback/scripts/fetch_pr_feedback.py <pr-url-or-number> --out /tmp/pr-feedback.json --summary.

Good fit Use it to review GitHub reviewer comments, bot reports, or pasted suggestions and decide which code or documentation changes are justified.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mfmezger/ai_agent_dotfiles
agentmods
npx agentmods add commands/mfmezger/ai_agent_dotfiles/github-pr-feedback

Made for: Claude Code, Gemini CLI.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback/github.svg)](https://agentmods.dev/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback)
Your own site
<a href="https://agentmods.dev/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback"><img src="https://agentmods.dev/badge/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback/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 github-pr-feedback

Your own site · 80×15
<a href="https://agentmods.dev/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback"><img src="https://agentmods.dev/badge/commands/mfmezger/ai_agent_dotfiles/github-pr-feedback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00084 $0.01729
Opus 5.5 $0.00034 $0.00692
Sonnet 5.5 $0.00017 $0.00346
Haiku 4.5 $0.00008 $0.00173

Measured 1mo ago against content hash 1073cd195377, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (7 stars, last pushed 3mo ago), licensed MIT. It adds 84 tokens to every session and 1,729 once invoked, about $0.0003 per session on Opus 5.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.