create-pr

create-pr is a skill for Claude Code, Codex from petermefrandsen/rtk-inspector. It costs 44 tokens per session (2,058 once invoked), scanned A, original, MIT.

A pull-request creation workflow for GitHub. A pull request is a proposed set of code changes for review before merging into a shared branch.

In plain words
What is it for?
It helps open PRs, create Conventional Commits-style titles, summarize branch changes, use the repository PR template, and assign the project when GitHub access allows it.
Why use it?
It turns an already committed and pushed branch into a PR with a title and description that follow the repository’s rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/petermefrandsen/rtk-inspector/create-pr
Any agent
npx skills add petermefrandsen/rtk-inspector --skill create-pr
Clone the repo
git clone --depth 1 https://github.com/petermefrandsen/rtk-inspector

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/petermefrandsen/rtk-inspector/create-pr.svg)](https://agentmods.dev/skills/petermefrandsen/rtk-inspector/create-pr)
Your own site
<a href="https://agentmods.dev/skills/petermefrandsen/rtk-inspector/create-pr"><img src="https://agentmods.dev/badge/skills/petermefrandsen/rtk-inspector/create-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,058 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.1 $0.00044 $0.02058
Opus 5 $0.00022 $0.01029
Sonnet 5 $0.00009 $0.00412
Haiku 4.5 $0.00004 $0.00206

Measured 5d ago against content hash b943e5371389, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 5d 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.

.github/skills/create-pr/SKILL.md · 203 lines

How it starts

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

create-pr

Mission

Create a GitHub pull request for the current branch with a valid Conventional Commits title and an auto-generated description that summarizes the actual changes.

Prerequisites

  • git and gh CLI installed and authenticated (gh auth status).
  • The gh token must include the project scope for project assignment. If missing, run: gh auth refresh -s project
  • The current branch is not main.
  • Changes have been committed and pushed to the remote.

PR title rules

The title must pass the repository PR title checker. The authoritative pattern is defined in .github/pr-title-checker-config.json — read that file at runtime to get the current CHECKS.regexp value rather than relying on a hardcoded pattern.

Additional prose rules (not fully enforced by the checker):

  • The ! breaking-change indicator must appear after the optional scope and before the :, never between the type and the scope (for example feat!(scope): is invalid; feat(scope)!: is correct).
  • The : must be followed by a single space and a non-empty description.

Allowed types: feat, fix, docs, test, ci, chore, refactor.

Format:

<type>[optional scope][!]: <description>

Examples:

  • feat(cmdb): add bulk object creation endpoint
  • fix(auth): handle expired JWT gracefully
  • docs: update README with new env vars
  • refactor(services)!: replace requests with httpx

PR description template

The body must use the structure from .github/pull_request_template.md:

# Pull request description

## Describe your changes

<auto-generated summary — see below>

## Issue ticket number and link

<leave blank or fill if the user provides one>

## Checklist before requesting a review

- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] New or updated tests follow the AAA pattern and `test_<feature>_should_<expected behavior>_when_<state under test>` naming convention

Read the full file on GitHub · 203 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. 5d ago First seen · 203 lines · 44 tokens per session scan A b943e5371389

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository petermefrandsen/rtk-inspector (1 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 2,058 once invoked, about $0.0002 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-31.