fetch-pr-review

fetch-pr-review is a skill for Claude Code from eai-org/agent-toolkit. It costs 52 tokens per session (1,845 once invoked), scanned A, original, MIT.

A fetch-only tool for collecting all review feedback on a pull request, a proposed code change, and saving it as a Markdown file.

In plain words
What is it for?
Retrieving pull-request details, inline discussions, review decisions, and conversation comments from supported code-hosting platforms.
Why use it?
It preserves the full feedback in one handoff file without changing code, judging comments, or replying to reviewers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-toolkit plugin — 31 skills shipped together

Good fit Retrieving pull-request details, inline discussions, review decisions, and conversation comments from supported code-hosting platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eai-org/agent-toolkit/fetch-pr-review
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.

Any agent
npx skills add eai-org/agent-toolkit --skill fetch-pr-review
Clone the repo
git clone --depth 1 https://github.com/eai-org/agent-toolkit

Made for: Claude Code.

Or install agent-toolkit, the plugin that ships this one along with the rest of its 31 skills.

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 fetch-pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/eai-org/agent-toolkit/fetch-pr-review/github.svg)](https://agentmods.dev/skills/eai-org/agent-toolkit/fetch-pr-review)
Your own site
<a href="https://agentmods.dev/skills/eai-org/agent-toolkit/fetch-pr-review"><img src="https://agentmods.dev/badge/skills/eai-org/agent-toolkit/fetch-pr-review/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 fetch-pr-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eai-org/agent-toolkit/fetch-pr-review"><img src="https://agentmods.dev/badge/skills/eai-org/agent-toolkit/fetch-pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,845 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.01845
Opus 5.5 $0.00021 $0.00738
Sonnet 5.5 $0.00010 $0.00369
Haiku 4.5 $0.00005 $0.00185

Measured today against content hash 4cc26dc7b513, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fetch-pr-review 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 today.

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.

skills/fetch-pr-review/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.

PR review fetcher

Fetch only — capture the review feedback left on a pull request; never fix code, reply, or judge the comments. Output is a self-contained .PR-REVIEW.md a fresh session can pick up and act on (e.g. via /refine-pr-review). Someone else's PR to review is not this skill's job: use review-code-assistant or maintainer-review when available (look in the agent's skills and plugin dirs, as manual-only skills are missing from the in-session list).

Source & access

Identify the platform from the PR URL (host shape) and fetch through the matching MCP server or CLI — e.g. GitHub MCP / gh for GitHub PRs, Azure DevOps MCP for ADO pull requests. Use whichever equivalent tools are connected; tool name prefixes vary by config. Fetch each stream through its last page, thread replies included: metadata, review verdicts, inline threads with their resolution and outdated flags (usually a thread-level API, not the flat comment list), conversation comments. If the input is ambiguous, or no matching MCP/CLI is available, ask the user / stop — don't guess.

Golden rule: never assume — ask

Every uncertainty is confirmed with the user before proceeding: a thread's resolved status, the planning directory, the slug, anything ambiguous in between. A plausible guess is a question, not an answer.

Your task

  1. Resolve the input. Accept a full PR URL; extract repo/project and PR id. If unrecognizable, ask.
  2. Fetch the PR metadata — title, description, source/target branch, head commit (short SHA), state, author, linked ticket/work item — and all feedback:
    • inline review threads (file, line, code context, full reply chain, permalink);
    • top-level review verdicts (approve / request changes / …) with their summary text — one per submitted review, never one per reviewer;
    • general conversation comments;
    • bot comments (CI, linters, coverage, …) — captured too, but grouped separately from human feedback. Mark every comment by the PR author (author).
  3. Determine each thread's status (see Status flags).
  4. Decide the output directory — the planning directory of the task the PR belongs to, following the project's/user's convention for where plans live (default: .agents/plans/). Guess the task's existing home from PR context (linked ticket id, branch name, PR title) — its <id>-<slug>/ subdirectory, or the shared parent/group directory holding its <id>-<slug>.TICKET.md when the ticket lives flat there — and confirm the guess with the user; when not sure, always ask. If no matching exists, propose a new <id>-<slug> (ticket id prefix when bound to one, kebab-case slug from the PR title), confirm, and create it.
  5. Pick the file name — <slug>.PR-REVIEW.md, where <slug> is the planning directory name — in a shared directory, the ticket's own <id>-<slug> instead (e.g. 1234-some-task.PR-REVIEW.md). If it already exists, a new review round (see Later rounds) writes <slug>.PR-REVIEW-2.md, -3, … — never overwrite; history per round is kept on purpose.
  6. Write the document (see structure below).
  7. Print the result — project-relative paths and the next-step line.

Read the full file on GitHub · 141 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +1 lines 4cc26dc7b513
  2. 8d ago Changed · -10 lines e34d5ecdf38e
  3. 1mo ago Changed · +6 lines 49b036cfbe1a
  4. 1mo ago Changed · +24 lines · +1 tokens per session 6f52bc2ac59a
  5. 1mo ago Changed 8f5ae1a199b9
  6. 2mo ago Changed · +1 lines 94b00dcd0656
  7. 3mo ago First seen · 119 lines · 51 tokens per session scan A c97f2a3312be

Subscribe to this mod's changes

fetch-pr-review is a skill published in the GitHub repository eai-org/agent-toolkit (116 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,845 once invoked, about $0.0002 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-30.

Related

fetch-pr-review compared with skills from other repositories

fetch-pr-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fetch-pr-revieweai-org/agent-toolkitSkill116yesterdayMITA52Claude Code
review-checklistzachjxyz/jvnSkill28mo agoMITA15Claude Code
gsd-ns-reviewopen-gsd/gsd-coreSkill12ktodayMITA16Claude Code
pr-summaryscenario-labs/skillsSkill4.3ktodayMITA42Codex
reviewopen-gsd/gsd-piSkill1.4k2d agoMITA32Claude Code, Codex
spec-kitty-runtime-reviewPriivacy-ai/spec-kittySkill1.7k8d agoMITA85Claude Code, Codex
refactor-advisorlaolaoshiren/claude-code-skills-zhSkill927yesterdayMITA104Claude Code