open-pr

A command for turning current repository changes into a pull request against the main branch. It reviews the changes, selects the project's Conventional Commit category, and handles the related commit, push, and pull-request steps.

In plain words
What is it for?
Use it when finished changes need to be committed, pushed, and proposed for merging into the main branch.
Why use it?
It organizes the release information attached to the change and avoids opening a pull request without checking the repository state or versioning rules.

Command for Claude Code

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 commands/aziontech/webkit/open-pr
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit

Made for: Claude Code.

Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,488 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 $0.00048 $0.01488
Opus 5 $0.00024 $0.00744
Sonnet 5 $0.00010 $0.00298
Haiku 4.5 $0.00005 $0.00149

Measured yesterday against content hash 575f07f40538, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

.claude/commands/open-pr.md · 71 lines

How it starts

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

You are running /open-pr. Land the current working changes as a pull request against main, following the repo's commit + versioning conventions end to end.

User input: $ARGUMENTS

Source of truth

Steps

0. Preflight

  • Run git fetch origin --prune and git status. If there is nothing to commit and nothing unpushed → tell the user there is nothing to open a PR for, and stop.

1. Analyze the diff (drives the version bump)

Run git diff (staged + unstaged) and determine, from the change itself:

  • typefeat (new component / prop / event / slot / public export), fix (bug, a11y, visual regression — anything that must ship), refactor, perf, docs, style, chore, test, ci, revert. Release effect (release-please): feat→minor; fix→patch; breaking→major; every other type → no release on its own (urgent production fixes are fix — there is no hotfix type).
  • scope → the package without its namespace (webkit, theme, icons), inferred from the changed paths.
  • breaking? → a removed or renamed public prop, event, slot, or export ⇒ major. Mark it with ! and a BREAKING CHANGE: footer. Confirm with the user before marking a change breaking.

If the diff spans multiple packages, prefer one commit per scope (CONTRIBUTING: "one package per commit when possible").

2. Related issue (optional)

  • Ask: "Which issue does this relate to? (ENG-1234, or leave blank if none)". With an issue, the tag goes in the subject, after the colon (fix(webkit): [ENG-1234] …) — never before the type. No issue → no tag — never write [NO-ISSUE] (dead characters; commitlint rejects it).

Read the full file on GitHub · 71 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. yesterday First seen · 71 lines · 48 tokens per session scan A 575f07f40538

Subscribe to this mod's changes

open-pr is a command published in the GitHub repository aziontech/webkit (2 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 1,488 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.