create-pr

create-pr is a skill for Claude Code from mthines/agent-skills. It costs 115 tokens per session (4,503 once invoked), scanned A, original, MIT.

A tool for preparing a GitHub pull request, which is a request to merge code into a project. It writes the description, pushes the branch, opens a draft, and runs a review-and-fix cycle.

In plain words
What is it for?
It creates one pull request or proposes several smaller dependency-ordered requests, then can review comments, apply fixes, simplify the changes, and update the description.
Why use it?
It reduces the work of explaining a change, getting it ready for review, and handling feedback before finalizing the request.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions OpenCode.

Part of the mthines-agent-skills plugin — 49 skills, 3 agents shipped together

Good fit It creates one pull request or proposes several smaller dependency-ordered requests, then can review comments, apply fixes, simplify the changes, and update the description.

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

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 49 skills, 3 agents.

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 create-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/create-pr"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,503 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
SkillSpector: 3 findings, 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 Prompt Injection · line 35
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 39
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 44
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00115 $0.04503
Opus 5.5 $0.00046 $0.01801
Sonnet 5.5 $0.00023 $0.00901
Haiku 4.5 $0.00012 $0.00450

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

Security

Grade A, and why

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 16d 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/delivery/create-pr/SKILL.md · 259 lines

How it starts

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

Create Pull Request

Write a short, narrative PR description that tells reviewers why the change exists and what to expect in the diff, open it as a draft, converge it, and watch CI.

Contents

Modes

Parse $ARGUMENTS. --split selects an alternate workflow; the other flags scale down the default full review + simplify loop (Step 6.5) and compose with both workflows.

Mode / Flag Trigger Behaviour
default No flag One PR for the whole branch; Step 6.5 runs Skill("review-loop", "<pr-url> --no-ci").
split --split, -s, or first positional token split 2–4 dependency-ordered draft PRs (hard cap 5), executed only after user approval. See Split Mode.
no-review --no-review Step 6.5 runs only polish simplify once.
no-simplify --no-simplify Step 6.5 runs only pr-reviewer (one-shot, no apply).
quick --quick Step 6.5 runs only Skill("polish", "quick").
no-quality --no-quality anywhere Skip Step 6.5 entirely. Wins over every other quality flag.
no-ui-verify --no-ui-verify anywhere Skip the default-on Step 6.4.
no-pre-review --no-pre-review anywhere Skip the default-on Step 5.5.
no-post-review --no-post-review anywhere Skip Step 6.5 only; the PR gets no posted review. aw passes it because the branch already converged locally.
attach / no-media --attach <file> (repeatable) / --no-media --attach adds a local file to Step 6.2 ahead of the branch's captures; --no-media skips Step 6.2.

Read the full file on GitHub · 259 lines

Files

What ships with it

8 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. 16d ago Changed · -181 lines · -108 tokens per session 3ab58dc08f81
  2. 20d ago Changed · +46 lines · +17 tokens per session 206e37a2504b
  3. 1mo ago Changed 122a7537519d
  4. 1mo ago Changed · -76 lines · -17 tokens per session 51ec53aaae97
  5. 1mo ago Changed · -1 lines · +1 tokens per session c9c669baa33f
  6. 1mo ago Changed · -45 lines · +34 tokens per session 05c620440adb
  7. 2mo ago Changed · +20 lines a7717b7f0772
  8. 2mo ago Changed · +17 lines · -72 tokens per session 797ffcef47f0
  9. 2mo ago First seen · 479 lines · 260 tokens per session scan A 6616f153c6bb

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository mthines/agent-skills (20 stars, last pushed 2d ago), licensed MIT. It adds 115 tokens to every session and 4,503 once invoked, about $0.0005 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.

Related

create-pr compared with skills from other repositories

create-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-prmthines/agent-skillsSkill202d agoMITA115Claude Code
local-pr-reviewPubx-ai/skillsSkill61mo agononeA170Claude Code, Codex
local-reviewPubx-ai/skillsSkill61mo agononeA158Claude Code, Codex
raise-prPubx-ai/skillsSkill61mo agononeA117Claude Code, Codex
checktw93/WazaSkill7.5k4d agoMITA41Claude Code
ego-lite-simplifycitrolabs/ego-liteSkill22kyesterdayMITA68Codex
antfu-create-prantfu/skillsSkill6.0kyesterdayMITA54Claude Code, Codex