deepreview

A strict code-review skill for checking unmerged changes, a GitHub pull request, or an entire code repository.

In plain words
What is it for?
Use it to review current changes, a numbered pull request, or all repository code, with the results saved as a review document.
Why use it?
It helps find correctness, stability, and maintainability problems with evidence before code is merged or relied on.

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/noho/code-is-cheap/deepreview
Any agent
npx skills add noho/code-is-cheap --skill deepreview
Clone the repo
git clone --depth 1 https://github.com/noho/code-is-cheap

Made for: Claude Code, Codex.

Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,489 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.00137 $0.05489
Opus 5 $0.00068 $0.02745
Sonnet 5 $0.00027 $0.01098
Haiku 4.5 $0.00014 $0.00549

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

Security

Grade A, and why

deepreview 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/deepreview/SKILL.md · 401 lines

How it starts

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

Deepreview

Deepreview 执行严格、基于证据的 code review。它有三种 mode:

  • Current Changes Mode:review 当前 workspace 和 branch 相对 main 或指定 base ref 的 changes。
  • PR Review Mode:review 指定 Pull Request 相对其 base branch 的完整 diff。
  • All Repository Mode:review 仓库中的全部代码。

当用户要求 strict review、deep review、current unmerged changes review、PR review 或 full repository review 时,使用这个 skill。

Invocation Handling

直接映射这些短指令:

$deepreview
$deepreview 当前改动
$deepreview current changes
$deepreview --base main
$deepreview --base <ref>

使用 Current Changes Mode。裸 $deepreview 等价于 $deepreview --base main。如果提供了 --base <ref>, 就 review 当前 workspace 和 branch 相对该 base ref 的 changes,而不是默认 main

$deepreview PR 123
$deepreview pr 123
$deepreview --pr 123

对 PR number 123 使用 PR Review Mode。

$deepreview --all
$deepreview all
$deepreview full
$deepreview repo
$deepreview 全部代码
$deepreview 整个仓库

使用 All Repository Mode。

如果同时提供 --all--pr <number>,必须询问用户是要 review 整个仓库还是指定 PR,不要自行选择。 如果同时提供 --all--base <ref>,使用 All Repository Mode,并把 --base 仅作为可选参照基线记录到 scope。 如果同时提供 --pr <number>--base <ref>,使用 PR Review Mode,并把 --base 仅作为需要核对 PR base branch 的显式期望。如果用户要求 PR review 但没有给 PR number,先询问 PR number。若请求无法判断是 current changes、PR mode 还是 All Repository Mode,只问一个简短澄清问题。

Output Contract

始终把完整 review 结果写入 docs/reviews/ 下的 markdown 文件。目录不存在时创建。

写 review artifact 前,必须从本机系统时钟生成 timestamp。不要推断、手写或编造 timestamp。不要使用 001 这类计数器。

运行或执行等价操作:

mkdir -p docs/reviews
ts="$(date +%Y%m%d-%H%M%S)"

Current Changes Mode 使用生成的 timestamp:

docs/reviews/code-review-${ts}.md

PR Review Mode 使用生成的 timestamp:

docs/reviews/pr-<pr_number>-review-${ts}.md

All Repository Mode 使用生成的 timestamp:

docs/reviews/repo-review-${ts}.md

写入前,确认路径匹配以下格式之一:

docs/reviews/code-review-[0-9]{8}-[0-9]{6}.md
docs/reviews/pr-<pr_number>-review-[0-9]{8}-[0-9]{6}.md
docs/reviews/repo-review-[0-9]{8}-[0-9]{6}.md

最终回复用户时,只简要说明 review conclusion 和 output file path。

Read the full file on GitHub · 401 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. 2d ago First seen · 401 lines · 137 tokens per session scan A cd76556e5ef4

Subscribe to this mod's changes

deepreview is a skill published in the GitHub repository noho/code-is-cheap (59 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 137 tokens to every session and 5,489 once invoked, about $0.0007 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

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