rook-pr-takeover

rook-pr-takeover is a skill for Claude Code from jhoblitt/rook-claude. It costs 0 tokens per session (1,716 once invoked), scanned A, original, Apache-2.0.

A maintainer workflow for taking responsibility for an abandoned or unowned pull request in Rook, an open-source Kubernetes storage project. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Adopt a worthwhile Rook pull request, edit its title or description, or supersede it with a new pull request after checking the code.
Why use it?
It helps maintainers decide whether to update the existing proposal or open a replacement while preserving the original author’s credit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rook-maintainer plugin — 5 skills, 5 agents, 2 hooks shipped together

Good fit Adopt a worthwhile Rook pull request, edit its title or description, or supersede it with a new pull request after checking the code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhoblitt/rook-claude/rook-pr-takeover
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 jhoblitt/rook-claude --skill rook-pr-takeover
Clone the repo
git clone --depth 1 https://github.com/jhoblitt/rook-claude

Made for: Claude Code.

Or install rook-maintainer, the plugin that ships this one along with the rest of its 5 skills, 5 agents, 2 hooks.

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 rook-pr-takeover

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhoblitt/rook-claude/rook-pr-takeover"><img src="https://agentmods.dev/badge/skills/jhoblitt/rook-claude/rook-pr-takeover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,716 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.00000 $0.01716
Opus 5 $0.00000 $0.00858
Sonnet 5 $0.00000 $0.00343
Haiku 4.5 $0.00000 $0.00172

Measured 7d ago against content hash 3f0bb274d9cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rook-pr-takeover 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 7d 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/rook-maintainer/skills/rook-pr-takeover/SKILL.md · 120 lines

How it starts

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

PR takeover — adopting an abandoned or unowned PR

A maintainer-responsibility transfer, invoked ONLY on the user's explicit per-PR instruction ("take over #N", "adopt this", "supersede it"). The reviewer output may flag takeover_candidate, but flagging is information; the transfer is a human decision. Use cases: avoiding long interaction cycles, an author who abandoned the PR or stopped responding to change requests, or AI-burst PRs where no response is reasonably expected.

Mental model: the PR is treated as a bug report with a candidate patch attached. The maintainer becomes the owner of landing the fix; the original author keeps credit for finding and writing it.

Takeover only applies to PRs whose substance is worth landing. If the bug was judged FABRICATED or the change is unwanted, the honest disposition is close-with-explanation via normal triage (rook-triage) — not takeover.

Choosing the approach

  • Adopt in place — when ONLY the PR title/description are deficient: code verified good, commit messages acceptable, no rebase or code changes needed. The existing PR stays open under the original author; you edit it directly.
  • Supersede — open a replacement PR carrying the commits when commit messages need correction, review found code blockers to fix, the branch has conflicts, or the maintainer wants to carry the change with modifications.
  • Commit messages cannot be fixed by adopting in place — that would mean rewriting the author's fork branch (possible only with "allow edits by maintainers", and out of bounds for this flow). Wrong commit messages → supersede.

Adopt in place — edit the existing PR (gh pr edit)

  1. Start from the review's verified narrative — the reviewer's suggested_title/suggested_body when present, else draft from the review rationale.
  2. Title: accurate and conventional (type from .commitlintrc.json matching the change).
  3. Body: the standard PR template — accurate mechanism narrative (what the verification actually established, not the original claims), a truthful checklist against the real diff, PendingReleaseNotes/backport consideration — plus a transparency note at the end: "Description rewritten by maintainer for accuracy; original report and fix by @." and an AI-assistance disclosure for the rewrite per ai-guidelines.md.
  4. Show the user the exact final title and body; on approval, gh pr edit <n> --title ... --body-file ... --add-assignee @me (sandbox disabled) — assigning the taken-over PR to the maintainer marks it as theirs to shepherd (best-effort; skip on permission failure). GitHub's edit history plus the note keep the intervention visible.

Read the full file on GitHub · 120 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. 7d ago Changed · +1 lines 3f0bb274d9cc
  2. 11d ago First seen · 119 lines · 0 tokens per session scan A 5988204ec6af

Subscribe to this mod's changes

rook-pr-takeover is a skill published in the GitHub repository jhoblitt/rook-claude (4 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,716 tokens. 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-31.