pr-analysis

pr-analysis is a skill for Claude Code, Codex from saidsef/mcp-github-pr-issue-analyser. It costs 18 tokens per session (1,366 once invoked), scanned A, original, Apache-2.0.

A read-only review workflow for a GitHub pull request, which is a proposed set of code changes. It collects the request's details, changed files, linked issues, and automated check results.

In plain words
What is it for?
Use it to inspect a pull request's metadata and diff, see which issues it may close, check CI status, and produce a combined review.
Why use it?
It puts the main review information in one analysis, helping you understand what a change does and whether its checks passed before merging.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/saidsef/mcp-github-pr-issue-analyser/pr-analysis
Any agent
npx skills add saidsef/mcp-github-pr-issue-analyser --skill pr-analysis
Clone the repo
git clone --depth 1 https://github.com/saidsef/mcp-github-pr-issue-analyser

Made for: Claude Code, Codex.

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 pr-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/saidsef/mcp-github-pr-issue-analyser/pr-analysis.svg)](https://agentmods.dev/skills/saidsef/mcp-github-pr-issue-analyser/pr-analysis)
Your own site
<a href="https://agentmods.dev/skills/saidsef/mcp-github-pr-issue-analyser/pr-analysis"><img src="https://agentmods.dev/badge/skills/saidsef/mcp-github-pr-issue-analyser/pr-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.01366
Opus 5 $0.00009 $0.00683
Sonnet 5 $0.00004 $0.00273
Haiku 4.5 $0.00002 $0.00137

Measured 5d ago against content hash 81fbb3378e06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-analysis 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 5d 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.

src/mcp_github/skills/pr-analysis/SKILL.md · 131 lines

How it starts

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

PR Analysis

Read-only inspection of a pull request: what it changes, what it closes, and whether CI is green.

Prerequisites

  • repo_owner, repo_name and pr_number for the target PR
  • GitHub token with repo read access

Workflow

  1. Fetch metadata - call get_pr_content for title, description, author, state and timestamps
  2. Fetch the diff - call get_pr_diff for the raw unified diff of every changed file
  3. Fetch linked issues - call get_pr_linked_issues to see what merging will auto-close
  4. Fetch CI status - call get_pr_status_checks to see whether the head commit is green
  5. Synthesise - combine the four into a structured analysis

Steps 3 and 4 do not depend on steps 1 and 2, so issue them together.

Tool Parameters

All four tools take the same three arguments.

Parameter Type Description
repo_owner str GitHub organisation or username
repo_name str Repository name
pr_number int Pull request number

get_pr_content

Returns PRContent with exactly these fields:

Field Type Description
title str PR title
description str | None PR body in Markdown
author str Login of the PR author
created_at str ISO 8601 timestamp
updated_at str ISO 8601 timestamp
state str open or closed

Nothing else is returned. Draft status, base and head refs, labels and mergeable are not available from this tool. state is closed for both merged and abandoned PRs and does not distinguish the two.

To learn whether a PR is a draft, call list_open_issues_prs with filtering="repo" and read is_draft on the matching entry.

get_pr_diff

Parameter Type Default Description
repo_owner str - GitHub organisation or username
repo_name str - Repository name
pr_number int - Pull request number
max_bytes int 131072 Cap on the patch returned. 0 asks the size without reading the patch

Read the full file on GitHub · 131 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. 5d ago First seen · 131 lines · 18 tokens per session scan A 81fbb3378e06

Subscribe to this mod's changes

pr-analysis is a skill published in the GitHub repository saidsef/mcp-github-pr-issue-analyser (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,366 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

atelier

Two-agent post-generation quality gate for vibe-coded applications. Deterministic, gradeable ruleset enforcing UI/UX design-system craft and backend architectural soundness.

anshrajore/atelier-mcp · 34 tokens

mcp-dino

Skill "mcp-dino" from shennawardana23/mcp-dino, covering skill.md — dino-mcp development skills, skill: build & run, quick build (go only, uses existing ui), full build (vite ui + go) and run in dev mode (verbose).

shennawardana23/mcp-dino · 0 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens

resolve-pr-comments-stack

Resolve unresolved PR review comments across an entire Graphite (gt) stack of many PRs, bottom-up, in one working directory. Use when asked to "go through this stack and resolve comments", "clean up review comments across the whole stack", or given a list/range of PR numbers that form (or partially form) a gt stack.…

maximhq/bifrost · 99 tokens

split-commit-into-stack

Split one oversized commit or branch into a stack of independently reviewable Graphite (gt) PRs - deciding what genuinely separates, what is atomic and must stay whole, and proving each lower PR builds and passes without the ones above it. Use when asked to "split this PR", "this commit is too big", "break this into a…

maximhq/bifrost · 96 tokens