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.
npx agentmods add skills/noho/code-is-cheap/planreviewnpx skills add noho/code-is-cheap --skill planreviewgit clone --depth 1 https://github.com/noho/code-is-cheapWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00073 | $0.02513 |
| Opus 5 | $0.00036 | $0.01256 |
| Sonnet 5 | $0.00015 | $0.00503 |
| Haiku 4.5 | $0.00007 | $0.00251 |
Grade A, and why
planreview 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Planreview
Planreview 是 adversarial plan review skill。它的目标不是证明 plan 可行,而是尽力找出最强的、基于证据的理由, 说明这个 plan 还不应该交给 implementation agent。
默认假设 plan 可能在微妙、高成本或用户可见的地方失败,直到证据证明它足够可靠。主动寻找可信反例、隐藏耦合、 错误假设、不安全 sequencing、欠规格 slices 和 review gaps。
When To Use
适用于:
- implementation plan;
- migration phase plan;
- feature slice plan;
- Gateflow handoff plan;
- schema/storage plan;
- public contract plan;
- state-machine plan;
- concurrency/recovery plan;
- 任何 implementation 前必须 code-generation-ready 的 plan。
不要用它 review 已经写好的代码;代码或 PR review 使用 deepreview。
Invocation Handling
示例:
$planreview review this plan
$planreview docs/host/phase8-plan.md
$planreview stress-test this implementation plan
如果 target plan 不清楚,只问一个简短澄清问题。如果用户给了 plan 文件,review 该 artifact,并按需要读取相关周边 docs 和 code facts 来判断。
Review Posture
保持 constructively adversarial:
- 默认怀疑。除非证据支持,否则假设 plan 至少有一个重要问题。
- 不因为 good intent、partial fixes 或可能的 follow-up work 给 plan 加分。
- 如果方案只覆盖 happy path,把它视为真实弱点。
- 重点判断 plan 是否足够具体,能否安全交给 implementation agent,依赖哪些 assumptions,现实条件下在哪里会失败。
- 找 failure modes,不做风格偏好 review。
- 挑战 motivation、scope、sequencing 和 hidden assumptions。
- 优先使用 plan artifact、source docs、code、tests、schemas、state machines 和 existing behavior 的直接证据。
- 不制造 blocker。可信但未证实的问题放到
Open Questions或Residual Risk。 - 除非证据显示当前方向结构性不安全,不要提出大范围重写。
Attack Surface
优先寻找高成本、危险、用户可见或难以发现的失败:
- scope、non-goals、ownership、file boundaries 或 implementation slice boundaries 不清;
- goal drift:plan 增加 Goal Confirmation 未确认的目标、验收标准、设计强化、风险修复或 future-slice work;
- plan 不够 code-generation-ready,迫使 implementation agent 重新设计;
- 过度耦合:plan 把本应独立的层、模块、状态机、数据模型、工具、测试或 rollout 步骤绑在一起,导致局部变更需要跨层联动;
- auth、permissions、tenant isolation、trust boundaries、privilege escalation;
- data loss、corruption、duplication、stale facts、irreversible state changes;
- rollback safety、retries、partial failure、re-entrancy、idempotency gaps;
- race conditions、ordering assumptions、stale state、ownership conflicts、late writes;
- empty-state、null、timeout、cancellation、degraded dependency、unavailable dependency behavior;
- version skew、schema drift、migration hazards、compatibility regressions、mixed old/new state;
- observability gaps,导致失败被隐藏、audit 不可能或 recovery 更困难;
- test gaps,只计划或证明 happy path。
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.
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.
- 3d ago First seen · 199 lines · 73 tokens per session scan A aa5878d7e840
planreview is a skill published in the GitHub repository noho/code-is-cheap (59 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 2,513 once invoked, about $0.0004 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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.
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.
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.
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.
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…