mcp-gh-pr-mini: Skill for Claude Code

.claude/skills/gh-pr-comments/SKILL.md

gh-pr-comments is a skill for Claude Code from y-hirakaw/mcp-gh-pr-mini. It costs 34 tokens per session (248 once invoked), scanned A, original, MIT.

A tool that retrieves every comment on a GitHub pull request, including general discussion and comments attached to specific code lines.

In plain words
What is it for?
Use it to collect conversation and code-review comments for a specified repository and pull request.
Why use it?
It prevents review feedback from being missed when comments are spread across different parts of a pull request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is y-hirakaw/mcp-gh-pr-mini's own configuration. It tells Claude Code how to work on mcp-gh-pr-mini itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-gh-pr-mini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to y-hirakaw/mcp-gh-pr-mini. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/y-hirakaw/mcp-gh-pr-mini/main/.claude/skills/gh-pr-comments/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/y-hirakaw/mcp-gh-pr-mini

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 gh-pr-comments

README.md
[![agentmods](https://agentmods.dev/badge/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments/github.svg)](https://agentmods.dev/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments)
Your own site
<a href="https://agentmods.dev/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments"><img src="https://agentmods.dev/badge/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments/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 gh-pr-comments

Your own site · 80×15
<a href="https://agentmods.dev/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments"><img src="https://agentmods.dev/badge/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 248 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.
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.00034 $0.00248
Opus 5 $0.00017 $0.00124
Sonnet 5 $0.00007 $0.00050
Haiku 4.5 $0.00003 $0.00025

Measured 11d ago against content hash 7440a95d63be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gh-pr-comments 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/get_comments.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/gh-pr-comments/SKILL.md · 34 lines

What it actually says

gh-pr-comments

Retrieve all comments from a GitHub pull request, including both conversation comments and code review comments.

Command

python3 .claude/skills/gh-pr-comments/scripts/get_comments.py --owner OWNER --repo REPO --pr-number PR_NUMBER

Arguments

Argument Required Description
--owner Yes Repository owner (username or organization)
--repo Yes Repository name
--pr-number Yes Pull request number

Examples

# Get all comments on a PR
python3 .claude/skills/gh-pr-comments/scripts/get_comments.py --owner octocat --repo hello-world --pr-number 42

# Get comments from an organization repo
python3 .claude/skills/gh-pr-comments/scripts/get_comments.py --owner myorg --repo myrepo --pr-number 15
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. 11d ago First seen · 34 lines · 34 tokens per session scan A 7440a95d63be

Subscribe to this mod's changes

gh-pr-comments is a skill published in the GitHub repository y-hirakaw/mcp-gh-pr-mini (0 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 248 once invoked, about $0.0002 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.