pr-management

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

A workflow for managing GitHub pull requests, which are proposed code changes submitted for review. It covers opening, updating, assigning, refreshing, closing, and merging them.

In plain words
What is it for?
It is for creating pull requests, changing their descriptions or reviewers, updating them with the latest base-branch changes, and merging them after checks pass.
Why use it?
It keeps pull-request details and branches current throughout review, while separating closing a request from merging it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for creating pull requests, changing their descriptions or reviewers, updating them with the latest base-branch changes, and merging them after checks pass.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saidsef/mcp-github-pr-issue-analyser/pr-management
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 saidsef/mcp-github-pr-issue-analyser --skill pr-management
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-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/saidsef/mcp-github-pr-issue-analyser/pr-management.svg)](https://agentmods.dev/skills/saidsef/mcp-github-pr-issue-analyser/pr-management)
Your own site
<a href="https://agentmods.dev/skills/saidsef/mcp-github-pr-issue-analyser/pr-management"><img src="https://agentmods.dev/badge/skills/saidsef/mcp-github-pr-issue-analyser/pr-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,332 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.00022 $0.02332
Opus 5 $0.00011 $0.01166
Sonnet 5 $0.00004 $0.00466
Haiku 4.5 $0.00002 $0.00233

Measured yesterday against content hash 1ed1c1c6e80a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pr-management 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 yesterday.

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-management/SKILL.md · 205 lines

How it starts

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

PR Management

Open pull requests, keep them current, and merge them once they are ready.

Prerequisites

  • repo_owner and repo_name for the target repository
  • The head branch must already be pushed before creating a PR
  • GitHub token with repo write access

Workflow

Opening a PR

  1. Call list_repo_labels to see the label names the repository defines
  2. Call create_pr with title, body, head branch, base branch and labels
  3. Pass draft=True while the work is still in progress
  4. The mcp label is appended automatically, so do not pass it yourself

Updating a PR

  1. Call update_pr to change any subset of the title, body, state, base branch and labels. This is the one to reach for, since it leaves the fields you omit alone
  2. Call update_pr_description only when replacing both the title and the body together
  3. Call set_pr_draft to mark a draft ready for review, or to put a PR back into draft
  4. Call update_assignees to set the assignees
  5. Call update_pr_branch when the base branch has moved on and the PR needs the latest upstream commits

Closing a PR

  1. Call update_pr with state="closed". Reopen with state="open"
  2. Closing is not merging. A closed PR keeps its branch and its comments

Merging a PR

  1. Call get_pr_status_checks and require overall == "passing", per the pr-analysis skill
  2. Confirm the review decision is an approval
  3. Ask the user in chat and get an explicit yes before calling merge_pr. The tool does not prompt and the merge cannot be undone
  4. Call merge_pr with an explicit commit_title

Tool Parameters

create_pr

Parameter Type Default Description
repo_owner str - GitHub organisation or username
repo_name str - Repository name
title str - PR title, see Title Convention
body str - PR description in Markdown
head str - Source branch name
base str - Target branch name, e.g. main
draft bool False Open as a draft PR
labels list[str] | None None Labels to apply. Omit to leave the PR unlabelled

Read the full file on GitHub · 205 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. yesterday Changed · +19 lines 1ed1c1c6e80a
  2. 7d ago First seen · 186 lines · 22 tokens per session scan A 6aa9a6fcb9a0

Subscribe to this mod's changes

pr-management is a skill published in the GitHub repository saidsef/mcp-github-pr-issue-analyser (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 22 tokens to every session and 2,332 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.