一键导入
review-pap
Run a 6-agent pre-submission review of a pre-analysis plan (PAP) for a specified registration target or journal
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a 6-agent pre-submission review of a pre-analysis plan (PAP) for a specified registration target or journal
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a 6-agent pre-submission panel review for a grant proposal targeting a specified funder or program
Review research code for reproducibility and quality, extract the paper's main empirical claims, compare paper to code, and write a constructive markdown report. Designed for social science / economics projects with LaTeX papers and Stata, R, or Python code.
Run a fast 2-agent pre-submission check for an economics paper — focuses on contribution, identification, and causal overclaiming. Completes in ~1 minute.
Run an 8-agent pre-submission referee report for an academic paper targeting a specified journal
| name | review-pap |
| description | Run a 6-agent pre-submission review of a pre-analysis plan (PAP) for a specified registration target or journal |
You are coordinating a rigorous pre-submission review of a pre-analysis plan (PAP). You will run 6 specialized review agents in parallel and consolidate their findings into a structured report.
Parse $ARGUMENTS as follows:
AEA, EGAP, OSF, ClinicalTrials, ISRCTNAER, QJE, JPE, RESTUD, AEJ, JEEAtop-journal, working-paper$ARGUMENTS matches one of these names, treat it as the registration target and treat any remaining text as the main PAP file path.$ARGUMENTS as a file path and set the registration target to top-journal.$ARGUMENTS is empty, set both to their defaults: no file path (auto-detect) and registration target top-journal.Store the resolved target as TARGET_REGISTRY for use in Agent 6 and the report header.
If a file path was provided, use it as the main PAP file. Otherwise, auto-detect:
*.md, *.txt, *.tex, *.docx, *.pdf (exclude hidden folders, .git, build output, dependency directories). Also exclude previous review reports and AI-generated commentary: PAP_REVIEW_*.md, PRE_SUBMISSION_REVIEW_*.md, QUICK_REVIEW_*.md, GRANT_PROPOSAL_REVIEW_*.md, code_review_report*.md, and anything inside a reviews/ folder. These are outputs of earlier review runs, not PAP materials.pap, pre-analysis, preanalysis, pre_analysis, registration, analysis-plan, analysis_plan, study-plan.power, sample_size, samplesize, mdesurvey, questionnaire, instrument, endline, baselinerandomization, randomisation, strata, blockanalysis, code, dofile, do_file, script, mockirb, ethics, consentIf the PAP is in a binary format such as .pdf or .docx and the environment cannot read it directly, review what is accessible and note the limitation in the final report.
In a single message, launch all 6 agents using the Agent tool with subagent_type: "general-purpose". Each agent reads the PAP materials independently. Pass the complete list of PAP and supporting file paths to each agent in its prompt. When constructing Agent 6's prompt, substitute the actual resolved value of TARGET_REGISTRY for every occurrence of TARGET_REGISTRY in that agent's prompt text.
Scope guard — prepend the following block verbatim to every agent's prompt:
Review ONLY the files listed at the end of this prompt. Do not use Glob, Grep, or directory listings to discover other files, and do not open any file that is not on the list. In particular, ignore any previous review reports (
PAP_REVIEW_*.md,PRE_SUBMISSION_REVIEW_*.md,QUICK_REVIEW_*.md,GRANT_PROPOSAL_REVIEW_*.md,code_review_report*.md, anything in areviews/folder), referee feedback, response letters, notes, README files, and old drafts — none of these may influence your review. Within the listed files, treat commented-out text and\todo{}content as if they do not exist: review only the live text of the PAP.
You are a PAP editor reviewing the document for clarity, precision, and pre-specification adequacy. Read all accessible PAP files and focus on the actual prose rather than markup or formatting commands.
What to check:
Clarity and readability: Identify sentences and paragraphs that are vague, overloaded with jargon, or too abstract for a reviewer to assess whether the plan is actually binding. Vagueness in a PAP is not just a writing problem — it creates loopholes for post-hoc flexibility.
Writing quality: Flag spelling errors, grammar issues, tense inconsistency, undefined acronyms, and inconsistent terminology. Note any section that sounds rushed or incomplete.
Structure and signposting: Check whether the PAP clearly states:
Pre-specification adequacy: For each hypothesis and analysis, ask: is this specific enough that a third party could reproduce the exact analysis without further decisions? Flag any element that would require judgment calls not resolved by the PAP:
Compliance signals: Check for common PAP failures:
Overpromising: Flag PAPs that commit to analyses unlikely to be feasible or that promise more statistical power than the sample section supports.
Tag every individual issue with [CRITICAL], [MAJOR], or [MINOR] at the start of the line so the consolidation step can rank issues cleanly.
Output format:
## Agent 1: Clarity, Writing Quality & Pre-specification Completeness
### Critical Vagueness or Specification Gaps
[numbered list: Location | Vague element | Why it creates flexibility risk | Suggested tightening]
### Minor Writing Issues
[numbered list: Location | Issue | Suggested correction]
### Structural or Compliance Signals to Fix
[numbered list: Missing or weak element | Where it should appear | Recommended remedy]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
You are a technical reviewer checking whether the PAP is internally coherent: that the hypotheses, outcomes, sample, analysis plan, and any supporting materials are mutually consistent and operationally aligned.
What to check:
Hypotheses vs. outcomes consistency: For each stated hypothesis, verify that there is a clearly designated outcome variable that directly tests it. Flag hypotheses with no designated outcome, or outcomes with no corresponding hypothesis.
Primary vs. secondary outcome designation: Is there a clear primary outcome? Are secondary outcomes distinguished from exploratory ones? Are the multiple testing corrections (if any) consistent with how outcomes are designated?
Outcome definitions vs. data plan: For each outcome, verify that the PAP explains where the data come from, how the variable is constructed, and which survey item or administrative record corresponds to it.
Subgroup and heterogeneity consistency: For every subgroup or heterogeneity analysis claimed, check that the subgroup variable is defined and that it appears in the data collection or sampling plan.
Analysis plan vs. research design consistency: Do the estimators, identification assumptions, and standard error choices match the study design? For example: does an RCT analysis plan use an appropriate estimator (ITT, IV, LATE)?
Timeline consistency: If phases, waves, endlines, or rounds are mentioned in different sections, verify they match. Flag contradictions across the narrative, timeline, and data-collection plan.
Terminology consistency: Identify every key term — treatment arm name, outcome label, subgroup name, estimator name — and flag drift in naming or meaning across sections.
Cross-document consistency: If supporting documents (power calculations, instruments, randomization protocols) are referenced, verify they appear consistent with what the main PAP describes.
Tag every individual issue with [CRITICAL], [MAJOR], or [MINOR] at the start of the line.
Output format:
## Agent 2: Internal Consistency, Hypotheses & Outcomes
### Critical Inconsistencies
[numbered list: [Location 1] ↔ [Location 2] | What conflicts | Why it matters]
### Hypothesis or Outcome Coverage Gaps
[numbered list: Hypothesis/outcome | Missing operational support | Recommended fix]
### Terminology Drift
[numbered list: Term | How it varies | Recommended standardization]
### Minor Inconsistencies
[numbered list: same format as Critical]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
You are a skeptical referee evaluating whether the proposed study can credibly answer the stated research question, whether the causal claims are justified by the design, and whether the contribution is meaningful.
What to check:
Research question clarity: Is there a precise, testable research question? Or is the question so broad that almost any result would answer it?
Identification strategy: What is the source of causal variation? Evaluate:
Testability of the hypotheses: Are the hypotheses falsifiable as stated? Could the study plausibly produce evidence against them? Flag hypotheses that are framed so that any result is consistent with the theory.
External validity and generalizability: Does the PAP address to whom and to what context the results will generalize? Are claims about broader applicability warranted by the study design?
Contribution to the literature: Does the PAP explain what existing evidence exists and what gap this study fills? Is the claimed contribution plausible given the research design?
Overclaiming and underclaiming:
Fit to TARGET_REGISTRY expectations: Based on the study design and named TARGET_REGISTRY, assess whether the PAP meets likely registration or journal standards for rigor, scope, and relevance. Flag design choices that are likely to receive critical scrutiny.
Tag every individual issue with [CRITICAL], [MAJOR], or [MINOR] at the start of the line.
Output format:
## Agent 3: Identification Strategy, Causal Claims & Contribution
### Major Identification or Design Problems
[numbered list: Location | Issue | Why it undermines the study | Fix]
### Overclaiming
[numbered list: Quoted or paraphrased claim | Why it overreaches | Better framing]
### Underused Strengths
[numbered list: Strength | Where it should be emphasized | Suggested framing]
### Minor Positioning Issues
[numbered list: same format]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
You are a demanding statistical reviewer assessing whether the proposed analysis plan is sound, pre-specified with enough precision to be binding, and adequately powered.
What to check:
Power calculation adequacy: For each primary outcome, evaluate:
Estimator specification: For each analysis, assess:
Multiple testing: Does the PAP address the risk of false positives from testing multiple hypotheses, outcomes, or subgroups?
Missing data, attrition, and non-compliance:
Robustness and sensitivity analyses: Are the pre-specified robustness checks adequate and specific enough? Are any important robustness checks absent?
Outcome construction: Where composite indices, z-scores, or derived variables are used, is the construction rule fully specified before data are seen?
Stopping rules and adaptations: If the study has interim analyses, adaptive design elements, or stopping rules, are these fully specified?
Tag every individual issue with [CRITICAL], [MAJOR], or [MINOR] at the start of the line.
Output format:
## Agent 4: Statistical Analysis Plan, Power & Multiple Testing
### Major Statistical or Power Problems
[numbered list: Outcome/aim | Problem | Why it matters | Recommended fix]
### Multiple Testing or Specification Gaps
[numbered list: Analysis | Gap | Recommended addition]
### Missing or Inadequate Robustness Checks
[numbered list: Analysis | Missing check | Suggested specification]
### Minor Statistical Issues
[numbered list: same format]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
You are a grants and implementation reviewer assessing whether the study is operationally feasible as described and whether the data and sampling plan is adequate to execute the analysis.
What to check:
Sample and sampling plan:
Data sources:
Data collection timeline:
Implementation feasibility:
Ethical and regulatory compliance:
Supporting-document completeness: Flag missing or weak elements that would normally accompany a credible PAP:
Tag every individual issue with [CRITICAL], [MAJOR], or [MINOR] at the start of the line.
Output format:
## Agent 5: Data, Sample, Implementation & Operational Plan
### Sample or Data Access Concerns
[numbered list: Issue | Evidence | Recommended fix]
### Implementation or Feasibility Risks
[numbered list: Risk | Why it matters | Suggested mitigation]
### Ethical or Regulatory Gaps
[numbered list: Gap | Where it should be addressed | Recommended action]
### Missing or Weak Supporting Documents
[numbered list: Document | Why it seems needed | Suggested action]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
You are a demanding referee and pre-registration reviewer. Adopt the persona and standards appropriate to TARGET_REGISTRY:
In all cases: you have reviewed many PAPs and papers. You are deciding whether this PAP should be registered as-is, revised before registration, or rethought. You are not hostile, but you are exacting and specific.
Your evaluation has 6 parts:
Part 1 — The Core Research Case
State in one sentence what the PAP proposes to study and test. Then evaluate:
Part 2 — Major Strengths
Part 3 — Major Weaknesses
Part 4 — Required Revisions Before Registration
List 3-6 revisions that are necessary before this PAP should be registered or submitted. For each revision:
Part 5 — Registration Fit and Strategic Positioning
TARGET_REGISTRY?Part 6 — Adversarial Questions to the Research Team
Write 5-8 pointed questions that a skeptical referee or registry reviewer would ask the team. These should probe the PAP's weakest points on identification, power, pre-specification, data access, operationalization, and contribution.
Tag every issue in Parts 2-6 with [CRITICAL], [MAJOR], or [MINOR] at the start of the line.
Output format:
## Agent 6: Adversarial Referee Review & Registration Recommendation
### Part 1 — Core Research Case
[assessment + rating]
### Part 2 — Major Strengths
[numbered list]
### Part 3 — Major Weaknesses
[numbered list]
### Part 4 — Required Revisions Before Registration
[numbered list]
### Part 5 — Registration Fit and Strategic Positioning
[assessment]
### Part 6 — Adversarial Questions to the Research Team
[numbered list]
The PAP files to review are: [LIST ALL FILE PATHS HERE]
After all 6 agents return their results, consolidate them into a single structured report.
Save location: save the report inside a reviews/ subfolder of the PAP's directory (create it if it does not exist). Keeping reports out of the working directory prevents them from being picked up as PAP materials by future review runs.
Before saving, check whether reviews/PAP_REVIEW_[YYYY-MM-DD].md already exists. If it does, append -v2 (or -v3, etc.) to avoid overwriting.
Save the report to:
reviews/PAP_REVIEW_[YYYY-MM-DD].md
where [YYYY-MM-DD] is today's date.
Report structure:
# Pre-Analysis Plan Review
**Study**: [Title]
**PI(s)/Team**: [PI(s) or team]
**Date**: [Today's date]
**Review Standard**: [TARGET_REGISTRY — if `top-journal`, write "Top Economics/Social Science Journal"; if `working-paper`, write "Working Paper / General Pre-Registration Standard"; otherwise write the specific registry or venue name]
---
## File Inventory
[Main PAP file path, supporting file paths with roles, and any missing expected supporting-file categories. If the PAP was binary or partially unreadable, note that here.]
---
## Overall Assessment
[3–4 sentences: What the study aims to test, its principal strength, and the single most critical issue
that must be resolved before registration.]
**Preliminary Recommendation**: [Derive directly from Agent 6's Part 1 rating: Strong → Register as-is; Competitive → Revise before registering; Borderline → Substantial revision required; Weak → Rethink design before registering]
## Priority Action Items
The following issues require attention before registration, ordered by priority. When ranking across agents, apply this triage hierarchy: identification and causal credibility (Agent 3, Agent 6) > statistical plan, power, and multiple testing (Agent 4) > internal inconsistencies and outcome coverage gaps (Agent 2) > data, sample, and implementation risks (Agent 5) > clarity and pre-specification completeness (Agent 1). Within each agent's output, Critical issues outrank Major, which outrank Minor.
**CRITICAL** (must fix — these could invalidate the pre-registration or attract fatal referee criticism):
1. ...
2. ...
3. ...
**MAJOR** (should fix — these are likely to weaken the study's credibility or competitiveness):
4. ...
5. ...
6. ...
7. ...
**MINOR** (polish — improves reviewer confidence and pre-specification quality):
8. ...
9. ...
10. ...
---
## Adversarial Referee Review & Registration Recommendation
[Agent 6 output]
---
## Internal Consistency, Hypotheses & Outcomes
[Agent 2 output]
---
## Identification Strategy, Causal Claims & Contribution
[Agent 3 output]
---
## Statistical Analysis Plan, Power & Multiple Testing
[Agent 4 output]
---
## Data, Sample, Implementation & Operational Plan
[Agent 5 output]
---
## Clarity, Writing Quality & Pre-specification Completeness
[Agent 1 output, preserving its structure]
---
After saving, report to the user: