limps: Command for Claude Code

.claude/commands/pr-create.md

pr-create is a command for Claude Code from paulbreuler/limps. It costs 0 tokens per session (1,384 once invoked), scanned A, original, MIT.

A command that prepares and creates a GitHub pull request from staged changes or recent commits. A pull request is a request for others to review and merge code into a shared repository.

In plain words
What is it for?
Use it to check the branch, confirm it is pushed, see whether a pull request already exists, run available code reviews, and create the pull request.
Why use it?
It checks common prerequisites and gathers review results so the pull request has the needed context and does not fail because the branch or GitHub setup is incomplete.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is paulbreuler/limps's own configuration. It tells Claude Code how to work on limps 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 limps configures →

Reuse

Borrowing it

Nothing to install: this file belongs to paulbreuler/limps. 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/paulbreuler/limps/main/.claude/commands/pr-create.md
Clone the repo
git clone --depth 1 https://github.com/paulbreuler/limps

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-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/paulbreuler/limps/pr-create/github.svg)](https://agentmods.dev/commands/paulbreuler/limps/pr-create)
Your own site
<a href="https://agentmods.dev/commands/paulbreuler/limps/pr-create"><img src="https://agentmods.dev/badge/commands/paulbreuler/limps/pr-create/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 pr-create

Your own site · 80×15
<a href="https://agentmods.dev/commands/paulbreuler/limps/pr-create"><img src="https://agentmods.dev/badge/commands/paulbreuler/limps/pr-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 1,384 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.00000 $0.01384
Opus 5.5 $0.00000 $0.00554
Sonnet 5.5 $0.00000 $0.00277
Haiku 4.5 $0.00000 $0.00138

Measured 1mo ago against content hash 3bac5819b268, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-create 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/pr-create.md · 131 lines

How it starts

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

Pull Request Creation (limps)

Create a PR on GitHub with a limps-aware description based on staged changes or recent commits.

Instructions for Claude

When this command is invoked, you must:

  1. Check prerequisites:

    • Verify current branch is not main
    • Check if branch is pushed (git push --dry-run)
    • Verify GitHub CLI is available (gh --version)
    • Check if PR already exists (gh pr view)
  2. Optional: Run code reviews (recommended before PR creation):

    • Review order: Run reviews in parallel if possible, or sequentially (branch review first, then MCP review)
    • For general code review: Invoke /branch-code-review skill to review architecture, maintainability, and correctness
    • For MCP/LLM security review: Invoke /mcp-code-review skill to review security, MCP safety, and LLM-related concerns
    • Timing: Run reviews after analyzing git changes (step 4) to have full context
    • Include review findings in PR description if issues are found (or note that reviews passed)
  3. Detect plan/agent context (if applicable):

    • Use limps MCP tools when available:
      • list_plans, list_agents, get_plan_status, process_doc
    • If a plan is inferred (via modified files under plans/ or commit messages), locate the agent file and extract:
      • Agent title, status, and feature list from frontmatter/sections
    • If no plan/agent is detected, proceed as a standard PR.
  4. Analyze git changes:

    • Detect base branch:
      • If user specifies base (e.g., --base develop), use that
      • Otherwise, detect default: git symbolic-ref refs/remotes/origin/HEAD → extract branch name
      • Fallback: try origin/main, then origin/master
      • If no base branch found, ask user or default to main
    • Use git log <base>..HEAD and git diff --stat <base>..HEAD
    • Edge case: If no commits exist (only staged changes), analyze git diff --cached instead
    • Summarize key files and modules touched

Read the full file on GitHub · 131 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 First seen · 131 lines · 0 tokens per session scan A 3bac5819b268

Subscribe to this mod's changes

pr-create is a command published in the GitHub repository paulbreuler/limps (10 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,384 tokens. 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.