wise-pr-create

wise-pr-create is a skill for Claude Code, Codex from e1024kb/wise-claude. It costs 201 tokens per session (2,041 once invoked), scanned A, original, MIT.

A workflow for creating or updating a GitHub pull request, which is a proposed code change for review, from the current Git branch.

In plain words
What is it for?
Use it when you want to open a new pull request or refresh an existing one using the branch's changes and commits.
Why use it?
It removes repetitive work such as choosing the base branch, drafting the description, and finding a related Jira issue.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the wise plugin — 39 skills, 22 agents, 1 hook shipped together

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

Made for: Claude Code, Codex.

Or install wise, the plugin that ships this one along with the rest of its 39 skills, 22 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/e1024kb/wise-claude/wise-pr-create.svg)](https://agentmods.dev/skills/e1024kb/wise-claude/wise-pr-create)
Your own site
<a href="https://agentmods.dev/skills/e1024kb/wise-claude/wise-pr-create"><img src="https://agentmods.dev/badge/skills/e1024kb/wise-claude/wise-pr-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 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.00201 $0.02041
Opus 5 $0.00101 $0.01020
Sonnet 5 $0.00040 $0.00408
Haiku 4.5 $0.00020 $0.00204

Measured 5d ago against content hash f111e46173cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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

plugins/wise/skills/wise-pr-create/SKILL.md · 215 lines

How it starts

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

/wise-pr-create — create or refresh a PR for the current branch

Why this skill exists

Opening a PR is mostly mechanical: pick a base, draft a body, run gh pr create. This skill is the narrowed surface for exactly that: it runs the draft-body and ensure-pr steps and stops, leaving reviewers (/wise-pr-add-reviewers) and the CI/review watch loop (/wise-pr-watch) to their own commands.

Single source of truth for the drafting + creation logic: plugins/wise/references/pr/draft-body.md and plugins/wise/references/pr/ensure-pr.md. This skill reads both at run time via the Read tool and follows them — and so do the -auto PR skills and the ticket-auto workflow, so behaviour stays in sync by construction. If that prose ever changes, this skill's behaviour changes too — no duplication.

Invocation

/wise-pr-create
/wise:wise-pr-create          # canonical namespaced form

No positionals, no flags. Anything the user types beyond the skill name is ignored.

Procedure

This skill does NOT probe dependencies up-front. If gh or git isn't installed, the first command below fails with a clean command not found and Claude surfaces that to the user conversationally with a pointer at /wise-init — same UX as running any other command against an incomplete environment. Skipping the pre-flight makes the skill faster on the hot path and removes a coupling between wise-pr-* and the workflow engine's registry.

1. Detect PR state

BRANCH="$(git rev-parse --abbrev-ref HEAD)"
PR_JSON="$(gh pr list --head "$BRANCH" --state open --json number,baseRefName,url --limit 1 2>/dev/null || echo '[]')"
CLOSED_JSON="$(gh pr list --head "$BRANCH" --state closed --json number,state,url --limit 3 2>/dev/null || echo '[]')"

We filter explicitly to --state open because gh pr view happily returns closed/merged PRs when the branch has nothing open, and we don't want to "refresh" a PR that's already been merged or abandoned. Closed/merged PRs for this branch are captured separately in CLOSED_JSON purely for a transparency note — a closed PR is not treated as "existing" here.

Read the full file on GitHub · 215 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 · 215 lines · 201 tokens per session scan A f111e46173cd

Subscribe to this mod's changes

wise-pr-create is a skill published in the GitHub repository e1024kb/wise-claude (4 stars, last pushed yesterday), licensed MIT. It adds 201 tokens to every session and 2,041 once invoked, about $0.0010 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.

Related

Other skills, from other repositories

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

ops-pocket

OPS on-demand: This skill should be used when the user asks to "pocket memos", "voice memo pipeline"…

Lifecycle-Innovations-Limited/claude-ops · 29 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

extract-resume

Parse a resume's uploaded PDF into structured JSON (basics, experience, projects, skills, education) and save it to the editor.

suxrobGM/jobpilot · 32 tokens