Borrowing it
Nothing to install: this file belongs to luanmorenommaciel/agentspec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/luanmorenommaciel/agentspec/main/.claude/commands/workflow/create-pr.mdgit clone --depth 1 https://github.com/luanmorenommaciel/agentspecWrote 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.
[](https://agentmods.dev/commands/luanmorenommaciel/agentspec/create-pr)<a href="https://agentmods.dev/commands/luanmorenommaciel/agentspec/create-pr"><img src="https://agentmods.dev/badge/commands/luanmorenommaciel/agentspec/create-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.
<a href="https://agentmods.dev/commands/luanmorenommaciel/agentspec/create-pr"><img src="https://agentmods.dev/badge/commands/luanmorenommaciel/agentspec/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.02494 |
| Opus 5.5 | $0.00005 | $0.00998 |
| Sonnet 5.5 | $0.00002 | $0.00499 |
| Haiku 4.5 | $0.00001 | $0.00249 |
Grade A, and why
create-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.
How it starts
The opening of the file, as written. The whole thing — 406 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create PR Command
Automate professional pull request creation with conventional commits and structured descriptions
Usage
/create-pr # Auto-detect changes and create PR
/create-pr "feat: add user auth" # Create PR with custom title
/create-pr --draft # Create as draft PR
/create-pr --review # Run dual AI review before PR creation
/create-pr --review --draft # Review + create as draft
Pre-PR Review Option
When using --review, the command runs a dual AI review (CodeRabbit + Claude) before creating the PR:
┌─────────────────────────────────────────────────────────────────┐
│ /create-pr --review WORKFLOW │
├─────────────────────────────────────────────────────────────────┤
│ │
│ 1. Analyze Changes │
│ ↓ │
│ 2. Run CodeRabbit CLI (static analysis) │
│ ↓ │
│ 3. Run Claude Review (architectural) │
│ ↓ │
│ 4. Check for Critical Issues │
│ ↓ │
│ ┌──────┴──────┐ │
│ │ │ │
│ ▼ ▼ │
│ Critical No Critical │
│ Issues Issues │
│ │ │ │
│ ▼ ▼ │
│ STOP & Continue │
│ Show to PR │
│ Issues Creation │
│ │
└─────────────────────────────────────────────────────────────────┘
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.
- 1mo ago First seen · 406 lines · 12 tokens per session scan A 2a2199751dd2
create-pr is a command published in the GitHub repository luanmorenommaciel/agentspec (256 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 2,494 once invoked, about $0.0000 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-09-01.
Other commands, from other repositories
elegant-code-review
Review the current working diff against the elegant-code decision ladder and propose deletions, honoring the negligence floor.
prp-commit
Quick commit with natural language file targeting: describe what to commit in plain English.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
gsd:pr-branch
Create a clean PR branch by filtering out .planning/ commits — ready for code review.
validate-pr-description
Use when validating a PR title and description for conventional commit format, issue linking keywords, and template compliance before submission.
karpathy-check
Revisa as alterações em stage (ou o último commit) com base nos 4 princípios de codificação do Karpathy. Verifica complexidade, ruído no diff, suposições ocultas e verificação de objetivos. Uso: /karpathy-check [--last-commit].