egregore: Skill for Claude Code

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

review-pr is a skill for Claude Code from egregore-labs/egregore. It costs 56 tokens per session (2,921 once invoked), scanned A, original, MIT.

A pull-request review workflow that checks one or more proposed code changes against a 10-point review checklist. A pull request is a request for teammates to review and merge a branch into another branch.

In plain words
What is it for?
Use it to review a specific pull request, an author's open requests, or all open requests, including checks for whether changes are safe to merge.
Why use it?
It provides a structured safety check before merging code and keeps raw diffs and command output out of the final review.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is egregore-labs/egregore's own configuration. It tells Claude Code how to work on egregore 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 egregore configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/cemdagdelen/....

Reuse

Borrowing it

Nothing to install: this file belongs to egregore-labs/egregore. 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/egregore-labs/egregore/main/.claude/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/egregore-labs/egregore

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/egregore-labs/egregore/review-pr/github.svg)](https://agentmods.dev/skills/egregore-labs/egregore/review-pr)
Your own site
<a href="https://agentmods.dev/skills/egregore-labs/egregore/review-pr"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/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/egregore-labs/egregore/review-pr"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,921 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.00056 $0.02921
Opus 5 $0.00028 $0.01460
Sonnet 5 $0.00011 $0.00584
Haiku 4.5 $0.00006 $0.00292

Measured 11d ago against content hash 79e34af58e74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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 · 277 lines

How it starts

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

Review a pull request with CTO-level scrutiny. Designed for vibe-coded PRs.

Arguments: $ARGUMENTS

When to invoke

User says: "review PR", "check this PR", "review #123", "is this PR safe to merge", "audit PR", "review cem's PRs" Not this: "/pr" (create a PR), "/test" (validate local changes)

Execution rules

CRITICAL: Suppress raw output. Never show raw JSON, raw diffs, or unformatted gh output. All output should be structured assessment.

Use Agent tool for diff review. Each PR gets its own background agent for parallel analysis. The agent fetches the diff, analyzes it, and returns a structured verdict.

Auth: All gh commands need: GITHUB_TOKEN=$(grep '^GITHUB_TOKEN=' .env | cut -d'=' -f2-)

Step 0: Determine scope

Parse $ARGUMENTS:

  • PR number (e.g. 123, #123) → review that single PR
  • Author (e.g. alice, bob) → list all open PRs from that author
  • --all → list all open PRs
  • Empty → list all open PRs targeting develop

Get org/repo:

GITHUB_ORG=$(jq -r '.github_org' egregore.json)
REPO_NAME=$(jq -r '.repo_name // "egregore"' egregore.json)

Step 1: Fetch PR metadata

Single PR

GITHUB_TOKEN=$TOKEN gh pr view $PR_NUM --json title,author,additions,deletions,changedFiles,headRefName,body,createdAt,state --repo $GITHUB_ORG/$REPO_NAME

Multiple PRs (author or --all)

GITHUB_TOKEN=$TOKEN gh pr list --state open --json number,title,author,additions,deletions,changedFiles,headRefName,createdAt --limit 50 --repo $GITHUB_ORG/$REPO_NAME

Filter by author login if specified.

Step 2: For each PR, run the 10-point checklist

Launch an Agent (subagent_type: general-purpose) per PR for parallel review. Give each agent:

  1. The PR number
  2. The repo
  3. The GITHUB_TOKEN retrieval command
  4. The full checklist below

The 10-Point CTO Checklist

Each agent must fetch the diff (gh pr diff $PR_NUM) and evaluate:

1. Does it actually work?
  • Check that all imports reference functions/modules that exist
  • Check that Cypher syntax is valid (balanced parentheses, proper MATCH/RETURN/WHERE structure)
  • Check that shell scripts use correct flags for the target platform (e.g. base64 -d vs -D on macOS)
  • Check that referenced files/scripts actually exist in the codebase (e.g. bin/graph-batch.sh, bin/graph-op.sh)

Read the full file on GitHub · 277 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. 11d ago First seen · 277 lines · 56 tokens per session scan A 79e34af58e74

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository egregore-labs/egregore (288 stars, last pushed 7d ago), licensed MIT. It adds 56 tokens to every session and 2,921 once invoked, about $0.0003 per session on Opus 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

work

Execute an approved wish plan — orchestrate subagents per task group with fix loops, validation, and review handoff.

automagik-dev/genie · 26 tokens

sw-do

Implement a SpecWeave increment task by task through the ledger, with evidence per task and a verified close. Use for "implement this", "start working", "continue the increment", "keep going".

anton-abyzov/specweave · 41 tokens

done

Close an increment: ledger check, specweave verify, optional review, then specweave complete. Use when all tasks are done and saying "close increment", "we are done", or "finish up".

anton-abyzov/specweave · 0 tokens

xiaohongshu-image-creator

An image-making assistant for Xiaohongshu, a Chinese social platform for lifestyle, product, and educational posts. It creates vertical covers and supporting images matched to the post’s topic, audience, and visual style.

huangrichao2020/pretty-skills · 121 tokens

atomic-tdd

Test-first discipline. Auto-triggers on "let's implement X", "add feature Y", "fix bug Z", "write a test for", "implement", "build out", and similar pre-code-change phrases. Iron rule: failing test exists before production code. Skip only for pure docs/config changes with an explicit "skipped because:" note. Explicit…

damusix/atomic-claude · 142 tokens

docs-framework

This skill should be used when the user asks to "create a review report", "write a status log", "add documentation", "name this artifact", or creates files in the .devflow/docs/ directory. Provides naming conventions, templates, and directory structure for reviews, debug sessions, design docs, and all persistent…

dean0x/devflow · 72 tokens