rook-code-review

rook-code-review is a skill for Claude Code from jhoblitt/rook-claude. It costs 116 tokens per session (6,075 once invoked), scanned A, original, Apache-2.0.

A skill for reviewing Rook code, tests, documentation, workflows, branches, commits, pull requests, and design proposals. Rook is an open-source Kubernetes storage project.

In plain words
What is it for?
Use it to review a diff, branch, commit range, pull request, or design; run pre-pull-request checks; and stress-test proposed changes without editing files or posting comments automatically.
Why use it?
It checks changes against the project's conventions and independently tests whether reported problems are real before presenting findings.

Skill for Claude Code

Written for Claude Code: disallowed-tools in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

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

Good fit Use it to review a diff, branch, commit range, pull request, or design; run pre-pull-request checks; and stress-test proposed changes without editing files or posting comments automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhoblitt/rook-claude/rook-code-review
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-code-review
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-code-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhoblitt/rook-claude/rook-code-review"><img src="https://agentmods.dev/badge/skills/jhoblitt/rook-claude/rook-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,075 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.00116 $0.06075
Opus 5.5 $0.00046 $0.02430
Sonnet 5.5 $0.00023 $0.01215
Haiku 4.5 $0.00012 $0.00607

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

Security

Grade A, and why

rook-code-review 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 18d 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-code-review/SKILL.md · 429 lines

How it starts

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

Rook code review

Review rook changes the way an expert rook maintainer would: verify claims independently, judge against the project's own conventions, and report only findings that survive an attempt to refute them. Findings are REPORTED — never change code unless the user explicitly asks for fixes, and never post anything to GitHub unless the user explicitly asked for that post, with each comment approved in-session. When a post is authorized, follow references/posting.md.

Edit is denied in frontmatter: nothing here modifies a file in place, and the reviewed diff is in context arguing for itself. Write is retained for one purpose only — proposal mode's state dir under ~/.cache (Modes) — and never lands inside the checkout under review.

Modes

Mode Trigger What it is
diff (default) "review this change / branch / PR N" One target: working tree, current branch vs origin/master (git diff origin/master...HEAD), an explicit range, or a PR (gh pr diff N). Reports; posts only on an explicit request, per references/posting.md.
pre-pr "check this before I open a PR", adversarial review of own work The review spine PLUS an adversarial attack pass, run in a context-isolated agent. Read references/adversarial.md.
proposal "review this proposal / design doc / design PR N" Adversarial design review of a document before it is code: decision enumeration, claim verification, hostile-perspective fan-out, per-decision report. Read references/proposal.md.

Backlog triage — labeling, routing, dedupe, needs-info, cross-linking — is the rook-triage skill's job. A bulk request ("review the open PRs", "evaluate contributor X's PRs") decomposes: rook-triage sorts and filters (author filter for contributor evaluation), then each routed PR is its own diff-mode target here — parallel rook-reviewer agents at the user's option. Before any fan-out, show the routed list and its cost — one full reviewer spine per PR, plus the orchestrating session's verification layer — and get explicit confirmation.

Read the full file on GitHub · 429 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. 18d ago Changed · +8 lines c041da4fdb10
  2. 1mo ago Changed · +7 lines ac9d9048d2ff
  3. 2mo ago Changed · +1 lines 54c3282320be
  4. 2mo ago Changed · +1 lines 9d0446f94aae
  5. 3mo ago Changed · +22 lines f29e963ce23d
  6. 3mo ago First seen · 390 lines · 116 tokens per session scan A 18f37e920210

Subscribe to this mod's changes

rook-code-review is a skill published in the GitHub repository jhoblitt/rook-claude (5 stars, last pushed today), licensed Apache-2.0. It adds 116 tokens to every session and 6,075 once invoked, about $0.0005 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-31.

Related

rook-code-review compared with skills from other repositories

rook-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rook-code-reviewjhoblitt/rook-claudeSkill5todayApache-2.0A116Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6k4d agoMITA78Claude Code
code-reviewcbrock84/headcountSkill2.6k4d agoMITA72Claude Code
audit-fullyonatangross/orchestkitSkill315todayMITA45Claude Code
ork-assessyonatangross/orchestkitSkill315todayMITA68Codex
ork-review-pryonatangross/orchestkitSkill315todayMITA64Codex
ork-verifyyonatangross/orchestkitSkill315todayMITA65Codex