pr-management

pr-management is a skill for Claude Code, Codex from saidsef/mcp-github-pr-issue-analyser. It costs 22 tokens per session (3,523 once invoked), scanned C, 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/github.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/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-management

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 3,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.03523
Opus 5.5 $0.00009 $0.01409
Sonnet 5.5 $0.00004 $0.00705
Haiku 4.5 $0.00002 $0.00352

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

Security

Grade C, and why

pr-management scanned grade C with 1 finding 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 6d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

2. **Where a user can answer in the session, ask before calling `github_merge_pr`, and name anything that is not ready: a `failing`, `pending` or `unknown` result with the failing check names, or no approval. A yes, incl
src/mcp_github/skills/pr-management/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 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
  • The workflow scope on that token to merge a PR touching .github/workflows, which GitHub refuses without it

Workflow

Opening a PR

  1. Call github_list_repo_labels to see the label names the repository defines
  2. Write the title to the Title Convention and the body to the PR Body template below
  3. Call github_create_pr with that title, body, head branch, base branch and labels
  4. Call github_set_assignees with whoever owns the work
  5. Pass draft=True while the work is still in progress
  6. The tool appends the mcp label to any labels you pass, so leave it out of the list. Omitting labels leaves the PR unlabelled

Updating a PR

  1. Call github_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 github_set_pr_draft to mark a draft ready for review, or to put a PR back into draft
  3. Call github_set_assignees to set the assignees
  4. Call github_update_pr_branch when the base branch has moved on and the PR needs the latest upstream commits
  5. Call github_create_empty_commit with pr_number to start a new CI run under your name, such as on a Dependabot PR whose run failed on its read-only token

Closing a PR

  1. Call github_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 github_get_pr_status_checks for overall, per the pr-analysis skill, and github_list_pr_reviews for the verdicts, per the pr-review skill
  2. Where a user can answer in the session, ask before calling github_merge_pr, and name anything that is not ready: a failing, pending or unknown result with the failing check names, or no approval. A yes, including "merge it anyway", is the answer, so merge and do not refuse
  3. Where nobody can answer, as in an unattended run, the request that started the run is the user's answer. Merge when it asked for a merge, and report the check and review state with the result rather than stopping to ask
  4. Call github_merge_pr with an explicit commit_title
  5. github_merge_pr checks nothing itself and the merge cannot be undone. A refusal from GitHub, such as branch protection requiring checks or reviews, comes back as an error that no yes overrides, so report its GitHub said text per the error-handling skill

Read the full file on GitHub · 272 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. 6d ago Changed · +39 lines scan A → C b7d51d420ccb
  2. 22d ago Changed · +1 lines a09e035b4323
  3. 29d ago Changed · +1 lines 8bdcd75967e7
  4. 1mo ago Changed · +26 lines 61f2d0f2c836
  5. 1mo ago Changed · +19 lines 1ed1c1c6e80a
  6. 1mo 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 2d ago), licensed Apache-2.0. It adds 22 tokens to every session and 3,523 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). 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

release

MUST READ before preparing a release commit or GitHub release -- the blocking GitHub preflight (dev/releasepreflight.py), project.save() versioning, changelog, README, template sync verification, fresh-install smoke, and the post-push GitHub release procedure (references/github-release.md).

dylanroscover/Embody · 63 tokens

git-workflow

Branching and review conventions.

modelcontextprotocol/typescript-sdk · 10 tokens

merge-divergent-tox

Merge or compare two divergent TouchDesigner .tox/.toe binaries that git cannot three-way-merge. Load when a merge/rebase conflicts on a .tox or .toe, when asked to merge, port, reconcile, or diff two versions of a TD component, or when comparing a component across branches, machines, or TD builds.

dylanroscover/Embody · 74 tokens

watch

Watch live IDX turnover and order books for unusual activity — value surges, auto-reject approach, one-sided depth, walls appearing or withdrawn, quiet stocks waking up, UMA flags — plus delayed print-by-print attribution and end-of-day broker context. Use when the user runs /watch, or asks what is trading right now…

INo-xious/stockbit-mcp · 88 tokens

stockbit-status

Check whether the Stockbit session is still valid — main session expiry, whether trading credentials are stored, and the current trading mode. Use when the user asks "am I still logged in to Stockbit", "has my session expired", "is trading on", or when a stockbit MCP tool starts failing with an auth error.

INo-xious/stockbit-mcp · 70 tokens

stockbit-auth

Log in to Stockbit and capture the session for this server — opens the browser login flow and verifies the token was stored. Use when the user asks to log in or re-authenticate to Stockbit, or after a status check reports the session expired, HTTP 401, or logged out.

INo-xious/stockbit-mcp · 63 tokens