2_review

2_review is a skill for Claude Code, Codex from dixus/claudeframework. It costs 28 tokens per session (1,900 once invoked), scanned A, original, MIT.

A review workflow that examines completed implementation changes and writes a report to .claude/reviews/.

In plain words
What is it for?
Use it after implementation and before merging or committing to review correctness, scope, code quality, testing, security, and related concerns.
Why use it?
It compares the implementation with the project's context and, when supplied, its specification and current development phase.

Skill for Claude CodeCodex

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/dixus/claudeframework/2_review
Any agent
npx skills add dixus/claudeframework --skill 2_review
Clone the repo
git clone --depth 1 https://github.com/dixus/claudeframework

Made for: Claude Code, Codex.

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 2_review

README.md
[![agentmods](https://agentmods.dev/badge/skills/dixus/claudeframework/2_review.svg)](https://agentmods.dev/skills/dixus/claudeframework/2_review)
Your own site
<a href="https://agentmods.dev/skills/dixus/claudeframework/2_review"><img src="https://agentmods.dev/badge/skills/dixus/claudeframework/2_review.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,900 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.00028 $0.01900
Opus 5 $0.00014 $0.00950
Sonnet 5 $0.00006 $0.00380
Haiku 4.5 $0.00003 $0.00190

Measured 4d ago against content hash 909d72c4cbf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

2_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 4d 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/2_review/SKILL.md · 92 lines

How it starts

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

Review the current implementation changes and produce a written review report.

IMPORTANT: For best results, run this skill in a fresh session (/clear first) so the review is unbiased by the implementation context.

Use a subagent to do the file investigation so the reading does not consume the main session's context. The subagent should return its findings and you write the report from those findings.

Steps:

  1. Read CLAUDE.md for project context and conventions
  2. If $ARGUMENTS is provided, treat it as a spec filename and read .claude/specs/<name>.md to understand what was intended
  3. Phase awareness: check if .claude/specs/<name>-phases.md exists. If it does:
    • Read it and identify the current phase (the phase with status in-progress, or the latest done phase)
    • Scope all review lenses to the current phase's requirements and validation criteria only
    • Requirements belonging to later phases (status: pending) are explicitly out of scope — do not flag them as missing in Correctness, PM, or Spec validation
    • State at the top of the review report: "Reviewing Phase N of M — later-phase items are out of scope"
    • On the final phase (no pending phases remain), review against the full spec to catch cross-phase integration issues
  4. Read all files in .claude/context/ if the directory exists — for additional project context when evaluating correctness
  5. Detect review mode — check if .claude/reviews/<name>-review.md already exists from a previous cycle:
    • If no previous review exists → full review mode (steps 6-8 below)
    • If a previous review exists → delta review mode (step 9 below)

Full Review Mode (first review cycle)

  1. Identify what changed: use the project's version control system (e.g. git diff main or git diff HEAD~1); if not in a VCS repo, ask the user which files to review
  2. Read each changed file in full
  3. Evaluate against these criteria (multi-role review — address each lens):
    • Correctness: does it match the spec requirements? Are there logic bugs or missing cases?
    • Code quality: does it follow existing patterns? Is anything over-engineered or unnecessarily complex?
    • Security: any injection risks, exposed secrets, or missing input validation at system boundaries? OWASP top-10 considerations?
    • Tests / QA: are the relevant cases covered? Are there obvious edge-case gaps? Any regression risk to existing behavior? Are component-level rendering tests present (not just pure-function tests)?
    • UX / Minimal impact: does the change touch only what's necessary? Any scope creep? Are any fixes patches hiding a root-cause problem that should be fixed properly? For components displaying computed numbers, check for floating-point precision issues (use .toFixed() or Math.round()). For components with reactive state (useEffect + Zustand/Redux), check that dismissals, resets, and one-time actions cannot be re-triggered by unrelated state changes.
    • PM: does the change deliver business value? Does it align with the stated goal in the spec? Is anything built that wasn't asked for?
    • DevOps: any CI/CD implications? Environment variables, build config, or deployment steps affected? Any observability gaps (missing logs, metrics)?
    • Spec validation: check "Validation criteria" in the spec if present — can each criterion be confirmed from the diff? List each criterion and whether it is met or unmet.
    • Spec completeness: walk every requirement, validation criterion, and test case listed in the spec. For each, mark ✅ implemented / ❌ missing / ⚠️ partially implemented. A missing requirement (❌) is automatically critical severity. A partial implementation (⚠️) is major. Present the full checklist in the Issues section grouped under "Spec completeness gaps". This lens catches the most common error class: code that passes quality review but silently omits spec items.

Read the full file on GitHub · 92 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. 4d ago First seen · 92 lines · 28 tokens per session scan A 909d72c4cbf4

Subscribe to this mod's changes

2_review is a skill published in the GitHub repository dixus/claudeframework (10 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 1,900 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens