create-pr

create-pr is a skill for Claude Code from yonatangross/orchestkit. It costs 44 tokens per session (4,593 once invoked), scanned A, original, MIT.

A pull-request creation helper that validates a branch, formats the title, runs checks, and generates a structured summary before opening a pull request. A pull request is a request to review and merge code changes.

In plain words
What is it for?
Use it to open feature, bug-fix, refactoring, or emergency-fix pull requests on GitHub, GitLab, Bitbucket, or GitHub Enterprise.
Why use it?
It catches common problems before review and reduces the manual work of preparing a consistent pull request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to open feature, bug-fix, refactoring, or emergency-fix pull requests on GitHub, GitLab, Bitbucket, or GitHub Enterprise.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

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/yonatangross/orchestkit/create-pr/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/create-pr)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/create-pr"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/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/yonatangross/orchestkit/create-pr"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/create-pr.svg" alt="Reviewed on agentmods" width="80" 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 4,593 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 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.04593
Opus 5.5 $0.00018 $0.01837
Sonnet 5.5 $0.00009 $0.00919
Haiku 4.5 $0.00004 $0.00459

Measured 6d ago against content hash ee528a5ebbf2, 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/coderabbit-harvest.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ork/skills/create-pr/SKILL.md · 399 lines

How it starts

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

Create Pull Request

Comprehensive PR creation with validation. All output goes directly to GitHub PR.

Quick Start

create-pr
create-pr "Add user authentication"

CC ≥ 2.1.119 multi-host note (M122): PR creation works against GitHub, GitLab, Bitbucket, and GitHub Enterprise. Detect the target host from the configured remote (git remote -v) and branch on the host family for the right CLI:

Host family CLI
github / github-enterprise gh pr create (with GH_HOST=<host> for GHE)
gitlab / gitlab-self glab mr create
bitbucket bb pr create

Custom enterprise URLs: prUrlTemplate setting (see src/skills/configure/ and src/skills/chain-patterns/references/pr-from-platform.md).

Argument Resolution

TITLE = "$ARGUMENTS"  # Optional PR title, e.g., "Add user authentication"
# If provided, use as PR title. If empty, generate from branch/commits.
# $ARGUMENTS[0] is the first token (CC 2.1.59 indexed access)

Base Branch Resolution

Derive the base branch from the remote. Never hardcode dev or main; repos differ.

BASE=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||')
BASE=${BASE:-main}   # ref missing (fresh/shallow clone)? run: git remote set-head origin -a

Every $BASE below refers to this value.

Stacked on another open PR

When the work depends on an open PR ("a PR that depends on PR #50"), that PR's head branch is the base, not $BASE:

PARENT=50
PARENT_BRANCH=$(gh pr view "$PARENT" --json headRefName -q .headRefName)
git fetch origin && git rebase "origin/$PARENT_BRANCH"   # pre-flight: sync with the parent
gh pr create --base "$PARENT_BRANCH" --title "$TYPE(#$ISSUE): ... [2/3]" \
  --body "Stacked on #$PARENT. Do not merge into the parent branch."

Phase 1's guard still applies: never open from main or dev, never with a dirty tree. Record git rev-parse "origin/$PARENT_BRANCH" in the body; after the parent is squash-merged that sha is the upstream argument that git rebase --onto "origin/$BASE" <that-sha> <branch> needs, and the branch itself is gone. Squash recovery, depth cap, draft trap: Read("references/stacked-pr.md").

Read the full file on GitHub · 399 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. 6d ago Changed ee528a5ebbf2
  2. 8d ago Changed ed24178c42fb
  3. 12d ago Changed · -2 tokens per session 00e569e39745
  4. 27d ago Changed · -43 tokens per session b241bbc7d02f
  5. 2mo ago Changed 3fbdd0fb219a
  6. 2mo ago Changed · -1 lines 45e7d1270651
  7. 2mo ago Changed · -113 lines 48959d610098
  8. 2mo ago Changed · +18 lines 2b649101d50e
  9. 2mo ago Changed 39c49d1956e3
  10. 2mo ago First seen · 495 lines · 89 tokens per session scan A 06065e5f6d39

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 4,593 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-09-03.

Related

create-pr compared with skills from other repositories

create-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-pryonatangross/orchestkitSkill312todayMITA44Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
resolve-drive-promnigent-ai/omnigentSkill12ktodayApache-2.0A21Claude Code, Codex
feature-publishomnigent-ai/omnigentSkill12ktodayApache-2.0A24Claude Code, Codex
otto-review-remediationomnigent-ai/omnigentSkill12ktodayApache-2.0A16Claude Code, Codex
describe-prhumanlayer/humanlayerSkill13k8d agoApache-2.0A15Claude Code, Codex
otto-drive-promnigent-ai/omnigentSkill12ktodayApache-2.0A14Claude Code, Codex