open-pr

open-pr is a skill for Claude Code from LeeJuOh/claude-code-zero. It costs 45 tokens per session (1,214 once invoked), scanned A, original, MIT.

A workflow for opening a pull request, the proposed code change that teammates review before merging it. It checks the branch, records only evidence already seen, writes a review-friendly description, and posts it when possible.

In plain words
What is it for?
Use it to push a branch and create or update a pull request with its title, summary, scope, tradeoffs, evidence, and rollback note.
Why use it?
It avoids vague change descriptions and unsupported claims about tests or results. It also includes rollback information so reviewers can understand how to undo the change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pr-for-humans plugin — 2 skills shipped together

Good fit Use it to push a branch and create or update a pull request with its title, summary, scope, tradeoffs, evidence, and rollback note.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leejuoh/claude-code-zero/open-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 LeeJuOh/claude-code-zero --skill open-pr
Clone the repo
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero

Made for: Claude Code.

Or install pr-for-humans, the plugin that ships this one along with the rest of its 2 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 open-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leejuoh/claude-code-zero/open-pr"><img src="https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,214 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.00045 $0.01214
Opus 5.5 $0.00018 $0.00486
Sonnet 5.5 $0.00009 $0.00243
Haiku 4.5 $0.00005 $0.00121

Measured today against content hash baf20430cad9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-body.mjs), 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/pr-for-humans/skills/open-pr/SKILL.md · 72 lines

How it starts

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

Open PR

Write for a reviewer who has the diff. When rules conflict, favor readability.

Steps

  1. Check the branch. With uncommitted changes, stop and ask the user to commit. Push with an upstream even when posting is unavailable. Force-push only after a history rewrite, with --force-with-lease.
  2. Collect the evidence you have seen. Use existing results and captures. Do not run tests or record new evidence. Never invent a result.
  3. Write the title and body with the rules below. Save the body to a temporary file outside the repo.
  4. Check the body. From this skill's folder, run node scripts/check-body.mjs <body-file>. Fix each problem until it exits 0. A line-count warning does not block.
  5. Post. Find the forge from the remote URL. If its CLI is installed and signed in, create the PR, not a draft. If the branch has an open PR, replace its title and whole body. With no usable CLI, print the title and body. Do not ask for a preview.
  6. Reply. Give the PR link. Name each kind of needed evidence you did not find. When the user sends evidence or a change, edit the body and check it again.

On a second run, rewrite the body from the whole branch. Keep old evidence that still matches the code. Include decisions from review. Then read references/overflow.md for an earlier overflow comment.

Title

Follow the format of the repo's recent PR titles and commits. Otherwise use type(scope): subject, imperative, no trailing period. Name a real symbol when one carries the change.

Body

Use these ## sections in this order, even when the repo has a PR template. Drop a section with nothing to say, but always keep Scope and Rollback.

  • ## Why. The problem and the approach, in one to three short sentences. Link the ticket, issue, or spec behind the change once, if you saw one. Otherwise say nothing.
  • ## What changed. Show changed contracts, data structures, or settings. Use diff for edits to an existing structure. Show mostly new structures in full and tag code blocks with their language, such as sql or json. For new APIs, show caller code. For changes to calls, data flow, or ownership, follow references/diagrams.md. Omit file trees.
  • ## Scope. One to three items on what the change covers and leaves out. With nothing to add, write "Covers the whole change."
  • ## Tradeoffs. Only rejected alternatives a reviewer would ask about.
  • ## Blast Radius. One or two sentences on what the change touches and one fact that makes it safe or risky, with how far you checked it, such as "checked at app/routes.ts:12" or "a test covers it". Claim a run-based check only when you saw its result. If unchecked, write "unproven".
  • ## Rollback. How to undo the change, such as "Revert this commit." Name any other step, such as turning off a flag.
  • ## Verification. One to three bullets, each a real run and its result.

Read the full file on GitHub · 72 lines

Files

What ships with it

3 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. today First seen · 72 lines · 45 tokens per session scan A baf20430cad9

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository LeeJuOh/claude-code-zero (52 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,214 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-12-01.

Related

open-pr compared with skills from other repositories

open-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-prLeeJuOh/claude-code-zeroSkill52yesterdayMITA45Claude Code
ecc-contribution-reviewaffaan-m/ECCSkill314kyesterdayMITA45Claude Code, Codex
githubNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
pr-creatormblode/agent-skillsSkill229yesterdayMITA55Claude Code, Codex
pr-descriptionpetekp/claude-code-setupSkill50yesterdayMITA50Claude Code, Codex
diffctxnikolay-e/diffctxSkill7todaynoneA57Claude Code
github-code-reviewgraniet/kheishSkill20924d agoApache-2.0A41Claude Code, Codex