open-pr

open-pr is a skill for Claude Code from felipearomani/claude-shipyard. It costs 168 tokens per session (2,895 once invoked), scanned A, original, MIT.

A workflow for finishing a Git feature branch and opening a pull request, which is a proposed change for review. It rebases the branch, runs the repository's checks, commits, pushes, and creates the request.

In plain words
What is it for?
Use it when a feature branch is ready to merge, provided the repository has a GitHub remote and the GitHub command-line tool is authenticated.
Why use it?
It brings the branch up to date and packages the remaining changes for review in a defined sequence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; positional $N argument; mentions AGENTS.md.

Part of the fleet plugin — 4 skills, 3 agents shipped together

Good fit Use it when a feature branch is ready to merge, provided the repository has a GitHub remote and the GitHub command-line tool is authenticated.

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

Made for: Claude Code.

Or install fleet, the plugin that ships this one along with the rest of its 4 skills, 3 agents.

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/felipearomani/claude-shipyard/open-pr/github.svg)](https://agentmods.dev/skills/felipearomani/claude-shipyard/open-pr)
Your own site
<a href="https://agentmods.dev/skills/felipearomani/claude-shipyard/open-pr"><img src="https://agentmods.dev/badge/skills/felipearomani/claude-shipyard/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/felipearomani/claude-shipyard/open-pr"><img src="https://agentmods.dev/badge/skills/felipearomani/claude-shipyard/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,895 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.00168 $0.02895
Opus 5.5 $0.00067 $0.01158
Sonnet 5.5 $0.00034 $0.00579
Haiku 4.5 $0.00017 $0.00290

Measured 3mo ago against content hash 04365dbae612, 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 3mo 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/fleet/skills/open-pr/SKILL.md · 296 lines

How it starts

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

open-pr

Wrap a feature branch and open a pull request. Single-shot workflow: rebase → lint → commit → push → PR.

You are operating autonomously once invoked. No confirmation prompts before push or PR creation. The only stop condition is a git conflict during rebase.

When NOT to run

Refuse and ask the user to clarify if any of these hold:

  • The current branch IS the base branch (main, master) — there is nothing to PR.
  • The repo has no GitHub remote (gh repo view fails) — a PR cannot be opened.
  • The gh CLI is not authenticated (gh auth status fails) — authenticate first.
  • The working tree has a destructive operation in progress (.git/MERGE_HEAD, .git/CHERRY_PICK_HEAD, an ongoing rebase) — finish or abort that first.

If none of those hold, proceed.

The workflow

Six phases. Do not skip. Track them so progress is visible to the user.

1. Preflight  — capture state, detect the base branch
2. Sync       — rebase onto origin/<base>; halt on conflict
3. Lint       — auto-detect and run the linter/formatter
4. Commit     — Conventional Commits message over the diff
5. Push       — force-with-lease (a rebase rewrites history)
6. PR         — gh pr create + share the URL

Phase 1 — Preflight

Run these, capture the output:

git rev-parse --abbrev-ref HEAD                       # current branch
git status --porcelain                                # dirty state
git rev-parse --git-dir                               # git dir (worktree-safe)
gh auth status                                        # gh ready?
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null # default branch

Determine the base branch in this order:

  1. git symbolic-ref refs/remotes/origin/HEAD → strip refs/remotes/origin/ → use it.
  2. If that fails: git ls-remote --symref origin HEAD | awk '/^ref:/ {print $2}' → strip refs/heads/.
  3. If still unknown: try main then master via git ls-remote --heads origin <name>.
  4. If none resolve: refuse — the repo has no clear default.

Read the full file on GitHub · 296 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. 3mo ago First seen · 296 lines · 168 tokens per session scan A 04365dbae612

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository felipearomani/claude-shipyard (1 stars, last pushed 3mo ago), licensed MIT. It adds 168 tokens to every session and 2,895 once invoked, about $0.0007 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-08-31.

Related

open-pr compared with skills from other repositories

open-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-prfelipearomani/claude-shipyardSkill13mo agoMITA168Claude Code
pr-watchSethGammon/CitadelSkill9434d agoMITA46Claude Code
deploy-stewardSethGammon/CitadelSkill9434d agoMITA56Claude Code
merge-reviewSethGammon/CitadelSkill9434d agoMITA40Claude Code
deploy-landedavelikiy/great_ctoSkill11713d agoMITA106Claude Code
signing-preflightavelikiy/great_ctoSkill11713d agoMITA105Claude Code
ai-driven-code-editor-clirondoflow/rondoflowSkill356d agoMITA84Claude Code, Codex