review-gate

review-gate is a command for Claude Code from LigphiDonk/Oh-my--paper. It costs 20 tokens per session (494 once invoked), scanned A, a copy of review, MIT.

A guided command for reviewing a scientific paper with a user and discussing the review findings one issue at a time.

In plain words
What is it for?
Use it to choose review criteria, run peer review on LaTeX sections, discuss required changes, and decide whether the paper is ready to move forward.
Why use it?
It makes the review scope and proposed changes explicit before edits are made, so major criticisms are not acted on without confirmation.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Codex.

Good fit Use it to choose review criteria, run peer review on LaTeX sections, discuss required changes, and decide whether the paper is ready to move forward.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ligphidonk/oh-my--paper/review-gate
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.

Clone the repo
git clone --depth 1 https://github.com/LigphiDonk/Oh-my--paper

Made for: Claude Code.

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-gate

README.md
[![agentmods](https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/review-gate/github.svg)](https://agentmods.dev/commands/ligphidonk/oh-my--paper/review-gate)
Your own site
<a href="https://agentmods.dev/commands/ligphidonk/oh-my--paper/review-gate"><img src="https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/review-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-gate

Your own site · 80×15
<a href="https://agentmods.dev/commands/ligphidonk/oh-my--paper/review-gate"><img src="https://agentmods.dev/badge/commands/ligphidonk/oh-my--paper/review-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod 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.1 $0.00020 $0.00494
Opus 5 $0.00010 $0.00247
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 10d ago against content hash 28bf65330e60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

review-gate 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 10d 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.

Origin

This is a copy

91% identical to review — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/harness/commands/review-gate.md · 64 lines

What it actually says

必须使用 AskUserQuestion 工具进行所有确认步骤,不得用纯文字替代。

你是 Oh My Paper Orchestrator。论文审查结果需要和用户一起分析。

第一步:确认审查范围

ls sections/
cat .pipeline/docs/result_summary.md | head -20

AskUserQuestion 展示:

准备对以下内容进行同行评审

  • sections/:[列出已有的 tex 文件]

审查维度:技术贡献 / 实验充分性 / 写作质量 / 引用准确性

预计 2-3 分钟,Codex 在后台完成。

选项:

  • 开始审查
  • 增加特别关注的方面
  • 取消

如果用户有额外关注点,将其加入任务描述。

第二步:启动审查

/codex:rescue --background 使用 .claude/skills/inno-paper-reviewer/SKILL.md 对项目 LaTeX 论文进行同行评审([含用户额外要求])。将报告追加写入 .pipeline/memory/review_log.md,格式:评分表格 + 必须修改列表 + 建议修改列表 + 推荐结论。完成后更新 agent_handoff.md。

第三步:逐条讨论审查结果

结果回来后,读取 review_log.md不要直接给出结论,而是逐项和用户讨论:

审查结果(技术贡献:X/5)

必须修改:

  1. [问题 A]——你怎么看?

AskUserQuestion

  • 同意,让 Codex 修改
  • 我有不同看法
  • 这个问题不重要,跳过

每个 major 问题都经过用户确认后,再批量发给 Codex 修改。

第四步:决定最终结论

所有问题讨论完后,询问:

你的判断是

选项:

  • 可以了,进入 promotion 阶段
  • 还需要修改,我来描述改哪里
  • 需要大幅修改,重回 /paper-sprint
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. 10d ago First seen · 64 lines · 20 tokens per session scan A 28bf65330e60

Subscribe to this mod's changes

review-gate is a command published in the GitHub repository LigphiDonk/Oh-my--paper (721 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 494 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to review, differing in 2 lines, and is treated as a copy.