review

review is a skill for Claude Code from Pharaoh-so/pharaoh-mcp. It costs 115 tokens per session (3,861 once invoked), scanned A, original, MIT.

A structured code-review workflow that examines the current Git branch, changed files, affected code, security, and code quality before giving a final decision.

In plain words
What is it for?
It helps review branches and pull requests, especially changes to shared modules, core data flows, or stated requirements.
Why use it?
It reduces the risk of merging changes without understanding their wider effects or important problems.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the pharaoh plugin — 10 skills, 3 commands, 1 hook, 1 MCP server shipped together

Good fit It helps review branches and pull requests, especially changes to shared modules, core data flows, or stated requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pharaoh-so/pharaoh-mcp/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 Pharaoh-so/pharaoh-mcp --skill review
Clone the repo
git clone --depth 1 https://github.com/Pharaoh-so/pharaoh-mcp

Made for: Claude Code.

Or install pharaoh, the plugin that ships this one along with the rest of its 10 skills, 3 commands, 1 hook, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pharaoh-so/pharaoh-mcp/review"><img src="https://agentmods.dev/badge/skills/pharaoh-so/pharaoh-mcp/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,861 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.00115 $0.03861
Opus 5.5 $0.00046 $0.01544
Sonnet 5.5 $0.00023 $0.00772
Haiku 4.5 $0.00012 $0.00386

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

Security

Grade A, and why

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 2d 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.

skills/review/SKILL.md · 299 lines

How it starts

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

Review with Pharaoh

The definitive code review, for any codebase. Architecture-aware, branch-aware, multi-agent, adversarial. Five phases that combine Pharaoh's knowledge graph with parallel specialized reviewers and an independent second opinion. Every phase works without Pharaoh too; Pharaoh makes the architecture picture exact and cheap where it maps the repo.

Final verdict: SHIP / SHIP WITH CHANGES / BLOCK

When to Use

Before merging any branch. Before opening any PR. When reviewing changes that touch shared modules, export new functions, modify core data flows, or claim to implement a spec.


Phase 0 — Git Context

Goal: Know exactly what changed and where you are. This phase is mandatory and runs before anything else.

  1. Detect the current environment:

    git rev-parse --show-toplevel          # repo root (may be a worktree)
    git worktree list                      # detect if running in a worktree
    git branch --show-current              # current branch name
    git log --oneline -1                   # latest commit
    
  2. Determine the base (where this branch diverged from the branch it merges into). The target is the first of these that resolves:

    TARGET=$(gh pr view --json baseRefName --jq '"origin/" + .baseRefName' 2>/dev/null)   # the open PR's target branch
    [ -n "$TARGET" ] || TARGET=$(git symbolic-ref -q --short refs/remotes/origin/HEAD)    # the default branch, set by git clone
    [ -n "$TARGET" ] || for b in origin/main origin/master main master; do
      git rev-parse -q --verify "$b" >/dev/null && TARGET=$b && break
    done
    BASE=$(git merge-base HEAD "$TARGET") && echo "base: $BASE"
    

    If no base comes out, stop and ask which branch this merges into. An empty base makes every diff below come out empty, and the review would report no changes. If your shell doesn't keep variables between commands, set BASE to the printed commit at the start of each one.

  3. Collect the full changeset from the base:

    : "${BASE:?no base: ask which branch this merges into}"   # stops here rather than diff HEAD against itself
    git diff --name-only "$BASE"...HEAD   # all changed files
    git diff --stat "$BASE"...HEAD        # summary stats
    git log --oneline "$BASE"..HEAD       # all commits on this branch
    

Read the full file on GitHub · 299 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. 2d ago First seen · 299 lines · 115 tokens per session scan A 9fe090b1d166

Subscribe to this mod's changes

review is a skill published in the GitHub repository Pharaoh-so/pharaoh-mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 115 tokens to every session and 3,861 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-10-21.

Related

Other skills, from other repositories

codespaces

Build and query architecture-aware code search, dependency graphs, call flows, impact analysis, and belief maps for Python, TypeScript, TSX, Rust, C#, Java, Go, Ruby, and Ruby on Rails repositories. Use before non-trivial code changes to find module boundaries, blast radius, architecture violations, and the minimal…

diskd-ai/codespaces · 74 tokens

pull-request-automation

Audits and improves the pull request workflow for a GitHub repository. Covers PR description templates, auto-labelling, CODEOWNERS, PR size checks, and branch protection rules. Invoked when the user asks to improve the PR process, set up PR automation, or add a PR template.

soulcodex/agentic · 65 tokens

codebase-intelligence

Query the codebase-intelligence CLI to understand TypeScript architecture, dependencies, blast radius, and risk before reading files. Use for any "how is this structured", "what breaks if I change X", "where is the complexity" question.

bntvllnt/codebase-intelligence · 54 tokens

pull-request-review-gate

Use when independently reviewing a concrete pull request, merge request, commit range, patch, or repository diff for merge readiness: apply repository instructions, documented contracts, applicable ArcForge domain rules, and current candidate evidence; identify correctness, security, compatibility, regression, test…

d4rkNinja/arcforge · 184 tokens

dotnet-analyzer-code-quality

Detect code quality issues, architecture rule violations, code smells, technical debt, dead code, and performance problems in .NET projects using Roslyn-powered MCP tools. Use when the user asks to check code quality, detect code smells, measure technical debt, generate quality reports, check architecture rules, find…

CartapenaBark/DotNetAnalyzer · 242 tokens

spec-dogfood

Hands-off, diff-scoped browser QA of the active branch or PR. Use when a branch needs autonomous user-flow dogfooding before review or shipping: map changed flows, drive agent-browser, fix small breakages with regression tests, record human-decision blockers, and write a durable report. Do not use for collaborative UI…

ronronner02/codepilot-agent · 89 tokens