pr-update

pr-update is a skill for Claude Code, Codex from OutThisLife/brooklyn-skills. It costs 68 tokens per session (1,373 once invoked), scanned A, original, MIT.

A workflow for opening a pull request or refreshing an existing one so its title and description match the current branch changes. A pull request is a request to review and merge code into a shared project.

In plain words
What is it for?
Use it to create a missing pull request, update its title and body, inspect all commits and changed files, and record an accurate summary and test plan.
Why use it?
It prevents stale or duplicate pull requests and keeps the summary and test plan aligned with the complete change set. It also preserves media already included in an existing description.

Skill for Claude CodeCodex

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

Good fit Use it to create a missing pull request, update its title and body, inspect all commits and changed files, and record an accurate summary and test plan.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/pr-update"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/pr-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 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 69
    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.00068 $0.01373
Opus 5.5 $0.00027 $0.00549
Sonnet 5.5 $0.00014 $0.00275
Haiku 4.5 $0.00007 $0.00137

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

Security

Grade A, and why

pr-update 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.

skills/pr-update/SKILL.md · 130 lines

How it starts

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

PR Update (open or refresh)

One skill for create and update. Make the title + body match the branch as it is now. Do not strip media from an existing description.

Steps

  1. git status / git diff / git log / git diff <default>...HEAD (and remote tracking) so you know the full change set — not just the latest commit.
  2. Detect an existing PR/MR for this branch (gh pr view / glab mr view).
    • None → create (push upstream with -u if needed).
    • Exists → edit title + body in place. Do not open a duplicate.
  3. Draft a title and body from all commits/files in the PR, not one commit.
  4. If updating: fetch the current body first. Preserve every media item exactly (see below). Then rewrite text so Summary / Test plan (or the repo's usual sections) stay accurate.
  5. Apply with gh pr create / gh pr edit (or glab equivalents).
  6. End with the PR/MR as a markdown link — the number and the full forge URL ([#123](https://github.com/org/repo/pull/123), GitLab ! equivalent). Never a bare #123. This is the one place the rule is written down; the other skills just follow it.

Title + body

  • Title: concise, why-focused; match repo PR style when obvious.
  • Body: use the repo's template when one exists; otherwise:
## Summary
<1-3 bullets of what changed and why>

## Test plan
- [ ] <concrete checks>
  • Run the prose through no-tropes before publishing.
  • Do not invent reviewers, labels, or milestone unless asked.

Commits

Shape the branch's commits as part of opening/refreshing the PR.

  • Check effective user.name and user.email before committing. GitHub login does not set commit attribution. If email is unset or Git infers a local-host address, stop before publishing and confirm an account-associated email. Never publish after ignoring Git's inferred-identity warning.

  • One concern per commit. Default to a topical split (2–5 is typical) even if not asked; don't dump everything into one blob unless the user wants it.

  • Match the repo's recent commit style (git log --oneline -15); subject = why. No "WIP" / "fix stuff".

  • Rebuild with soft reset + path-staged commits (no git rebase -i — needs a TTY). Show the final git log --oneline <default>..HEAD before force-push. Two traps in that recipe:

    • Soft-reset to the branch's real base SHA (git merge-base HEAD origin/<default>), never to origin/<default> itself — it moves mid-task and will stage other people's commits as yours.
    • git reset <base> -- <path> leaves that path unstaged, so the next git commit silently captures its pre-edit version. Verify the content landed (git show <sha>:<path> | grep <new symbol>) before force-push.
  • Keep authorship when reshaping others' work (Co-authored-by / cherry-pick), especially during pr-triage salvage.

  • Don't mix pure formatting with logic, commit secrets/.env, or rewrite commits already on the default branch without asking.

Read the full file on GitHub · 130 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 Changed · +5 lines 47e75d74b861
  2. 2mo ago First seen · 125 lines · 68 tokens per session scan A ee7fa2fb9b66

Subscribe to this mod's changes

pr-update is a skill published in the GitHub repository OutThisLife/brooklyn-skills (209 stars, last pushed 7d ago), licensed MIT. It adds 68 tokens to every session and 1,373 once invoked, about $0.0003 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-08-30.