pr

pr is a command for Claude Code from wesammustafa/Claude-Code-Everything-You-Need-to-Know. It costs 17 tokens per session (176 once invoked), scanned A, original, MIT.

A command for preparing and opening a pull request, which is a proposed set of code changes for review. It creates a branch, formats files, organizes changes into commits, pushes them, and adds a summary and test plan.

In plain words
What is it for?
Turning local changes into a branch with focused commits, descriptive commit messages, formatted files, and a submitted pull request.
Why use it?
It removes the repeated manual work of preparing reviewable commits and submitting the pull request.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Turning local changes into a branch with focused commits, descriptive commit messages, formatted files, and a submitted pull request.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wesammustafa/claude-code-everything-you-need-to-know/pr
About the project

Claude Code: Everything You Need to Know is a practical guide to using Claude Code, an AI coding assistant that can be extended with commands, skills, hooks, subagents, workflows, and external tool servers. Developers use it to learn Claude Code from basic prompting through team and automation setups. The catalogue entries are examples of the guide's Claude Code extensions and workflows.

wesammustafa/Claude-Code-Everything-You-Need-to-Know · 2,981 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know

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 pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/wesammustafa/claude-code-everything-you-need-to-know/pr.svg)](https://agentmods.dev/commands/wesammustafa/claude-code-everything-you-need-to-know/pr)
Your own site
<a href="https://agentmods.dev/commands/wesammustafa/claude-code-everything-you-need-to-know/pr"><img src="https://agentmods.dev/badge/commands/wesammustafa/claude-code-everything-you-need-to-know/pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 176 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.00017 $0.00176
Opus 5 $0.00009 $0.00088
Sonnet 5 $0.00003 $0.00035
Haiku 4.5 $0.00002 $0.00018

Measured 9d ago against content hash f27c9357b19f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/commands/pr.md · 24 lines

What it actually says

Create Pull Request Command

Create a new branch, commit changes, and submit a pull request.

Behavior

  • Creates a new branch based on current changes
  • Formats modified files using Biome
  • Analyzes changes and automatically splits into logical commits when appropriate
  • Each commit focuses on a single logical change or feature
  • Creates descriptive commit messages for each logical unit
  • Pushes branch to remote
  • Creates pull request with proper summary and test plan

Guidelines for Automatic Commit Splitting

  • Split commits by feature, component, or concern
  • Keep related file changes together in the same commit
  • Separate refactoring from feature additions
  • Ensure each commit can be understood independently
  • Multiple unrelated changes should be split into separate commits
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 · 24 lines · 17 tokens per session scan A f27c9357b19f

Subscribe to this mod's changes

pr is a command published in the GitHub repository wesammustafa/Claude-Code-Everything-You-Need-to-Know (2,981 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 176 once invoked, about $0.0001 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-30.