pull-request:update

pull-request:update is a skill for Claude Code from bendrucker/claude. It costs 42 tokens per session (624 once invoked), scanned A, original, MIT.

A workflow for rewriting a pull request or merge request description after new commits change the result. The description explains what will be merged and why, rather than listing the whole development history.

In plain words
What is it for?
Use it to inspect the current request, compare recent commits and the diff, and update the request body with the final user-facing changes.
Why use it?
It keeps reviewers and teammates from relying on an outdated summary after the code has evolved.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pull-request plugin — 3 skills shipped together

Good fit Use it to inspect the current request, compare recent commits and the diff, and update the request body with the final user-facing changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add bendrucker/claude
Claude Code
/plugin install pull-request

Made for: Claude Code.

Or install pull-request, the plugin that ships this one along with the rest of its 3 skills.

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 pull-request:update

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/update"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 624 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.00042 $0.00624
Opus 5.5 $0.00017 $0.00250
Sonnet 5.5 $0.00008 $0.00125
Haiku 4.5 $0.00004 $0.00062

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

Security

Grade A, and why

pull-request: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 10d 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.

plugins/pull-request/skills/update/SKILL.md · 55 lines

What it actually says

Update Pull Request

Rewrite the PR/MR body so it describes what merging the current diff does. Describe the end result, and mention a change made during review only when that result is user-facing.

$0 (optional) is a PR/MR URL, number, or branch name. With none, gh/glab resolve the PR/MR from the current branch.

Context

  • Remote URL: !git remote get-url origin
  • PR Template: !bun "${CLAUDE_PLUGIN_ROOT}/scripts/pr-template.ts"

!bun "${CLAUDE_PLUGIN_ROOT}/scripts/git-context.ts"

!bun "${CLAUDE_PLUGIN_ROOT}/scripts/sem-context.ts" --stack-file "${user_config.stack_file}"

!bun "${CLAUDE_PLUGIN_ROOT}/scripts/contributing.ts"

Fetch

  • GitHub: gh pr view $0 --json title,body,updatedAt,commits and gh pr diff $0
  • GitLab: glab mr view $0 and glab mr diff $0

Commits after updatedAt are the work the current body does not yet cover.

Write

Rewrite the body per sections.md, the rules the create skill follows, and load the writing skill. When a PR template is in context, keep its structure. Use the Entities block to judge what the change did, and lead the body with intent rather than that list.

Write the body to tmp/pr-body-<branch>.md and apply it:

  • GitHub: gh pr edit --body-file tmp/pr-body-<branch>.md
  • GitLab: glab mr update --description-file tmp/pr-body-<branch>.md

Upload any screenshot or recording the new body references by local path: --attach ./shot.png per file on gh pr edit (load github:attach), or --attach ./shot.png per file on glab mr update. Assets already in the body keep their uploaded URLs.

For GitLab username lookup, load gitlab:merge-request.

Done when a fresh gh pr view/glab mr view shows the new body and it describes the work in the commits after updatedAt.

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. 10d ago Changed · +1 lines 1def9f6a2d67
  2. 22d ago Changed 4c54c57d138f
  3. 1mo ago Changed · -2 lines b1c5b5ad050a
  4. 1mo ago Changed 7e4212b762da
  5. 2mo ago Changed · +2 lines 31783485b745
  6. 3mo ago First seen · 54 lines · 42 tokens per session scan A 475e94b12bee

Subscribe to this mod's changes

pull-request:update is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 624 once invoked, about $0.0002 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-03.

Related

pull-request:update compared with skills from other repositories

pull-request:update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pull-request:updatebendrucker/claudeSkill18todayMITA42Claude Code
branch-and-worktree-workflowcbrock84/headcountSkill2.6k3d agoMITA70Claude Code
improve-loopdaveebbelaar/bamaSkill2.0k28d agoMITA75Claude Code, Codex
next-stepsd0xdev/sd0x-harnessSkill1968d agoMITA63Claude Code
precommitsd0xdev/sd0x-harnessSkill1968d agoMITA15Claude Code
precommit-fastsd0xdev/sd0x-harnessSkill1968d agoMITA15Claude Code
unslop-commitMohamedAbdallah-14/unslopSkill20311d agoMITA139Claude Code