open-pr

open-pr is a skill for Claude Code, Codex from nimble-giant/nimble-mold. It costs 43 tokens per session (425 once invoked), scanned A, original, Apache-2.0.

A workflow for opening or updating a GitHub pull request from the current branch. A pull request is a proposed set of code changes submitted for review before merging.

In plain words
What is it for?
Creating a new pull request, creating one as a draft, or updating an existing pull request.
Why use it?
It organizes the steps around checking for an existing request, preparing its description, choosing draft or review-ready status, and showing the resulting link.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating a new pull request, creating one as a draft, or updating an existing pull request.

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

Made for: Claude Code, Codex.

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/nimble-giant/nimble-mold/open-pr/github.svg)](https://agentmods.dev/skills/nimble-giant/nimble-mold/open-pr)
Your own site
<a href="https://agentmods.dev/skills/nimble-giant/nimble-mold/open-pr"><img src="https://agentmods.dev/badge/skills/nimble-giant/nimble-mold/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/nimble-giant/nimble-mold/open-pr"><img src="https://agentmods.dev/badge/skills/nimble-giant/nimble-mold/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 425 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.00043 $0.00425
Opus 5 $0.00022 $0.00212
Sonnet 5 $0.00009 $0.00085
Haiku 4.5 $0.00004 $0.00042

Measured 9d ago against content hash 021f874f3e0f, 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 9d 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.

skills/open-pr/SKILL.md · 65 lines

What it actually says

open-pr

Open a pull request for the current branch with automatically generated description, or update existing PR.

Usage

/open-pr [draft]

Options

  • draft - Creates the PR in draft mode (optional, defaults to ready for review)

Workflow

When this command is used:

{{- if .agent.plan_mode.enabled }}

  1. {{agent.plan_mode.enter}} to outline the PR creation/update process {{- else }}

  2. Outline the PR creation/update process for user review {{- end }}

  3. Check for existing PR on the current branch using {{pr.check}}

  4. If PR already exists:

    • Use /update-pr to update the existing PR description
    • Skip to step 6
  5. If no PR exists:

    • Generate PR description using /pr-description command
    • Create new PR using {{pr.create}}
  6. Set PR status:

    • Default: Ready for review
    • With draft flag: Draft mode
  7. Display PR URL for user to review

Examples

  • /open-pr - Create PR ready for review
  • /open-pr draft - Create PR in draft mode

Integration

This command integrates with:

  • /pr-description - For generating PR descriptions
  • /update-pr - For updating existing PRs
  • /gh-issue - Includes issue references if branch was created for an issue

Notes

  • Automatically detects existing PRs to avoid duplicates
  • Uses {{scm.provider}} CLI ({{scm.cli}}) for all PR operations
  • Enters plan mode for transparency
  • Leverages existing /pr-description functionality
  • Does not include AI attribution in PR descriptions
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. 9d ago First seen · 65 lines · 43 tokens per session scan A 021f874f3e0f

Subscribe to this mod's changes

open-pr is a skill published in the GitHub repository nimble-giant/nimble-mold (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 425 once invoked, about $0.0002 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

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens