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.5 $0.00027 $0.00667
Sonnet 5.5 $0.00014 $0.00333
Haiku 4.5 $0.00007 $0.00167

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

address-pr-review-locally compared with skills from other repositories

address-pr-review-locally next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
address-pr-review-locallyAnselmoo/mcp-ai-agent-guidelinesSkill65d agoMITB68Claude Code
pull-request-authoringgithub/github-mcp-serverSkill35k3d agoMITA62Claude Code, Codex
git-workflowmodelcontextprotocol/typescript-sdkSkill14kyesterdaynoneA10Claude Code, Codex
git-workflowmodelcontextprotocol/csharp-sdkSkill4.7k5d agononeA19Claude Code, Codex
zen-comprehensive-reviewEliasOulkadi/shokuninSkill1121mo agoMITA63Claude Code, Codex
gitlab-reviewstructured-world/gitlab-mcpSkill8todayApache-2.0A47Claude Code, Codex
pr-analysissaidsef/mcp-github-pr-issue-analyserSkill6todayApache-2.0A21Claude Code, Codex