Comprehensive manuscript review with three modes: single-pass (default), --adversarial critic-fixer loop, and --peer [journal] simulated peer-review pipeline (editor + 2 dispositioned referees + editorial decision, calibrated to a target journal). R&R continuation via --peer --r2/--r3; hostile-editor stress test via --peer --stress; reviewer-disposition variance reporting via --peer --variance N. Auto-invokes /review-r + /audit-reproducibility on referenced scripts unless --no-cross-artifact.
npx skills add https://github.com/pedrohcgs/claude-code-my-workflow --skill review-paper
Produce a thorough, constructive review of an academic manuscript — the kind of report a top-journal referee would write.
> Which review skill do I want?
>
> - /review-paper (this skill) — single comprehensive report, optional --adversarial critic-fixer loop, or --peer <journal> simulated peer-review pipeline. Best for most drafts.
> - /seven-pass-review — seven independent lenses in parallel (abstract, intro, methods, results, robustness, prose, citations) then synthesized. Heavier (7× token cost). Best for submission-ready drafts or R&R stage where you need maximum coverage.
> - /respond-to-referees — if you already have referee comments and need a response document, not another review.
> - /slide-excellence — for lecture slides, not papers.
Input: $ARGUMENTS — path to a paper (.tex, .pdf, or .qmd), or a filename in master_supporting_docs/. Optional flags:
--adversarial — critic-fixer loop (max 5 rounds).--peer <JOURNAL> — simulated peer review pipeline calibrated to <JOURNAL> (see .claude/references/journal-profiles.md for available short names).--r2 / --r3 — R&R continuation mode (requires --peer). Reloads prior round, classifies concerns Resolved / Partial / Not addressed.--stress — hostile-editor stress test (requires --peer). Forces SKEPTIC dispositions, doubles critical peeves.--variance (followed by integer N, default 3) — reviewer-disposition variance mode (requires --peer). Runs N referees with independently sampled dispositions from the 6-way taxonomy. Editor aggregates into a decision distribution, not a point estimate. Mutually exclusive with --stress and --r2/--r3.--no-novelty-check — skip editor's WebSearch novelty probe (default is ON).--no-cross-artifact — skip auto-invocation of /review-r + /audit-reproducibility on referenced scripts.> Already received referee comments? Use /respond-to-referees instead. That skill cross-references each referee concern against the revised manuscript and drafts a complete response document.
One comprehensive review report. Fast, low token cost, suitable for early drafts where the author wants feedback and will iterate manually.
--adversarial)Iterative critic-fixer loop modeled on /qa-quarto. The critic identifies issues, the fixer proposes and applies edits (with user approval), and the critic re-audits. Loops until APPROVED or max 5 rounds.
Use when: preparing a pre-submission draft, responding to a journal-desk rejection with substantive revisions, or after your own major rewrite. Costs more tokens but produces a manuscript the critic has signed off on.
--peer <JOURNAL>)Simulated editorial pipeline: editor desk review → referee selection → 2 blind referees with different dispositions → editorial synthesis. Calibrated to a target journal from .claude/references/journal-profiles.md. Use when: pre-submission dress rehearsal, choosing between target journals, R&R planning.
This mode is materially different from --adversarial: adversarial runs the same critic 5× with fresh context; --peer runs different personas (editor + 2 dispositioned referees drawn from 6-way taxonomy: STRUCTURAL / CREDIBILITY / MEASUREMENT / POLICY / THEORY / SKEPTIC) whose priors are *deliberately different* and who are blind to each other.
Agents used (all reimplemented in this template; adapted from Hugo Sant'Anna's clo-author with permission):
.claude/agents/editor.md — editor (desk review, referee selection, synthesis)..claude/agents/domain-referee.md — substance referee..claude/agents/methods-referee.md — methodology referee (paper-type-aware).Sub-flags:
--r2 / --r3 — R&R mode. Skips fresh desk review; reloads prior round's reports; same referees + dispositions + peeves; classifies each prior concern as Resolved / Partial / Not addressed. Hard cap at --r3 (no round 4+).--stress — Hostile editor. Forces both referees to SKEPTIC disposition, doubles critical peeves, framing: "you are looking for reasons to reject this paper." Output is a concern-list gauntlet, not a decision letter.--variance (with integer N, default 3) — Reviewer-disposition variance mode. Runs N referees with independently sampled dispositions from the 6-way taxonomy (STRUCTURAL / CREDIBILITY / MEASUREMENT / POLICY / THEORY / SKEPTIC). Editor synthesizes into a distribution of decisions, not a single verdict. See "Variance mode" below.--no-novelty-check — Disables the editor's WebSearch novelty probes (default is ON). Use in offline or hallucination-sensitive contexts. Novelty-check caveat (document this to users): WebSearch can return hallucinated citations or miss paywalled recent work. Always surface novelty-probe results as flags for manual verification, not verdicts.--peer --variance N)Why this mode exists. Default --peer runs an editor + 2 referees with dispositions sampled once. A single peer-review pass is a point estimate of how the paper would fare — but the AgentReview ACL 2024 study (arXiv:2406.12708) found that ~37% of paper decisions vary purely from reviewer-disposition sampling and another 27.7% from partial author-identity disclosure. A point estimate hides this variance.
Variance mode runs N independent referees (default N=3, max N=5 for token-cost discipline) with disposition sampling, then reports a decision distribution that surfaces this variance to the author.
How it works:
Task with context: fork) — same manuscript, same paper-type rubric, different disposition. Referees are blind to each other.2/3 R&R, 1/3 Reject with the modal verdict highlighted).Output files:
quality_reports/peer_review_<paper>/referee_1.md … referee_N.md (per-referee reports)quality_reports/peer_review_<paper>/decision_distribution.md (aggregate table + concern-frequency analysis)quality_reports/peer_review_<paper>/editor_synthesis.md (final editorial letter)Cost discipline. Variance mode multiplies referee-tier cost by N relative to default --peer (which runs 2 referees). The Cost-Conscious Composition section of the workflow guide recommends keeping referees on Sonnet (mid-tier) for variance runs and reserving Opus for the editor synthesis. Hard cap at N=5; for higher variance estimates, run --variance 5 twice and combine offline.
Mutual exclusivity. Variance mode cannot combine with --stress (which forces SKEPTIC×2 and would defeat the sampling purpose) or --r2/--r3 (which reuses prior-round dispositions for continuity). The skill halts with an error if mutually-exclusive flags are combined.
When to reach for it:
--variance 3 against two journal profiles, compare distributions.--variance 5 against the same journal profile gives an empirical sense of whether the original referees were typical.--adversarial, --no-cross-artifact) from $ARGUMENTS to get the bare manuscript path. Check:master_supporting_docs/supporting_papers/$ARGUMENTSpages parameter (up to 20 pages per request).quality_reports/paper_review_[sanitized_name]_round[N].md (N=1 in default mode; N increments in adversarial mode).6b. Cross-artifact integration. Unless $ARGUMENTS contains --no-cross-artifact, and if the manuscript references analysis scripts (detected via \input{scripts/...}, %% source: comments, or matching scripts/R/_outputs/ filenames), auto-invoke:
/review-r on each referenced script (forked subagent, results to quality_reports/cross_artifact_[paper]/review_r_*.md)/audit-reproducibility on the manuscript + outputs dir (results to quality_reports/cross_artifact_[paper]/reproducibility.md)Merge critical cross-artifact findings (code bug invalidates paper claim, reproducibility FAIL) into a new "Cross-Artifact Findings" section at the top of the paper review report. See .claude/rules/cross-artifact-review.md for the full protocol.
--adversarial is in $ARGUMENTS: invoke the critic-fixer loop defined in the next section. Otherwise stop here.# Manuscript Review: [Paper Title]
**Date:** [YYYY-MM-DD]
**Reviewer:** review-paper skill
**File:** [path to manuscript]
## Summary Assessment
**Overall recommendation:** [Strong Accept / Accept / Revise & Resubmit / Reject]
[2-3 paragraph summary: main contribution, strengths, and key concerns]
## Strengths
1. [Strength 1]
2. [Strength 2]
3. [Strength 3]
## Major Concerns
### MC1: [Title]
- **Dimension:** [Identification / Econometrics / Argument / Literature / Writing / Presentation]
- **Issue:** [Specific description]
- **Suggestion:** [How to address it]
- **Location:** [Section/page/table if applicable]
[Repeat for each major concern]
## Minor Concerns
### mc1: [Title]
- **Issue:** [Description]
- **Suggestion:** [Fix]
[Repeat]
## Referee Objections
These are the tough questions a top referee would likely raise:
### RO1: [Question]
**Why it matters:** [Why this could be fatal]
**How to address it:** [Suggested response or additional analysis]
[Repeat for 3-5 objections]
## Specific Comments
[Line-by-line or section-by-section comments, if any]
## Summary Statistics
| Dimension | Rating (1-5) |
|-----------|-------------|
| Argument Structure | [N] |
| Identification | [N] |
| Econometrics | [N] |
| Literature | [N] |
| Writing | [N] |
| Presentation | [N] |
| **Overall** | **[N]** |
Only runs if --adversarial is in $ARGUMENTS.
Pattern adapted from /qa-quarto, which uses the same loop to iterate on slide quality. Papers get it now because the single-pass review leaves authors doing manual fix-and-resubmit cycles.
Phase 0: Pre-flight
│
├─ Verify the manuscript compiles (xelatex / quarto render) if applicable
├─ Snapshot the pre-review version: git stash OR copy to a .review-backup/
│
Phase 1: Critic audit (round N=1,2,3,...)
│
├─ Run the default review above, producing a round-N report
├─ If the report has ZERO Major Concerns and ZERO Referee Objections
│ rated "fatal":
│ → VERDICT = APPROVED. Stop the loop. Write final summary.
│ Else: continue.
│
Phase 2: Fixer
│
├─ For each Major Concern in the round-N report, produce a concrete
│ proposed edit (diff or new text block).
├─ Present proposed edits to the user grouped by severity (Critical →
│ Major → Minor). Ask for approval: "apply all", "apply critical+major
│ only", "review each", or "abort".
├─ Apply approved edits with Edit / Edit tools.
├─ If the manuscript is a compile target (`.tex` / `.qmd`), re-compile
│ and verify it still builds.
│
Phase 3: Re-audit
│
└─ Spawn a FRESH-CONTEXT subagent (via Task, `subagent_type` set to
general-purpose) to re-read the paper and produce a round-(N+1)
report. Fresh context prevents anchoring bias — the new reviewer
sees the edited paper, not the diff.
→ Jump back to Phase 1.
Same loop-until-dry primitive as /qa-quarto (orchestrator-protocol.md): the critic returns FINDINGs in the shared schema (orchestration-schemas.md) and the loop converges when a round adds 0 new CRITICAL/MAJOR concerns (deduped on location+finding), not at a fixed count.
summary-parity.md.| Condition | Action |
|---|---|
| Zero Major Concerns, zero fatal Referee Objections | APPROVED — final summary |
| Max 5 rounds reached | HALTED — list remaining concerns, user decides |
| User approves zero fixes in a round | HALTED — user signals "I disagree with this review" |
| Compile fails after applied fixes | ROLLED BACK to pre-round-N snapshot, report compile error, user decides |
After the loop ends, write quality_reports/paper_review_[sanitized_name]_FINAL.md:
# Final Review: [Paper Title]
**Rounds:** N
**Verdict:** APPROVED | HALTED (max rounds) | HALTED (user override) | ROLLED BACK
**Token cost estimate:** ~XXk
## Round Summary
| Round | Major Concerns | Fatal Objections | Status |
|---|---|---|---|
| 1 | 7 | 2 | Fixed 5, deferred 2 |
| 2 | 3 | 1 | ... |
| ... | ... | ... | ... |
| N | 0 | 0 | APPROVED |
## Changes Applied
[link to git diff between the pre-round-1 snapshot and HEAD]
## Remaining Concerns (if HALTED)
[list with severity + rationale]
## Next Steps
[recommended action: submit / one more pass / substantial revision]
--peer [journal] workflow detailUnless --no-cross-artifact is set, auto-invoke /audit-reproducibility on the manuscript + its outputs directory *first*. Any reproducibility FAIL becomes desk-reject-worthy evidence the editor can cite. See .claude/rules/cross-artifact-review.md.
Reports: quality_reports/cross_artifact_[paper]/reproducibility.md.
Novelty-probe Post-Flight (new in v1.7.0). The editor's novelty probe uses WebSearch to check whether the paper's contribution has been made before. WebSearch results can be hallucinated — fabricated prior work, misattributed findings, wrong years. Before the editor's desk review incorporates novelty-probe claims into its decision, those claims must pass Post-Flight Verification per .claude/rules/post-flight-verification.md:
claim-verifier via Task with subagent_type=claim-verifier and context=fork, passing the claims + verification questions + candidate source URLs. Forked fresh context is the CoVe independence trick.Opt-out: --no-novelty-check already skips the probe entirely. If the probe runs, Post-Flight is mandatory.
Pre-Flight Report (required before Phase 1). This is the RUN_CONFIG echo from orchestrator-protocol.md — every interactive choice (journal, dispositions, peeve budget, N referees, cross-artifact/novelty toggles, round) is resolved before the forked editor/referees spawn, because a forked subagent cannot stop to ask. Output it so the user can verify inputs, and halt here on any unresolved required field (unknown journal, missing script) rather than mid-run:
## Pre-Flight Report — /review-paper --peer
**Manuscript:** [path] — [page count, last modified]
**Target journal:** [JOURNAL_SHORT] → [full name from `.claude/references/journal-profiles.md`]
**Journal profile loaded:** [yes/no; resolved from `.claude/references/journal-profiles.md`; key adjustments: e.g., "Identification 35 → 40"]
**Cross-artifact scripts found:** [list referenced .R / .py / .do files]
**Reproducibility status:** [PASS / FAIL from Phase 0] — [N of M claims within tolerance]
**Round:** [fresh / r2 / r3 / stress]
If the manuscript path doesn't exist, the target journal isn't in .claude/references/journal-profiles.md, or a cross-artifact script is missing, stop and surface the issue before proceeding.
Spawn forked subagent editor with the manuscript path and --peer <JOURNAL> context. Editor:
.claude/references/journal-profiles.md → states "Calibrated to: [journal]".--no-novelty-check).Report: quality_reports/peer_review_[paper]/desk_review.md.
Editor draws 2 DIFFERENT dispositions from journal's Referee-pool weights and assigns each referee 1 critical + 1 constructive peeve (stress mode: 2 critical + 1 constructive). Appended to desk_review.md.
Spawn in parallel:
domain-referee with disposition D1, peeves P1 → referee_domain.md.methods-referee with disposition D2, peeves P2 → referee_methods.md.Each referee must include "What would change my mind: [specific ask]" on every MAJOR concern.
Read both referee reports. Reduce their FINDINGs, classify each MAJOR concern as FATAL / ADDRESSABLE / TASTE, and produce the editorial decision using the decision rule table in editor.md.
Post-judge hallucination gate (orchestration-schemas.md §4): the editor reduces the referees — it must not desk-reject or escalate on a CRITICAL reason neither referee raised. Any editor-introduced blocker that is not traceable to a referee finding is re-verified in a fresh claim-verifier fork or dropped to [JUDGE-HALLUCINATED] and the decision recomputed. (The editor may always downgrade or de-duplicate referee concerns.)
Report: quality_reports/peer_review_[paper]/editorial_decision.md.
Tell the user:
--peer modequality_reports/
peer_review_[sanitized_paper_name]/
desk_review.md # Phase 1 + Phase 1b
referee_domain.md # Phase 2 (parallel)
referee_methods.md # Phase 2 (parallel)
editorial_decision.md # Phase 3
(R&R rounds: desk_review_r2.md, referee_domain_r2.md, ...)
cross_artifact_[sanitized_paper_name]/
reproducibility.md # Phase 0
review_r_*.md # Phase 0 (one per referenced script)
The shipped journal-profiles.md covers 5 econ journals (AER, QJE, JPE, ECMA, ReStud). For other fields (finance, political science, biology, CS, etc.), copy templates/journal-profile-template.md into a new section of journal-profiles.md and fill in the schema. See the "Field adaptation" section at the end of journal-profiles.md for detailed guidance. The pipeline itself is field-agnostic; only the calibration data changes.
For non-econ paper types in methods-referee.md, extend the paper-type list (e.g., biology: observational / experimental / computational / review).
.claude/skills/audit-reproducibility/SKILL.md — numeric-claim verification (auto-invoked on referenced scripts)..claude/skills/replication-package/SKILL.md — assemble the AEA DCAS deposit once the paper passes review..claude/skills/capture-environment/SKILL.md · .claude/skills/disclosure-check/SKILL.md — environment capture + restricted-data screening for the deposit..claude/skills/seven-pass-review/SKILL.md — heavier 7-lens pass for submission-ready drafts.Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.
Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.
Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.
Take pedrohcgs/review-paper from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.