review

review is a skill for Claude Code, Codex from HECer/yoke. It costs 103 tokens per session (2,395 once invoked), scanned A, original, MIT.

A pre-merge code-review skill that examines the changes on a branch before they are added to the main codebase. A branch is a separate line of code changes, and a merge combines it with another branch.

In plain words
What is it for?
Reviewing a pull request or other change set for SQL safety, AI trust-boundary errors, conditional side effects, architecture fit, edge cases, tests, and performance.
Why use it?
It catches structural security problems, edge cases, missing tests, and performance issues that automated tests may not detect.

Skill for Claude CodeCodex

Part of the yoke plugin — 34 skills, 1 hook shipped together

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.

agentmods
npx agentmods add skills/hecer/yoke/review
Any agent
npx skills add HECer/yoke --skill review
Clone the repo
git clone --depth 1 https://github.com/HECer/yoke

Made for: Claude Code, Codex.

Or install yoke, the plugin that ships this one along with the rest of its 34 skills, 1 hook.

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/hecer/yoke/review.svg)](https://agentmods.dev/skills/hecer/yoke/review)
Your own site
<a href="https://agentmods.dev/skills/hecer/yoke/review"><img src="https://agentmods.dev/badge/skills/hecer/yoke/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,395 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00103 $0.02395
Opus 5 $0.00051 $0.01197
Sonnet 5 $0.00021 $0.00479
Haiku 4.5 $0.00010 $0.00239

Measured 5d ago against content hash 378de1a627b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

canon/skills/review/SKILL.md · 247 lines

How it starts

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

Pre-Landing PR Review

You are running the review workflow. Analyze the current branch's diff against the base branch for structural issues that tests don't catch.


Step 0: Detect platform and base branch

Detect the git hosting platform from the remote URL:

git remote get-url origin 2>/dev/null
  • URL contains "github.com" → platform is GitHub
  • URL contains "gitlab" → platform is GitLab
  • Otherwise check: gh auth status 2>/dev/null → GitHub; glab auth status 2>/dev/null → GitLab; neither → unknown

Determine the base branch (target of the PR, or the repo's default):

  • GitHub: gh pr view --json baseRefName -q .baseRefName or gh repo view --json defaultBranchRef -q .defaultBranchRef.name
  • GitLab: glab mr view -F json 2>/dev/null → extract target_branch or default_branch
  • Fallback: git symbolic-ref refs/remotes/origin/HEAD, then origin/main, then origin/master, then main

Print the detected base branch. Use it as <base> in all subsequent commands.


Step 1: Check branch

  1. Run git branch --show-current.
  2. If on the base branch: output "Nothing to review — you're on the base branch or have no changes against it." and stop.
  3. Run git fetch origin <base> --quiet && git diff origin/<base> --stat. If no diff, output the same message and stop.

Step 1.5: Scope Drift Detection

Check whether the diff matches what was requested.

  1. Read TODOS.md (if it exists). Read PR description (gh pr view --json body --jq .body 2>/dev/null || true). Read commit messages (git log origin/<base>..HEAD --oneline).
  2. Identify the stated intent — what was this branch supposed to accomplish?
  3. Run git diff origin/<base>...HEAD --stat and compare against the stated intent.

Evaluate for:

  • SCOPE CREEP — files changed that are unrelated to stated intent; "while I was in there" changes
  • MISSING REQUIREMENTS — requirements from TODOS.md/PR description not in the diff; partial implementations

Read the full file on GitHub · 247 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. 5d ago First seen · 247 lines · 103 tokens per session scan A 378de1a627b4

Subscribe to this mod's changes

review is a skill published in the GitHub repository HECer/yoke (2 stars, last pushed 2d ago), licensed MIT. It adds 103 tokens to every session and 2,395 once invoked, about $0.0005 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-31.