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.
git clone --depth 1 https://github.com/Anselmoo/mcp-ai-agent-guidelinesnpx agentmods add skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locallyWrote 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.
[](https://agentmods.dev/skills/anselmoo/mcp-ai-agent-guidelines/address-pr-review-locally)<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.
<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>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.
| Model | Per session | Once 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 |
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 | 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
COMMENTEDorCHANGES_REQUESTEDstate 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:
- Open the file at the line referenced in
comment.path+comment.line - Read surrounding context (±20 lines) to understand the full function/block
- Apply the fix — prefer the smallest change that addresses the reviewer's concern
- 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.
"/") → usepath.parse(current).rootinstead - Overwrite-without-merge → read existing JSON, deep-merge, then write back
- Guard-bypass with
--yesflag → keep the existing guard, require--forcefor destructive overwrite - Non-monotonic progress counter → use a shared atomic counter incremented after each task resolves
- TTY check via exception → check
process.stdout.isTTYorspinner.isEnabledexplicitly - Docs referencing files not in the npm package → add a
[!NOTE]block explaining availability
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.
- 3mo ago First seen · 141 lines · 68 tokens per session scan B c2638613a070
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.
address-pr-review-locally compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| address-pr-review-locallyAnselmoo/mcp-ai-agent-guidelines | Skill | 6 | 5d ago | MIT | B | 68 | Claude Code |
| pull-request-authoringgithub/github-mcp-server | Skill | 35k | 3d ago | MIT | A | 62 | Claude Code, Codex |
| git-workflowmodelcontextprotocol/typescript-sdk | Skill | 14k | yesterday | none | A | 10 | Claude Code, Codex |
| git-workflowmodelcontextprotocol/csharp-sdk | Skill | 4.7k | 5d ago | none | A | 19 | Claude Code, Codex |
| zen-comprehensive-reviewEliasOulkadi/shokunin | Skill | 112 | 1mo ago | MIT | A | 63 | Claude Code, Codex |
| gitlab-reviewstructured-world/gitlab-mcp | Skill | 8 | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| pr-analysissaidsef/mcp-github-pr-issue-analyser | Skill | 6 | today | Apache-2.0 | A | 21 | Claude Code, Codex |