cdkd: Skill for Claude Code

.claude/skills/review-pr/SKILL.md

review-pr is a skill for Claude Code from go-to-k/cdkd. It costs 48 tokens per session (766 once invoked), scanned A, original, Apache-2.0.

A pull-request review planner that uses the change size and other risk factors to recommend how many reviewers are needed.

In plain words
What is it for?
It is for choosing between a quick spot-check, one reviewer, or several parallel reviewers and preparing prompts for them.
Why use it?
It helps avoid giving large or security-sensitive changes too little review, while keeping small changes from needing unnecessary coordination.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions AGENTS.md.

This is go-to-k/cdkd's own configuration. It tells Claude Code how to work on cdkd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cdkd configures →

View source ↗ go-to-k/cdkd
Reuse

Borrowing it

Nothing to install: this file belongs to go-to-k/cdkd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/go-to-k/cdkd/main/.claude/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/go-to-k/cdkd

Made for: Claude Code.

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 review-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/go-to-k/cdkd/review-pr"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 766 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 pass 7 Sept 2026
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.00048 $0.00766
Opus 5.5 $0.00019 $0.00306
Sonnet 5.5 $0.00010 $0.00153
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

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

.claude/skills/review-pr/SKILL.md · 66 lines

How it starts

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

PR Review Recommendation

Decide how much review rigor a PR warrants and surface the dispatch prompts. The recommendation says what a PR needs AT MINIMUM.

The recommended set is a FLOOR, not a cap, and wall-clock / token cost is never a reason to come in under it or to stop at it (AGENTS.md, "Cost is not a tiebreaker"): when unsure, add the axis. Reviewers are read-only agents that run in parallel.

This skill never spawns reviewers — it reads PR stats, applies the heuristic, and prints a recommendation. The main session orchestrator issues the Agent calls, extending the templates in references/output-template.md with PR-specific context.

The per-stage detail lives under references/, and reading a stage's file at stage entry is mandatory — the one-line summaries below are routing, not the procedure.

Steps

  1. Is it your turn? A PUSH is not a round-completion signal — a REPLY is. Read references/round-completion.md and apply it BEFORE opening a round on a head you have not reviewed.

  2. Read the PR — paths above all, plus loc / fc for context and the touched src/ files' recent history. Commands and their traps: references/pr-stats.md. The history probe is mandatory: it is the one step-3 signal not readable off paths.

  3. Default: ONE reviewer (pr-code-reviewer). A docs-only or test-only diff is not discounted below it.

  4. Triggers from the paths list and the src/** size — references/bias-factors.md, read at this step and AUTHORITATIVE for every list below.

    • Size: the src/** diff exceeds 400 lines OR 8 files → add pr-spec-reviewer + pr-test-reviewer (all three axes).
    • Security add-on (pr-security-reviewer, additive to whatever else runs): a secret / credential / redaction / masking / sensitive-value persistence / process-launch surface, src/provisioning/providers/**, or a PR that IS a security fix. A security blocker stops the merge like any other.
    • All three axes plus security: a state-schema bump, or a security fix.

Read the full file on GitHub · 66 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 8d38d9c4326d
  2. 1mo ago Changed · -16 lines 95e527243cdd
  3. 1mo ago Changed · -13 lines · -1 tokens per session 6178e64e7cb6
  4. 1mo ago Changed · -344 lines 35ecc624486d
  5. 1mo ago Changed · -1 lines 82bde87ec70c
  6. 1mo ago Changed · -3 lines e03d7dd42d80
  7. 1mo ago Changed 78016b311056
  8. 1mo ago Changed · +83 lines 4c0a3ba4f4f4
  9. 1mo ago Changed 8d1e1591a9ee
  10. 1mo ago First seen · 360 lines · 49 tokens per session scan A f954f5764d5e

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository go-to-k/cdkd (156 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 766 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-08-30.

Related

Other skills, from other repositories

aws-cdk-mcp-server-mcp

AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.

Friz-zy/ai-capability-registry · 33 tokens

prowler-compliance-review

Reviews Pull Requests that add or modify compliance frameworks. Trigger: When reviewing PRs with compliance framework changes, CIS/NIST/PCI-DSS additions, or compliance JSON files.

prowler-cloud/prowler · 41 tokens

prowler-pr

Creates Pull Requests for Prowler following the project template and conventions. Trigger: When working on pull request requirements or creation (PR template sections, PR title Conventional Commits check, changelog gate/no-changelog label), or when inspecting PR-related GitHub workflows like conventional-commit.yml…

prowler-cloud/prowler · 84 tokens

agent-squad-python

Use when building or modifying a Python app that uses the agent-squad Python package — async multi-agent orchestration for Python 3.11+: orchestrator, agents (BedrockLLMAgent, AnthropicAgent, OpenAIAgent, SupervisorAgent, GroundedAgent, ChainAgent, and more), classifier routing (Bedrock, Anthropic, OpenAI), storage…

2FastLabs/agent-squad · 113 tokens

agent-squad-swift

Use when building or modifying a Swift app that uses the AgentSquad Swift framework — on-device multi-agent orchestration for iOS 16+ / macOS 14+: orchestrator, agents (Agent, GroundedAgent), classifier routing, LLM clients (OpenAI-compatible), tools (native + MCP), tool UIs/widgets, on-device storage, tracing, and…

2FastLabs/agent-squad · 91 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens