pr-creator

pr-creator is a skill for Claude Code from rstackjs/agent-skills. It costs 23 tokens per session (484 once invoked), scanned A, a copy of pr-creator, MIT.

A guide for creating a pull request, which is a proposed set of repository changes for review and merging.

In plain words
What is it for?
Use it to check the branch and local changes, create a suitable branch when needed, read the pull-request template, and prepare a concise title and description.
Why use it?
It helps follow the repository's branch rules, title format, review template, and writing conventions, while avoiding direct changes on the default branch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Part of the rstack plugin — 31 skills shipped together

Good fit Use it to check the branch and local changes, create a suitable branch when needed, read the pull-request template, and prepare a concise title and description.

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

Made for: Claude Code.

Or install rstack, the plugin that ships this one along with the rest of its 31 skills.

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/rstackjs/agent-skills/pr-creator/github.svg)](https://agentmods.dev/skills/rstackjs/agent-skills/pr-creator)
Your own site
<a href="https://agentmods.dev/skills/rstackjs/agent-skills/pr-creator"><img src="https://agentmods.dev/badge/skills/rstackjs/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/rstackjs/agent-skills/pr-creator"><img src="https://agentmods.dev/badge/skills/rstackjs/agent-skills/pr-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 484 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.
Origin 100% copy Near-identical to another mod 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.00023 $0.00484
Opus 5.5 $0.00009 $0.00194
Sonnet 5.5 $0.00005 $0.00097
Haiku 4.5 $0.00002 $0.00048

Measured 1mo ago against content hash 7545309b5b4a, 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.

Origin

This is a copy

100% identical to pr-creator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/pr-creator/SKILL.md · 49 lines

How it starts

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

Pull request creator

Steps

  1. Confirm the current branch with git branch --show-current. If it is the default branch, create and switch to a new branch before doing anything else. Use a descriptive branch name, preferably feat-<topic> or fix-<topic>.

  2. Review local changes with git status --short. Do not revert unrelated user changes. Before creating the PR, ensure the intended changes are committed and never commit directly on the default branch.

  3. Read the repository's PR template when available and follow its current headings and guidance.

  4. Draft the PR title in the repository's standard format. If the repository uses Conventional Commits, common patterns include:

    • feat(core): add ...
    • fix(types): ...
    • docs: ...
    • refactor(types): ...
    • chore(ci): ... for CI workflow, check, or release automation changes
    • chore(deps): ...
    • release: v1.2.0
  5. Write the PR body in concise, clear English.

    • Explain the problem or motivation and why it matters, then describe the approach and resulting behavior.
    • Include API, compatibility, or migration details when they help reviewers assess the change.
    • Keep typical descriptions to a few short sentences. Focus on the key changes rather than a file-by-file summary.
    • Include tests, documentation, and validation required by repository guidelines or the template. Otherwise, mention them only when central to the change or relevant to review risk.
  6. Include relevant issue, discussion, or design links alongside the context they support, following the template's guidance. For dependency upgrades, link to the target version's release notes or tag when available.

  7. Push the branch only after re-checking the branch name. Never push the default branch directly.

  8. Create the PR. When running in Codex, use the Codex GitHub connector/plugin for GitHub operations. Use gh pr create only as a fallback when the connector is unavailable.

Constraints

Read the full file on GitHub · 49 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. 1mo ago Changed 7545309b5b4a
  2. 1mo ago Changed · -8 lines 6bc664470965
  3. 1mo ago Changed · -18 tokens per session cd9d87f8adb4
  4. 2mo ago First seen · 57 lines · 41 tokens per session scan A fdb78d1ef2dd

Subscribe to this mod's changes

pr-creator is a skill published in the GitHub repository rstackjs/agent-skills (97 stars, last pushed 7d ago), licensed MIT. It adds 23 tokens to every session and 484 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to pr-creator, differing in 0 lines, and is treated as a copy.