address-pr-review-locally

address-pr-review-locally is a skill for Claude Code from Anselmoo/mcp-ai-agent-guidelines. It costs 68 tokens per session (1,667 once invoked), scanned B, original, MIT.

A local workflow for handling review comments on a GitHub pull request, a proposed set of code changes shared for review. It fetches unresolved feedback, groups it by urgency, applies fixes, runs tests, and can optionally reply.

In plain words
What is it for?
Use it to inspect GitHub review threads, fix requested code changes, verify them with tests, and optionally respond to reviewers.
Why use it?
It keeps review work in the coding environment and helps separate important correctness or security issues from lower-priority comments.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/generate-tool-definitions.py.

Good fit Use it to inspect GitHub review threads, fix requested code changes, verify them with tests, and optionally respond to reviewers.

Compare 6 skills 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/Anselmoo/mcp-ai-agent-guidelines
agentmods
npx agentmods add skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally

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 address-pr-review-locally

README.md
[![agentmods](https://agentmods.dev/badge/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally/github.svg)](https://agentmods.dev/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally)
Your own site
<a href="https://agentmods.dev/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally"><img src="https://agentmods.dev/badge/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally/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 address-pr-review-locally

Your own site · 80×15
<a href="https://agentmods.dev/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally"><img src="https://agentmods.dev/badge/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00068 $0.01667
Opus 5 $0.00034 $0.00834
Sonnet 5 $0.00014 $0.00333
Haiku 4.5 $0.00007 $0.00167

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

Security

Grade B, and why

address-pr-review-locally scanned grade B with 1 finding 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| `src/cli.ts` | 381 | P1 | `hooks setup` overwrites `~/.claude/settings.json` without merge | ✅ Fixed |
.claude/skills/address-pr-review-locally/SKILL.md · 141 lines

How it starts

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

Address PR Review Locally

End-to-end workflow for reading a GitHub pull request review, triaging its inline comments, implementing fixes locally, and verifying correctness — without switching to the browser.

When to Use

  • A Copilot, human, or bot reviewer has left inline comments on a PR
  • You want to address review feedback without leaving the editor
  • A review is in COMMENTED or CHANGES_REQUESTED state with unresolved threads

Procedure

1. Fetch the Review

Use mcp_github_pull_request_read twice in parallel:

method: get_reviews       → list all review objects; note state + review ID
method: get_review_comments → full list of review threads with is_resolved/is_outdated

Focus on threads where is_resolved: false and is_outdated: false. Skip is_outdated: true unless the underlying concern still applies to the current HEAD.

2. Triage Comments

Group unresolved threads into three buckets before writing any code:

Priority Trigger Action
P1 — Correctness/Safety Bug, data loss, security, destructive overwrite without guard Fix first
P2 — Correctness/Accuracy Misleading docs, wrong test label, logic gap Fix second
P3 — Style/Improvement Refactoring suggestion, docblock wording, minor naming Fix last or defer

If a comment includes a suggestion block (GitHub's diff suggestion format), use it as the basis for the fix — but verify it compiles and passes tests before accepting verbatim.

3. Apply Fixes Locally

For each P1 → P2 → P3 comment:

  1. Open the file at the line referenced in comment.path + comment.line
  2. Read surrounding context (±20 lines) to understand the full function/block
  3. Apply the fix — prefer the smallest change that addresses the reviewer's concern
  4. Note the discussion thread ID (comment.html_url) for later reply

Common fix patterns from this project:

  • Misleading doc comment → update the comment only, not the implementation
  • YAML frontmatter without quoting → wrap the interpolated value in YAML-safe quotes
  • Hardcoded platform path (e.g. "/") → use path.parse(current).root instead
  • Overwrite-without-merge → read existing JSON, deep-merge, then write back
  • Guard-bypass with --yes flag → keep the existing guard, require --force for destructive overwrite
  • Non-monotonic progress counter → use a shared atomic counter incremented after each task resolves
  • TTY check via exception → check process.stdout.isTTY or spinner.isEnabled explicitly
  • Docs referencing files not in the npm package → add a [!NOTE] block explaining availability

Read the full file on GitHub · 141 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. 12d ago First seen · 141 lines · 68 tokens per session scan B c2638613a070

Subscribe to this mod's changes

address-pr-review-locally is a skill published in the GitHub repository Anselmoo/mcp-ai-agent-guidelines (6 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,667 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gitlab-merge-request-review

Review and merge GitLab merge requests via the gitlab-api MCP server — by default the MRs assigned to you or where you are a reviewer, optionally scoped to a project, group, or the whole instance. Read an MR, gate it on a green pipeline (pipeline → jobs → job log), then approve, accept/merge, or set…

Knuckles-Team/gitlab-api · 158 tokens

review-changes

Review current staged, unstaged, and untracked Git changes for correctness and regression risk, grounded in changed paths, diffs, focused file reads, and nearby test discovery. Use when the user asks to review local changes or a working-tree diff; do not use for broad repository audits.

caiowilson/MCP-memento · 62 tokens

pr-analysis

Analyse a GitHub pull request by fetching its metadata, diff, linked issues and CI status.

saidsef/mcp-github-pr-issue-analyser · 18 tokens

commit-suggest

Conventional Commits message generator from current staged + unstaged changes. Read-only — runs only allowlisted git commands, never commits, never pushes, never adds AI co-author trailers. Output is plain text the user pastes. Triggers: "suggest a commit", "commit message", "commit msg", "write a commit", "gen…

ggemba/squad-mcp · 0 tokens

enable-journaling

Opt-in setup for auto-journaling capture plumbing. Copies bundled PostToolUse hook scripts into .squad/hooks/ and prints the .claude/settings.json snippet to wire them up. Capture-only — squad behaviour does NOT change until a follow-up release adds distillation + retrieval. Triggers: "enable journaling", "turn on…

ggemba/squad-mcp · 0 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/pubmed-mcp-server · 139 tokens