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

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

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

A tool for changing an existing GitHub pull request, which is a proposed set of code changes for review.

In plain words
What is it for?
Changing a pull request's title, description, open or closed state, or target base branch.
Why use it?
It avoids editing pull-request details manually through the GitHub website or separate API calls.

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-update/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-update

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-update"><img src="https://agentmods.dev/badge/skills/y-hirakaw/mcp-gh-pr-mini/gh-pr-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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.00032 $0.00485
Opus 5.5 $0.00013 $0.00194
Sonnet 5.5 $0.00006 $0.00097
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

gh-pr-update 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/update_pr.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-update/SKILL.md · 68 lines

What it actually says

gh-pr-update

既存の GitHub Pull Request を更新するスキル。タイトル、説明、ステート、ベースブランチの変更に使用する。

Usage

python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
  --owner <owner> \
  --repo <repo> \
  --pr-number <number> \
  [--title <title>] \
  [--body <body>] \
  [--state open|closed] \
  [--base <base-branch>]

Arguments

Argument Required Description
--owner Yes Repository owner (username or organization)
--repo Yes Repository name
--pr-number Yes Pull request number to update
--title No New title for the pull request
--body No New description body for the pull request
--state No New state: open or closed
--base No New base branch name

At least one of --title, --body, --state, or --base must be provided.

Examples

Update the title of a PR:

python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
  --owner myorg --repo myrepo \
  --pr-number 42 \
  --title "feat: improved user authentication"

Close a PR:

python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
  --owner myorg --repo myrepo \
  --pr-number 42 \
  --state closed

Update multiple fields at once:

python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
  --owner myorg --repo myrepo \
  --pr-number 42 \
  --title "Updated title" \
  --body "Updated description with more detail" \
  --base develop
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. 2mo ago First seen · 68 lines · 32 tokens per session scan A 009311618d22

Subscribe to this mod's changes

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