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 $0.00084 $0.01448
Sonnet 5 $0.00034 $0.00579
Haiku 4.5 $0.00017 $0.00290

Measured 8d ago against content hash 04365dbae612, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 8d 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. 8d 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 8d ago), licensed MIT. It adds 168 tokens to every session and 2,895 once invoked, about $0.0008 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

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

deploy-steward

Mainline deploy steward. Consumes ready PRs, owns a lease on mainline landing, refreshes PR state, updates stale branches, waits for CI and deploy gates, merges or queues one candidate at a time, and opens repair tasks for failures.

SethGammon/Citadel · 56 tokens

merge-review

Reviews pending fleet worktree merges before they're accepted. Reads the merge-check queue, detects file-level conflicts between branches, proposes a safe merge order, and surfaces reconciliation plans for overlapping changes.

SethGammon/Citadel · 40 tokens

bump-sdk-version

Bump the FutureSearch SDK version across all files. Use when releasing a new SDK version, updating version numbers, or the user says bump version, release, version bump.

futuresearch/futuresearch-python · 40 tokens

pr-feedback

Work a reviewer's comments on a pull request to the end - all three comment surfaces enumerated before any is triaged, every comment fixed, declined with a reason, or ticketed, push before you reply. Use when a PR comes back with review feedback or a red check.

jjanczur/tyran · 57 tokens

dos-verify-done-claims

Before accepting an agent's 'done / shipped / fixed' claim, verify it against ground truth (git ancestry + the commit's own diff) using the DOS kernel's dos verify and dos commit-audit — never the agent's own narration.

anthony-chaudhary/dos-kernel · 61 tokens