gh-create-pr

A procedure for creating or updating GitHub pull requests, which propose a branch’s changes for review and merging.

In plain words
What is it for?
Use it to prepare a PR title and description, include changed areas and validation commands, and verify the resulting PR details.
Why use it?
It keeps the pull request description aligned with the repository template and records only the checks that were actually performed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/soundblaster/xcodemcpwrapper/gh-create-pr
Any agent
npx skills add SoundBlaster/XcodeMCPWrapper --skill gh-create-pr
Clone the repo
git clone --depth 1 https://github.com/SoundBlaster/XcodeMCPWrapper

Made for: Claude Code, Codex.

Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.00445
Opus 5 $0.00030 $0.00222
Sonnet 5 $0.00012 $0.00089
Haiku 4.5 $0.00006 $0.00044

Measured 3d ago against content hash 07f2bc287a4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gh-create-pr 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 3d 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.

.agents/skills/gh-create-pr/SKILL.md · 58 lines

What it actually says

GH Create PR

Workflow

  1. Confirm branch and working tree are ready.
  • Run git status -sb.
  • Ensure commits are complete and branch is pushed.
  1. Collect PR context.
  • Read .github/PULL_REQUEST_TEMPLATE.md when present.
  • Gather summary of changes and executed checks from commits and task artifacts.
  • Prefer factual check results and avoid claiming manual tests that were not run.
  1. Create or update PR with gh.
  • Create:
gh pr create --base main --head <branch> --title "<title>" --body-file <body.md>
  • Update existing PR description:
gh pr edit <number-or-url> --body-file <body.md>
  1. Use template-accurate checkboxes.
  • Mark only items that were actually completed.
  • Leave unchecked items for unperformed steps.
  • Keep wording from the template unchanged; only fill values/check states.
  1. Verify PR state.
  • Open or print PR URL from gh output.
  • Optionally run:
gh pr view <number-or-url> --json number,title,url,headRefName,baseRefName

Body Authoring Rules

  • Keep description short and concrete.
  • Include changed areas, bug/task ID when available, and validation commands.
  • Mention warnings or non-blocking caveats if present.
  • Do not include markdown sections not in the template when template compliance is requested.

Fast Patterns

Template-first PR update:

  1. Read template.
  2. Create body.md following the exact headings/order.
  3. Apply with gh pr edit <pr> --body-file body.md.

New PR from current branch:

  1. Build body.md from template.
  2. Run gh pr create --base main --head $(git branch --show-current) ....
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. 3d ago First seen · 58 lines · 59 tokens per session scan A 07f2bc287a4c

Subscribe to this mod's changes

gh-create-pr is a skill published in the GitHub repository SoundBlaster/XcodeMCPWrapper (20 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 445 once invoked, about $0.0003 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-30.