Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL.

MITAuto-check passed

Install Cpr

skills CLI
$ npx skills add OutThisLife/brooklyn-skills --skill cpr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OutThisLife/brooklyn-skills cpr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OutThisLife/brooklyn-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cpr .claude/skills/cpr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cpr
GitHub stars
199
Token cost
~416 tokens
SKILL.md length
223 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL.

  • Works in 3 steps: Clean (clean). Re-read the diff, cut… → Shape + publish (pr-update). Topical… → End with the PR/MR as a markdown link —…
  • Tidy it up and push the PR
  • SKILL.md covers Steps, Order matters, Stop conditions and Scope
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cpr is an agent skill from OutThisLife/brooklyn-skills. Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL. Use for /cpr, "clean and PR", "tidy it up and push the PR", or any handoff where polish and the PR should happen together.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Skills that drive best-in-class engineering. The licence is MIT.

When your agent uses it

  • Tidy it up and push the PR
  • Any handoff where polish and the PR should happen together

Example prompts

  • “clean and PR”
  • “tidy it up and push the PR”
  • “/cpr”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Clean (clean). Re-read the diff, cut dead code and debug logging,
  2. Shape + publish (pr-update). Topical commits, title and body that
  3. End with the PR/MR as a markdown link — number and full forge URL.

What it can do on your machine

Read from SKILL.md and the folder at commit 8a97904. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cpr loads about 416 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~416

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OutThisLife/brooklyn-skills at commit 8a97904, republished under its MIT licence (© OutThisLife). 223 words, ~416 tokens.

Download SKILL.mdSave it as .claude/skills/cpr/SKILL.md (or your agent's skills folder).
name
cpr
description
Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL. Use for /cpr, "clean and PR", "tidy it up and push the PR", or any handoff where polish and the PR should happen together.

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.

© OutThisLife, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cpr of OutThisLife/brooklyn-skills.

Open the folder on GitHubat commit 8a97904

Compare with similar skills

Cpr next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cpr compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cpr this skillOutThisLife/brooklyn-skills199—~416Automated safety check: PassMIT
Diffsopenclaw/openclaw392k4 repos~461Automated safety check: PassMIT
Accesslint Diffsickn33/agentic-awesome-skills47k1 repos~1.2kAutomated safety check: PassMIT
Index Refreshpaperclipai/paperclip99k—~994Automated safety check: PassMIT
Diff Reviewnexu-io/open-design100k—~508Automated safety check: PassApache-2.0
Android Clean Architectureaffaan-m/ECC275k4 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Diffs

    openclaw/openclaw

    Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.

    392k GitHub starsUsed in 4 repos~461 tokens
    Auto-check passed
  • Accesslint Diff

    sickn33/agentic-awesome-skills

    Diff a live page's accessibility violations against a baseline — by default compares uncommitted changes (stash-based), or pass --branch [<name] to diff against a branch.

    47k GitHub starsUsed in 1 repo~1.2k tokens
    Frontend & DesignAuto-check passed
  • Index Refresh

    paperclipai/paperclip

    A skill your agent uses when an LLM Wiki operation issue requests an index refresh.

    99k GitHub stars~994 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Diff Review

    nexu-io/open-design

    Render the patch-edit run's accumulated changes as a reviewable diff, surface it through a GenUI choice surface, and persist the user's accept / reject decision into the artifact manifest.

    100k GitHub stars~508 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Applies Clean Architecture to Android and Kotlin Multiplatform projects: module layout, dependency rules, UseCases, Repositories and data layer patterns.

    275k GitHub starsUsed in 4 repos~2.2k tokens
    DevelopmentAuto-check passed
  • Diff Analyze

    ruvnet/ruflo

    Analyze git diffs for risk scoring, reviewer recommendations, and change classification.

    74k GitHub stars~450 tokensUpdated today
    DevelopmentAuto-check: notes

More from OutThisLife/brooklyn-skills

All 22 skills in this repo
  • Draft Tweet

    OutThisLife/brooklyn-skills

    Draft X/Twitter posts about shipped work. An agent skill from OutThisLife/brooklyn-skills.

    199 GitHub stars~456 tokensUpdated 2 days ago
    Auto-check passed
  • Free Disk Space

    OutThisLife/brooklyn-skills

    Safely reclaim disk space on macOS without touching personal or agent data.

    199 GitHub stars~433 tokensUpdated 2 days ago
    Auto-check passed
  • List Open Work

    OutThisLife/brooklyn-skills

    List my open MRs/PRs in the current repo/worktree, each with its tracker ticket.

    199 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • PR Ready

    OutThisLife/brooklyn-skills

    Clear everything blocking an existing PR/MR from merging — rebase onto the default branch, get CI green, and resolve review threads (Copilot and human).

    199 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • PR Triage

    OutThisLife/brooklyn-skills

    Maintainer triage on OTHER people's PRs/MRs — verdict of approve, supersede, or close, salvage with credit, close the cluster.

    199 GitHub stars~4.7k tokensUpdated 2 days ago
    Auto-check passed
  • PR Update

    OutThisLife/brooklyn-skills

    Open a PR/MR if missing, or refresh an existing one's title and description so they match the current diff.

    199 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check: notes

Questions about Cpr

What does Cpr do?

Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL. Cpr is an agent skill from OutThisLife/brooklyn-skills. Clean the diff, then open or refresh the PR/MR — one pass, ending in the linked URL.

When should I use Cpr?

Cpr fits situations like: tidy it up and push the PR; any handoff where polish and the PR should happen together.

How do I install Cpr in Claude Code?

Run `npx skills add OutThisLife/brooklyn-skills --skill cpr -a claude-code`. Or copy the skill folder (skills/cpr in OutThisLife/brooklyn-skills) into .claude/skills/cpr in your project. Claude Code loads it when a task matches its description.

How do I install Cpr in Codex?

Run `npx skills add OutThisLife/brooklyn-skills --skill cpr -a codex`. Or copy the skill folder (skills/cpr in OutThisLife/brooklyn-skills) into .agents/skills/cpr in your project. Codex loads it when a task matches its description.

Can I use Cpr in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OutThisLife/brooklyn-skills --skill cpr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cpr, .gemini/skills/cpr, .github/skills/cpr and .opencode/skills/cpr in your project.

What does Cpr need to run?

SKILL.md names no scripts, command-line tools or credentials: Cpr is instructions for the agent only.

Does Cpr access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cpr safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cpr use?

Cpr is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cpr use?

About 416 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cpr?

Skills that share tags, products or a category with Cpr: Diffs (openclaw/openclaw, 392k stars), Accesslint Diff (sickn33/agentic-awesome-skills, 47k stars), Index Refresh (paperclipai/paperclip, 99k stars) and Diff Review (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cpr?

OutThisLife (a GitHub user) maintains it in OutThisLife/brooklyn-skills, which has 199 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 5, 2026.

Source: OutThisLife/brooklyn-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.