cpr

cpr is a skill for Claude Code, Codex from OutThisLife/brooklyn-skills. It costs 59 tokens per session (428 once invoked), scanned A, original, MIT.

A handoff workflow that tidies a completed code change and opens or updates its pull request or merge request. A pull request is a review page where teammates inspect proposed changes before they are merged.

In plain words
What is it for?
Use it when work is ready for review: polish the diff, organize commits, write the request description, preserve existing media, and return the review link.
Why use it?
It catches dead code and debugging leftovers before review and keeps the request's title, description, commits, and linked result aligned with the final diff.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when work is ready for review: polish the diff, organize commits, write the request description, preserve existing media, and return the review link.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outthislife/brooklyn-skills/cpr
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.

Any agent
npx skills add OutThisLife/brooklyn-skills --skill cpr
Clone the repo
git clone --depth 1 https://github.com/OutThisLife/brooklyn-skills

Made for: Claude Code, Codex.

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 cpr

README.md
[![agentmods](https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/cpr/github.svg)](https://agentmods.dev/skills/outthislife/brooklyn-skills/cpr)
Your own site
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/cpr"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/cpr/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 cpr

Your own site · 80×15
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/cpr"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/cpr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 11
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00059 $0.00428
Opus 5 $0.00030 $0.00214
Sonnet 5 $0.00012 $0.00086
Haiku 4.5 $0.00006 $0.00043

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

Security

Grade A, and why

cpr 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.

skills/cpr/SKILL.md · 46 lines

What it actually says

CPR (clean → PR)

clean then pr-update, in that order, without asking between them. Use it when the work is done and the branch should end up as a PR someone can read.

Run the two skills for real — this file is the sequence, not a replacement for their contents.

Steps

  1. Clean (clean). Re-read the diff, cut dead code and debug logging, extend existing helpers instead of paralleling them, match neighboring style. Polish only — this is not a test/tsc/lint run.
  2. Shape + publish (pr-update). Topical commits, title and body that describe the change as a whole, media in an existing body preserved verbatim, prose through no-tropes.
  3. End with the PR/MR as a markdown link — number and full forge URL.

Order matters

Clean first, always. Committing then cleaning means the commit split describes code you already threw away, and the PR body describes a diff that no longer exists.

Stop conditions

  • UI work: don't start until the user likes the UI (ui-only).
  • Nothing to clean is a valid outcome — say so in one line and go to step 2.
  • Don't stall on a clean pass. If polish keeps expanding, that's scope creep; ship the narrow version.

Scope

  • In: polish the diff, shape commits, create or update the PR/MR, print the link.
  • Out: CI and review threads (pr-ready), triage/salvage (pr-triage), stacked bases (stacked-pr), merging.
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 · 46 lines · 59 tokens per session scan A 793f35fc3534

Subscribe to this mod's changes

cpr is a skill published in the GitHub repository OutThisLife/brooklyn-skills (191 stars, last pushed 22d ago), licensed MIT. It adds 59 tokens to every session and 428 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens

write-pr

Reference standards for writing pull request titles and descriptions in the tldraw repository, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.

tldraw/tldraw · 53 tokens