pr-analyzing

pr-analyzing is a skill for Claude Code from shopwareLabs/ai-coding-tools. It costs 56 tokens per session (1,464 once invoked), scanned A, original, MIT.

A workflow for analyzing a specific GitHub pull request, which is a proposed code change under review, using GitHub data and related code research.

In plain words
What is it for?
Use it to review a PR, assess its impact, and research the code relationships it may affect.
Why use it?
It helps you understand a pull request’s scope, architectural effects, and connections beyond the files listed in the change.

Skill for Claude Code

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

Part of the code-contribution-analysis plugin — 2 skills shipped together

Good fit Use it to review a PR, assess its impact, and research the code relationships it may affect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shopwarelabs/ai-coding-tools/pr-analyzing
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 shopwareLabs/ai-coding-tools --skill pr-analyzing
Clone the repo
git clone --depth 1 https://github.com/shopwareLabs/ai-coding-tools

Made for: Claude Code.

Or install code-contribution-analysis, the plugin that ships this one along with the rest of its 2 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 pr-analyzing

README.md
[![agentmods](https://agentmods.dev/badge/skills/shopwarelabs/ai-coding-tools/pr-analyzing/github.svg)](https://agentmods.dev/skills/shopwarelabs/ai-coding-tools/pr-analyzing)
Your own site
<a href="https://agentmods.dev/skills/shopwarelabs/ai-coding-tools/pr-analyzing"><img src="https://agentmods.dev/badge/skills/shopwarelabs/ai-coding-tools/pr-analyzing/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 pr-analyzing

Your own site · 80×15
<a href="https://agentmods.dev/skills/shopwarelabs/ai-coding-tools/pr-analyzing"><img src="https://agentmods.dev/badge/skills/shopwarelabs/ai-coding-tools/pr-analyzing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 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.00056 $0.01464
Opus 5.5 $0.00022 $0.00586
Sonnet 5.5 $0.00011 $0.00293
Haiku 4.5 $0.00006 $0.00146

Measured 1mo ago against content hash a1c577f2c6bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-analyzing 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 1mo 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.

plugins/code-contribution-analysis/skills/pr-analyzing/SKILL.md · 110 lines

How it starts

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

PR Analyzing

Analyze a GitHub pull request by combining authoritative PR data from GitHub with semantic code research from ChunkHound. Produces a structured analysis of scope, impact, and architectural context.

Do not activate for generic code questions that do not reference a specific PR.

Prerequisites

Requires the chunkhound-integration companion plugin. The skill calls mcp__plugin_chunkhound-integration_ChunkHound__code_research at Step 3 and stops with an error if that tool is not callable — see Errors.

PR data is fetched from GitHub using whatever access the session has available (a GitHub MCP server, the gh CLI, or direct API calls).

Input

  • Required: PR number
  • Optional: Repository as owner/name — defaults to the current repository context
  • Optional: Triage reasoning — context from the caller about why analysis was requested (e.g., "flagged because it touches 12 files across Checkout and Payment"). Treat as a hint for research focus, not required input.

Workflow

Step 1 — Fetch PR data

Fetch the following from GitHub, in order:

  1. PR metadata — title, body, author, labels, state
  2. Changed files — list with additions/deletions per file
  3. Unified diff
  4. Reviews — decisions and top-level review bodies
  5. Inline code review comments

Use whatever GitHub access is available in the session. Collect everything before Step 2. On error (PR not found, access denied, no GitHub access), stop and report to the user.

Step 2 — Assess scope

From the fetched data, determine:

  • File count and spread — how many files changed and how many distinct directories or top-level areas they span
  • Volume — total additions and deletions
  • Labels — area labels, type labels (feature, bugfix, breaking change), and any flags
  • Review complexity — number of reviews, inline comment volume, whether reviews are contentious or unanimous

This assessment drives how much research depth Step 3 warrants.

Step 3 — Research architectural impact

Read the full file on GitHub · 110 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. 1mo ago First seen · 110 lines · 56 tokens per session scan A a1c577f2c6bd

Subscribe to this mod's changes

pr-analyzing is a skill published in the GitHub repository shopwareLabs/ai-coding-tools (45 stars, last pushed 4d ago), licensed MIT. It adds 56 tokens to every session and 1,464 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

Other skills, from other repositories

audit-comment-residue

Read-only classifier that flags residue in code comments: history narration, plan or session references, conversational asides, ticket or PR back-references, origin notes, and workarounds with no link or removal condition. Use when asked to 'audit code comments' or report which comments only make sense with the chat…

melodic-software/claude-code-plugins · 96 tokens

improve

Codebase scan for module-level friction (shallow modules, seam leaks, locality gaps): an HTML candidate report, then a Design-It-Twice interview on the chosen one. Use when 'improve architecture', 'find deepening opportunities', 'shallow modules', 'design it twice', 'compare alternative interfaces', 'make code more…

melodic-software/claude-code-plugins · 118 tokens

code-review

CI code-review lane for a GitHub pull request. High-signal correctness and maintainability findings only, scoped out of security when a security lane exists. Use when: 'CI code review', 'claude-review lane', '/review:code-review', or a reusable workflow invokes the org code-review plugin command.

melodic-software/claude-code-plugins · 63 tokens

refactoring

Use when restructuring code without changing behavior -- extracting functions, renaming, moving files, reducing duplication, migrating between patterns (JS to TS, CJS to ESM), or addressing code smells. Covers safe refactoring workflows for any language.

Sagargupta16/claude-skills · 51 tokens

review-pr

Comprehensive PR review -- full branch diff against base, commit-by-commit analysis, breaking change detection, conventional commit verification.

n24q02m/claude-plugins · 28 tokens

clean-code

Use when the user writes new Python, or asks for review, refactor, or cleanup of Python code, names, comments/docstrings, functions, or tests. Applies Robert Martin's complete Clean Code catalog -- naming, functions, comments, DRY, boundary conditions, and tests -- to the code being changed.

Sagargupta16/claude-skills · 66 tokens