pr-creator

pr-creator is a skill for Claude Code, Codex from mblode/agent-skills. It costs 55 tokens per session (2,937 once invoked), scanned A, original, MIT.

A tool for creating or updating GitHub pull requests, which are proposed code changes sent for review. It writes short descriptions, can add a Linear issue identifier, and can tidy noisy commit history when needed.

In plain words
What is it for?
Use it to prepare PR titles and descriptions, update an existing PR, reorganise messy commits, and add guidance for reviewing large changes.
Why use it?
It makes a pull request easier for reviewers to understand without turning it into a long generated report.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to prepare PR titles and descriptions, update an existing PR, reorganise messy commits, and add guidance for reviewing large changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mblode/agent-skills/pr-creator
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 mblode/agent-skills --skill pr-creator
Clone the repo
git clone --depth 1 https://github.com/mblode/agent-skills

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-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/mblode/agent-skills/pr-creator/github.svg)](https://agentmods.dev/skills/mblode/agent-skills/pr-creator)
Your own site
<a href="https://agentmods.dev/skills/mblode/agent-skills/pr-creator"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/pr-creator/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-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/mblode/agent-skills/pr-creator"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/pr-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,937 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 warn 7 Sept 2026
  • Socket pass 9 Oct 2026
  • Snyk pass 9 Oct 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 36
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00055 $0.02937
Opus 5.5 $0.00022 $0.01175
Sonnet 5.5 $0.00011 $0.00587
Haiku 4.5 $0.00006 $0.00294

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

Security

Grade A, and why

pr-creator 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 1mo 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.

skills/pr-creator/SKILL.md · 160 lines

How it starts

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

pr-creator

Write PR descriptions like a developer posting in Slack, not an AI summarizing a diff. The reviewer has none of your context, so the body answers what the diff cannot: why, what it costs if wrong, and where you want their view. The diff answers what changed.

  • IS: creating or updating a GitHub PR's title, body, draft state, and reviewers, attaching visuals for a UI change, plus the commit restructuring and review path that make a large diff readable.
  • IS NOT: changing the code in the diff or reviewing it for bugs (use tidy), watching CI and review comments after the PR exists (use pr-babysitter), or cutting npm releases (use autoship).

Reference Files

File Read When
references/pr-polish.md Commits contain fixup, WIP, or "address review" noise, the diff exceeds 500 lines, or the user asks to polish, restructure, squash, or split the PR

Workflow

Copy this checklist to track progress:

PR creation progress:
- [ ] Inspect the current branch and diff against the existing PR base, or the discovered default branch merge-base
- [ ] Existing PR? gh pr view --json url,state,isDraft (state OPEN means edit, not create)
- [ ] Linear ID from branch, commits, prompt, or issue link; no ID means no prefix
- [ ] Noisy commits or a >500-line diff? references/pr-polish.md, before pushing
- [ ] PR template present? Read it (paths under Templates)
- [ ] Draft title and body against Rules and Anti-patterns
- [ ] git push -u origin HEAD
- [ ] gh pr create (or gh pr edit); then gh pr view --json url,title and return the URL
- [ ] UI change with a video or screenshots? gh pr edit <n> --attach <file> after the final body, then gh pr view <n> --json body

Do not ask the user to approve the description first; the point is speed. They can ask for a rewrite and you run gh pr edit.

Rules

  1. Title. With a Linear ID: ABC-123: Add auth flow. Without one: Add auth flow. Under 60 characters, no trailing period. If the repo lints PR titles (a semantic-pull-request or commitlint workflow under .github/workflows/), use its shape and put the ID at the end: feat: add auth flow (ABC-123). Linear links on the ID wherever it sits in the title.
  2. Body. One short paragraph: what changed and why it matters. Length follows the change; a one-line body is fine for a one-line fix.
  3. No fake why. If the reason is not in the prompt, the Linear issue, the branch, the commits, or the diff, leave it out rather than inventing one.
  4. Risk and input only when real. One Risk: line for migrations, billing, auth, permissions, irreversible writes, wide blast radius, or a subtle behavior change. One Input wanted: line when a decision in the diff is still open and the reviewer's view would change it; name the decision, never "thoughts welcome". Otherwise nothing.
  5. Testing only if real. Say what you ran only if you ran it. Never a Test plan section, never checkboxes.
  6. Partial work. If this PR does not finish the Linear issue, keep the ID out of the title and write Part of ABC-123 in the body. Linear's default automation moves a linked issue to Done when the PR merges; the non-closing magic word links without closing.
  7. Draft and reviewers only when asked. --draft for "draft" or "WIP"; gh pr ready promotes it later, gh pr ready --undo demotes. --reviewer alice,org/team only for people the user named; CODEOWNERS already requests owners.
  8. Stop after the useful content. The harness's attribution setting owns the PR footer (Generated with Claude Code, session link). Never hand-write one, and never strip one the harness or a repo policy appends. Everything above the footer is this skill's; its one-paragraph body replaces the harness's default Summary and Test plan sections.

Read the full file on GitHub · 160 lines

Files

What ships with it

2 files 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. 1mo ago Changed · +20 lines 23b05abaae25
  2. 1mo ago Changed · -1 lines · -21 tokens per session 296010427cf5
  3. 1mo ago Changed · +1 tokens per session 9ce5ec7f80d1
  4. 1mo ago Changed · +3 lines 639b657eb634
  5. 1mo ago Changed 43710f8fc48c
  6. 2mo ago Changed · -4 lines · -141 tokens per session 233343941999
  7. 2mo ago First seen · 142 lines · 216 tokens per session scan A 5d6f2f85676b

Subscribe to this mod's changes

pr-creator is a skill published in the GitHub repository mblode/agent-skills (191 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,937 once invoked, about $0.0002 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-30.

Related

pr-creator compared with skills from other repositories

pr-creator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-creatormblode/agent-skillsSkill191todayMITA55Claude Code, Codex
githubNousResearch/hermes-agentSkill262ktodayMITA19Claude Code, Codex
pr-takeoverclosedloop-ai/claude-pluginsSkill124todayApache-2.0A64Claude Code
pr-descriptionpetekp/claude-code-setupSkill4914d agoMITA50Claude Code, Codex
diffctxnikolay-e/diffctxSkill63d agoApache-2.0A57Claude Code
github-code-reviewgraniet/kheishSkill2122d agoApache-2.0A41Claude Code, Codex
github-pr-workflowStarryCod/cogitumSkill125mo agoMITD20Claude Code, Codex