webkit: Command for Claude Code

.claude/commands/open-pr.md

open-pr is a command for Claude Code from aziontech/webkit. It costs 48 tokens per session (1,783 once invoked), scanned A, original, MIT.

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

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

This is aziontech/webkit's own configuration. It tells Claude Code how to work on webkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything webkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aziontech/webkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aziontech/webkit/main/.claude/commands/open-pr.md
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit

Made for: Claude Code.

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/commands/aziontech/webkit/open-pr/github.svg)](https://agentmods.dev/commands/aziontech/webkit/open-pr)
Your own site
<a href="https://agentmods.dev/commands/aziontech/webkit/open-pr"><img src="https://agentmods.dev/badge/commands/aziontech/webkit/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/commands/aziontech/webkit/open-pr"><img src="https://agentmods.dev/badge/commands/aziontech/webkit/open-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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,783 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.00048 $0.01783
Opus 5.5 $0.00019 $0.00713
Sonnet 5.5 $0.00010 $0.00357
Haiku 4.5 $0.00005 $0.00178

Measured 1mo ago against content hash 5c7e28355571, 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 1mo 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.

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

How it starts

The opening of the file, as written. The whole thing — 79 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:

  • type → feat (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.

1b. Version gate — before any commit or PR

State the bump the change will produce for each touched package (major / minor / patch / none), derived from step 1 plus any commit already on the branch (git log origin/main..HEAD — a ! or BREAKING CHANGE: anywhere in the branch makes the squash-merged PR a major).

  • major: stop. Ask the user explicitly: "This will release a major of @aziontech/<scope> (<current> → <next>). Is that what you want?" Do not commit, push, or open the PR until they answer yes. If they say no, drop the !/footer and re-derive the type, or split the breaking part into its own PR the user chooses to open.
  • minor / patch / none: state it and continue; the plan in step 5 shows it again.

Read the full file on GitHub · 79 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. 1mo ago Changed · +8 lines 5c7e28355571
  2. 2mo ago 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 (3 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,783 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-08-31.