Skip to content
Back to skills

Review

ASecurity

Review a manuscript or chapter as an external reviewer, or the author's own work in a clean room (an isolated reviewer with only the packet), producing anchored findings, a recommendation, and a ledger closing each finding after a rechecked fix.

  • 57 stars
  • 0 votes
  • 2 copies
  • 5 views
  • Added September 20, 2026
researchpythonrustgoshellbashgitapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add yha9806/academic-writing-toolkit --skill review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yha9806-review/badge)](https://www.skillsdirectory.com/skills/yha9806-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review
description: Review a manuscript or chapter as an external reviewer, or the author's own work in a clean room (an isolated reviewer with only the packet), producing anchored findings, a recommendation, and a ledger closing each finding after a rechecked fix.
allowed-tools: Read, Glob, Grep, Agent, Bash
---

# /review — Manuscript Review

## Modes

- **external** (default): review another author's work as submitted.
- **own-work**: review the user's own draft. Three kinds of own-work review
  exist, and they carry different weight. Name the kind on every report and in
  every ledger row; never merge them into one count.
  - **clean room** (净室): an isolated reviewer that can read only a review
    packet you built, a neutral brief and the venue's saved pages. It cannot
    see the drafting conversation, the author's rules or memory, or the rest of
    the repository. Set-up below.
  - **cross-review** (交叉审): a reviewer that reads the other side's session or
    the whole repository and comments with full context: another agent tool
    working on the same line, or a reviewer with repository access. It finds
    what the packet left out, and it shares the author's framing, so its
    findings are not independent evidence. Log its findings as `cross`.
  - **fresh-context read**: a subagent spawned from the drafting session. It
    starts without the conversation but inherits that session's instruction
    files and file access. Label its output fresh-context, not clean-room.
  Never present a same-session read-through as any of these: the drafting
  conversation is context contamination by definition.

## Evidence boundary

Judge the manuscript **as submitted**. Do not use prior chat memory, unstated
author intentions, or model background knowledge as evidence for or against a
claim. If a claim cannot be assessed from the manuscript and its cited
sources, say so — that is itself a finding.

## Clean room: how it is run

This is the procedure as it has been run on several manuscripts, each over
several rounds. Each step is there because a round without it went wrong.

### 1. Before anything runs, write the round's record

One README per round, with a `Status:` line and a timestamp from `date -u`:
what is reviewed (the commit), the packet's file list, each reviewer's model
and background, the predictions, and the reading rules. Write predictions and
reading rules **before** the first run: which weaknesses you expect each
reviewer to rate decisive, what scores, which planted errors are likeliest to
be missed. A prediction written afterwards cannot be wrong.

### 2. Build the packet, and record what is in it

The reviewer sees only what the packet holds.

- Build it with a script, and write each file's source path and sha256 to a
  `PACKET_SOURCES.tsv` beside it (not inside).
- For code: put in the changed files **and** the files that call them, the
  files they call, and the repository's `.gitignore`. In one round, two real
  defects (an output directory the version control ignored; a truncation in a
  helper module) were found only by a reviewer with access to the whole
  repository, because neither file was in the packet.
- Leave out: build logs and edit logs (a build log left in one packet was read
  by three of four reviewers and would tell them the draft had just been revised),
  correspondence, private data, anything that names real people.
- For a follow-up reviewer, a change list gives **positions only**, no
  justifications, and is generated by a script that resolves each position in
  the new version. Reviewers take a change list on trust: a recheck that read
  the list and not the changed text is not a recheck.

### 3. Write a neutral brief

- First step: read only the abstract (or the title and abstract plan) and write
  down, in three to six points, what the paper intends to claim. Do not change
  that file afterwards. At the end, mark each point supported / partly /
  not supported / not yet testable, with its location.
- Stance: weigh strengths and weaknesses evenly; where unsure, say so rather
  than lean to accepting or rejecting. Do not write "be adversarial" or "be
  constructive": one stance sentence moved the same reviewer from 2 to 4.
- Anchors: every weakness names file and line; two places in the packet that
  disagree are reported with both locations.
- Background searches, if allowed, use generic queries only, never the paper's
  title or distinctive phrases; every "this has been done before" names the
  paper and says whether the reviewer read its text or only a search snippet.
- Define the rating scale in the brief and say it is the organisers', not the
  venue's. Ask for the path to the next rating, each step marked (a) rewording
  only, (b) new analysis of data in hand, (c) new data; and for the list of
  files actually read.

### 4. Run each reviewer isolated

Claude reviewers run as headless `claude -p` in a working directory **outside
the home directory**, one new directory per run (never reuse one: a rerun gets
a new ID, and the old directory is kept):

```
# refuse if any ancestor of the work directory holds CLAUDE.md, CLAUDE.local.md,
# .claude/CLAUDE.md, .claude/rules or .claude/settings.json
unset ANTHROPIC_API_KEY
export CLAUDE_CODE_DISABLE_CLAUDE_MDS=1 CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 \
       CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
printf '{"mcpServers":{}}\n' > .mcp-empty.json
claude -p "$(cat BRIEF.md)" --model <model> --setting-sources project \
  --strict-mcp-config --mcp-config .mcp-empty.json \
  --settings '{"permissions":{"blockReadsOutsideWorkingDirectories":true,"blockWritesOutsideWorkingDirectories":true}}' \
  --tools Read,Grep,Glob,Write --allowedTools Read,Grep,Glob,Write \
  --no-chrome --output-format json </dev/null
```

- Tools are Read, Grep, Glob and Write only (add WebSearch only when the brief
  asks for prior-work checks). No shell: a reviewer that can run code can read
  outside its directory.
- Write the run's stage log, result JSON and stderr into the repository, not
  into a temporary directory or scratchpad, and copy the reviewer's output
  back. A run cut off by a usage limit looks the same as one that never ran
  unless the log says which.

**Non-Claude reviewers** go through a local gateway that serves the Anthropic
Messages API and forwards to the other provider: the same `claude -p` command
with its own `CLAUDE_CONFIG_DIR`, `ANTHROPIC_BASE_URL` pointing at the gateway,
and the same isolation. Do **not** use an IDE agent's chat (for example
Antigravity) as a reviewer: it loads a global rules directory that cannot be
switched off, so the reviewer reads the author's whole working discipline.
Sending unpublished or collaborators' material to another provider needs the
author's separate permission.

**A model the paper tests** does not review its own results. In that
reviewer's copy of the packet, mask the rows and sentences that report it,
and any sentence that sorts the models into groups (it can find itself by
elimination). The masking script stops with an error if the model's name
still appears.

### 5. Measure what the reviewers catch

Build a second packet with about seven errors planted, each contradicted by
another place in the packet so that it can be found from the packet alone. Mix
the kinds: a criterion quietly loosened (largest becomes mean, a threshold
moved), a reading rule reversed, blinding broken, numbers that do not add up,
protocol and design disagreeing, and, when code is in the packet, a check
inverted. The answer key sits beside the packets, never inside, and the brief
does not mention planting. Give the planted packet to the same models with the
same briefs; the detection rate is the only use of those reviews. A further
finding from a planted-packet review is accepted only if the same sentence is
in the original packet.

Broken blinding was the kind missed most: in one round both models found six or
five of seven and both missed the blinding plant, with the contradicting
sentence eleven lines away. A reviewer saying blinding is fine does not count
as a check of it; read those sentences yourself.

### 6. Use several models, and do not use the scores

Run at least two models. Scores are not evidence: a stance sentence moved one
reviewer two points, scores did not separate revised versions from earlier
ones, and the one available calibration against real reviews is n=1. Report
them; decide nothing on them.

### 7. Check every finding before it is used

Each anchored finding is checked against the original text or code and logged
as true, false, literally true but not a problem, or unchecked. A finding that
says code does X: read those lines or write a probe. A finding that says a
check cannot detect Y: mutate the code so that Y happens and see whether the
check goes red. Findings two or more reviewers make are checked first.

When you write or fix a check in answer to a finding, make it fail first, then
pass, and then mutate it so that it reaches the **opposite** conclusion (swap
same/changed, accept/reject). In one round a check that had gone red-then-green
still passed with its verdict reversed.

### 8. Record what went wrong with the round itself

At the end of each round's README: every isolation breach (a file in the packet
that should not have been there; a reviewer that read outside its packet), runs
cut off and rerun under new IDs, scripts edited while runs were in flight, and
cost. Isolation has broken more than once; a round that records none was
either clean or not looked at, so say which.

When to run another round: when the changes since the last one touch blinding,
frozen functions or reading rules. Other changes are covered by a check that
fails first, passes after the fix, and fails again under mutation. Each round
of changes is another chance to introduce an error.

## Findings format

Write findings to a TSV the author can check, not prose they must take on
trust. A declaration of what was read, then one row per finding:

```
# reviewed: chapters/ch2_background.md, chapters/ch3_conceptual_framework.md
location	source	problem
chapters/ch2_background.md:142	literature/reading_notes/Foo_NOTES.md	The sentence attributes a claim the note does not contain.
```

- **location** is `file:line`, never a section name or a quoted span. A section
  name cannot be told apart from a plausible one; a line number resolves or it
  does not.
- **source** is the archived original or evidence file the finding rests on, or
  `-` when the finding is about the text itself (structure, clarity, an
  internal contradiction).
- **problem** is one sentence. Type and severity go in that sentence if they
  matter; a separate taxonomy column was never read.

**Run the checker before handing the report over:**

```
python3 .claude/skills/review/scripts/audit-review-findings.py \
  --base-dir <manuscript> --findings <findings.tsv>
```

It resolves every anchor, rejects a finding about a file the review never
declared it read, and exits 2 when the report does not say what it read — a
review with no declaration cannot be told apart from one that examined nothing.
It does **not** judge whether a finding is right. Split the rows three ways in
the accompanying note: defects that block the recommendation, improvements that
would strengthen it, and questions the author must answer. Consult
`references/argument-checklist.md` (repository root) for the interrogation
checklist and examiner-attack pre-mortem when the review targets argument
quality.

## Finding ledger: close every finding before submission

A review that finds a problem has not fixed it. Findings that the author agreed
with have reached submission unfixed because they sat in a round's report and
nothing listed them as open. Every finding that survives step 7, from a clean
room or a cross-review, gets one row in a ledger kept with the manuscript:

```
id	mode	raised_by	location	finding	checked	fix	recheck_by	recheck_at	recheck_result	note	asks	fix_kind	fixed_at
F1	cleanroom	r1/R2	sec/method.tex:88	The threshold is 0.06 here and 0.08 in the protocol.	true	3f2c9e1	r2/R3	a71d0b4	fixed	-	correct	text	sec/method.tex:91
F2	cross	peer-a	sec/data.tex:12	The second session was a day later.	false	-	-	-	-	The record has it a day earlier; the reviewer reversed it.	correct	-	-
F3	cleanroom	r4/R1	sec/intro.tex:40	The main result is claimed for every dataset; narrow it to the ones tested.	true	-	-	-	-	-	narrow	-	-
```

- `mode` is `cleanroom` or `cross`; nothing else.
- `checked` is `unchecked`, `true` or `false`, set by whoever checked the
  finding against the original, never by the reviewer who raised it. A
  `false` row needs a note saying why and is then closed.
- `asks` is what the finding asks the paper to do: `narrow` (claim less),
  `broaden` (claim more), `correct`, `add` or `clarify`. The whole-paper gate
  reads it: a proposal that broadens the paper while a finding asking to narrow
  it is open (F3 above), or the reverse, is refused outright.
- A `true` row is closed only by the path **finding → fix commit → the fixed
  text → a different reviewer reads the fixed version**: `fix` is the commit,
  `fixed_at` is `file:line` of the fixed text in the version the recheck read,
  `recheck_by` is not `raised_by`, `recheck_at` is the commit the recheck's
  packet was built from and must contain the fix, and `recheck_result` is
  `fixed`. `fix_kind` is `text`, `analysis` or `limitation`. A finding that
  can only be answered by stating a limitation is fixed by the commit that
  states it and rechecked like any other, but it is closed **as a limitation**
  and counted apart: conceding a finding is not fixing it.

```
python3 .claude/skills/review/scripts/audit-finding-ledger.py \
  --ledger <ledger.tsv> --repo <manuscript checkout>
```

It exits 1 while any row is open and names each open row and why, 2 on a
ledger with no rows, and counts clean-room and cross-review rows apart, and
rows closed as a limitation apart. It does **not** judge whether a fix is right
or whether the recheck read the fixed lines.

Before submission run it with `--strict --transcripts <session transcripts>`.
A row still open then passes only when the author said to submit with it open:
its note carries `作者点头:uuid <id>` and a user message with that uuid is in
the transcripts. Every other open row is reported to the author by id, not
summarised.

## Acting on findings

A finding names one place; the change that answers it is judged against the
whole paper. /review does not edit, but whoever acts on its findings writes
each change as a proposal with the whole-paper consistency section
(`references/whole-paper-section.md`, checked by `/audit` W) before the
sentence itself is rewritten, and names the findings it answers on its
回答的指认 · Answers line. Answering findings one place at a time, each
change passing its own sentence check, is how a paper's positioning drifts
without any round deciding it. With the ledger named in the writing loop's
`gates.whole_paper.ledger`, the gate refuses a change that moves the paper
against an open finding (broadening while one asks to narrow).

## Recommendation vocabulary

Exactly one of: `accept` | `minor_revision` | `major_revision` |
`reject_resubmit` | `reject` | `no_recommendation`.

## Stop conditions

Stop and report a blocker instead of continuing if asked to: fabricate
reviewer consensus, citation support, or experimental findings; review text
that is not available as submitted; or convert this review into a rewrite —
/review never edits the manuscript.

## Constraints

1. Never rewrite or patch the manuscript; output findings only.
2. Every finding resolves: run the checker and report its exit code alongside
   the findings. An unresolved anchor is withdrawn, not explained.
3. No emoji. British English.
4. Own-work mode without a way to run an isolated reviewer: state plainly that
   the review is NOT clean-room, name what it is (cross-review or
   fresh-context read), and label the output accordingly.
5. A simulated reviewer recommending acceptance is not a prediction that real
   reviewers will. Say so wherever a simulated recommendation is reported.

Files in this skill

  • SKILL.md3.4 KB
  • scripts/audit-review-findings.py8.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.