review-engine-plan

review-engine-plan is a skill for Claude Code, Codex from phase-rs/phase. It costs 69 tokens per session (2,922 once invoked), scanned A, original, Apache-2.0.

An architecture review checklist for plans that change a game engine, parser, artificial intelligence, user interface, or Magic: The Gathering rules implementation. It requires checking the plan against the code and, when useful, testing its main assumption with a small runtime probe.

In plain words
What is it for?
Use it before coding changes involving game rules, parsing, card effects, targeting, replacement effects, casting, combat, artificial intelligence, or related frontend behavior.
Why use it?
It catches missing design decisions and plans that sound correct but would behave differently in the running program.

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/phase-rs/phase/review-engine-plan
Any agent
npx skills add phase-rs/phase --skill review-engine-plan
Clone the repo
git clone --depth 1 https://github.com/phase-rs/phase

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 review-engine-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/phase-rs/phase/review-engine-plan.svg)](https://agentmods.dev/skills/phase-rs/phase/review-engine-plan)
Your own site
<a href="https://agentmods.dev/skills/phase-rs/phase/review-engine-plan"><img src="https://agentmods.dev/badge/skills/phase-rs/phase/review-engine-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,922 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.00069 $0.02922
Opus 5 $0.00034 $0.01461
Sonnet 5 $0.00014 $0.00584
Haiku 4.5 $0.00007 $0.00292

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

Security

Grade A, and why

review-engine-plan 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/review-engine-plan/SKILL.md · 150 lines

How it starts

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

Review Engine Plan

Review the plan as an architectural gate. Reject the plan if any required dimension is missing, superficial, or contradicted by code evidence.

Probe policy — you MAY and SHOULD run code

You are not a read-only reviewer. Building and running throwaway probes is an expected part of this review, and it is the only instrument that can refute a plan whose prose is internally consistent but whose runtime behaviour differs. Static review structurally cannot catch a predicate that reads correctly and answers wrongly on a real board.

Use an isolated CARGO_TARGET_DIR and the worktree's absolute path; never build in a checkout another process (e.g. Tilt) owns; serialize probe activity behind any active implementation executor. That isolation is why no brief needs to withhold builds from you — if one says "do not run cargo", use your own target dir and note it in your report.

Required Checks

  1. Probe the plan, don't just read it
    • The plan's central premise is yours to test, not merely to assess. Probe it against a real committed fixture or dump where one exists — synthetic state proves a predicate reads a field, a real board proves what it answers in production. A premise that only ever held on synthetic input is the highest-value refutation available to you.
    • The assertions worth probing are the ones whose falsity would change the design: a predicate's runtime verdict, which route or branch is actually taken, an observed count or delta, "X never happens", "this conjunct is what refuses". Where the plan asserts one of these from reading alone and you doubt it, go measure it — the finding is the wrong assertion, never the missing paperwork.
    • Believe a probe only if it reached the code under test — the plan's or your own. A zero with no positive control showing the instrument fires is not a negative result, and a run that didn't exit cleanly didn't measure anything. This is Check 9's paired positive reach-guard applied to the plan's evidence rather than to its tests; the two recurring shapes are a census that reports zero because the instrument never fired, and a discriminator whose verdict is really decided by an upstream conjunct that dominates it.
    • Verify every board-census premise against a hostile fixture. The shape that survives static review is a census predicate that ignores an applicability/filter field and so matches objects with nothing to do with the phenomenon. Run the census on a real fixture that contains irrelevant objects and confirm the predicate actually consults the applicability field. A census matching "almost everything" is a defect signature, not a result: reject the premise until that field check is shown. A plausible positive result on friendly input does not discharge this.
    • A falsified snapshot claim is repaired by reformulation, not refresh. When an edit falsifies a recorded count, coordinate, or cardinality ("four sites", "two red flags", a per-section tally), say so and require the durable form — a symbol name, "every X in §Y", or the command that regenerates the figure. Asking only for a corrected number re-arms the same defect for the next edit, which is how one stale claim becomes a multi-round loop.

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file 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. 4d ago First seen · 150 lines · 69 tokens per session scan A aa92384e6a1a

Subscribe to this mod's changes

review-engine-plan is a skill published in the GitHub repository phase-rs/phase (268 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 2,922 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

qa-cli-mcp-api

Select and run explicitly requested, risk-based QA for Anarlog's CLI, webhooks, stdio MCP, hosted Cloud API, and remote MCP. Test only affected lanes unless comprehensive coverage is requested.

fastrepl/anarlog · 47 tokens

product-update-newsletter

Draft, update, or audit a crisp, changelog-grounded Anarlog product-update newsletter in Loops (app.loops.so) for a desktop release. Use after the changelog is merged, when asked to draft, revise, or pre-send check the release announcement email.

fastrepl/anarlog · 62 tokens

sqlite-schema-design

Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice. Use when adding synced tables, changing synced columns, or planning CloudSync-safe migrations.

fastrepl/anarlog · 42 tokens

release-new-version

Release a new desktop stable version for Anarlog. Use when asked to cut, publish, or prepare a new stable desktop release after checking and merging the changelog.

fastrepl/anarlog · 38 tokens

fix-ready-prs

Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches. Use when asked to check active PRs, triage ready PRs, fix CI, or address Bugbot comments.

fastrepl/anarlog · 55 tokens

reactive-sqlite-ui

Build SQLite-backed reactive UI in apps/desktop using stable patterns for reads, selection, forms, writes, and loading states. Use when implementing or reviewing screens built on useDrizzleLiveQuery and SQLite mutations.

fastrepl/anarlog · 53 tokens