pr

I want to make sure there's a PR that's in a good state for the local branch.

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/bliporg/blip/pr
Clone the repo
git clone --depth 1 https://github.com/bliporg/blip

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin unknown 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.00000 $0.00334
Opus 5 $0.00000 $0.00167
Sonnet 5 $0.00000 $0.00067
Haiku 4.5 $0.00000 $0.00033

Measured today against content hash 0df07331051c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

pr scanned grade C with 1 finding 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 today.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

Check issues using GitHub CLI to see if some ⁠ Fixes #ISSUE-NUMBER ⁠ or ⁠ Contributes to #ISSUE-NUMBER ⁠ could be added. Always put those statements at the very top of the description. Do not include TODO lists, unless e
.claude/commands/pr.md · 28 lines

What it actually says

Open or update PR

I want to make sure there's a PR that's in a good state for the local branch.

If there are local changes (not yet committed), ask if you should commit those changes, discard them, or do things differently. You'll need an answer before continuing.

Now if there are no local changes:

Git fetch and make sure the branch is rebased against origin/main. Rebase the branch against origin/main if not, fixing conflicts if needed. Ask if you're unsure about how some conflicts should be solved.

Now if the branch is correctly rebased against origin/main:

Please use Git CLI to check if there's already a PR for this branch and create it otherwise.

Use ⁠ git diff origin/main..HEAD ⁠ to get the complete diff from origin/main.

Use the diff to set a great title that describes the content of the PR, the main problem it's addressing. If there's already a title or description, make sure it covers diff changes, don't hesitate to update them if needed.

The description should be no longer than 50 lines, the shorter the better (it's ok if it's one line).

Check issues using GitHub CLI to see if some ⁠ Fixes #ISSUE-NUMBER ⁠ or ⁠ Contributes to #ISSUE-NUMBER ⁠ could be added. Always put those statements at the very top of the description.

Do not include TODO lists, unless explicitly requested. Do not erase existing TODO lists.

Do not run any CI tests locally. The PR might not be fully ready for review, and that's ok.

Always post the PR URL and branch name at the end of your work.

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. today First seen · 28 lines · 0 tokens per session scan C 0df07331051c

Subscribe to this mod's changes

pr is a command published in the GitHub repository bliporg/blip (284 stars, last pushed 5mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 334 tokens. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.