Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Thoroughly verify all code, tables, figures, modeling decisions, and quantitative claims in an academic paper against its source R scripts and output files. Use this skill whenever you need to audit, replicate, or verify an academic research paper - including cross-checking LaTeX tables against R output, validating econometric modeling choices, ensuring sample sizes are consistent, building a verification manifest, and running automated replication tests. Trigger this skill for any mention of: p
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 484% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 86% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 109% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 109% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 65% | 0% |
A systematic skill for verifying the integrity and replicability of an academic research paper. This covers everything from individual coefficient checks to full end-to-end replication.
Verification proceeds in six phases. Each phase produces structured output. Do not skip phases - earlier phases feed into later ones.
Phase 1: Discovery -> inventory of all project files, scripts, outputs, paper
Phase 2: Table Audit -> cross-check every number in every table
Phase 3: Inline Claims -> verify quantitative claims in paper body text
Phase 4: Code Review -> audit R scripts for correctness, modeling decisions, data pipeline
Phase 5: Manifest Build -> create verification_manifest.json linking claims to code
Phase 6: Replication -> write and run tests/verify_replication.R, fix failures.Rproj files, README, or ask the user.references/phase-details.md for the full procedure for each phase.references/common-pitfalls.md for known failure modes to watch for.Scan the entire project and build an inventory. You need to know what you're working with before you can verify anything.
Find and catalog:
.R and .Rmd scripts (note execution order if a master script exists).csv, .rds, .tex, .txt, .log in results/, output/, tables/, etc..tex in the root or paper/ or draft/ directory.csv, .dta, .rds, .xlsx in data/ or similarProduce: A file inventory printed to the console, organized by type, with notes on what each script appears to do (based on filename and a quick scan of its first ~30 lines).
Key questions to answer in this phase:
This is the most critical phase. Read references/phase-details.md Section 2 for the full procedure.
For every table in the paper:
t-statistics, p-values, confidence intervals, sample sizes (N), R-squared, F-statistics, means, medians, percentages - everything.
.tex filegenerated by stargazer, modelsummary, xtable, kableExtra, huxtable, or similar. It could also be a .csv, .rds, or text log.
the paper, that is acceptable rounding. If it is 0.038, that is a discrepancy.
specification in the code.
same sample. If Table 1 reports N=4,521 and Table 3 uses the same sample but reports N=4,519, that needs explanation.
Produce: A table-by-table verification report. For each table:
Read the paper body text (not just tables) and find every quantitative claim. These include:
For each claim, trace it back to a specific table cell, figure, or R output. Flag any claim that cannot be traced or that contradicts the evidence.
Produce: A claims checklist with claim text, source location in paper, evidence source, and VERIFIED/UNVERIFIED/DISCREPANCY status.
Read every R script in the project, in execution order. This is not just a syntax check - you are auditing the analytical pipeline. Read references/phase-details.md Section 4 and references/common-pitfalls.md for what to look for.
Data Pipeline Verification:
merge, join, filter, subset, or mutate step, check:(a) How many observations before vs. after the transformation? (b) Do all column names needed downstream still exist? (c) Are key summary statistics (mean, min, max, N) reasonable after the step?
Modeling Decisions:
(e.g., if the paper says "we control for year fixed effects", is that in the code?)
Robustness and Red Flags:
filter(year > 2005) when thepaper says "post-treatment period" without defining the cutoff)
Produce: A script-by-script review with:
Create verification_manifest.json that maps every quantitative claim in the paper to the code that produces it.
Structure:
json{ "paper_file": "paper/main.tex", "generated_at": "2026-02-08T12:00:00Z", "claims": [ { "id": "T1_R2_C3", "type": "coefficient", "paper_location": {"file": "paper/main.tex", "line": 234, "context": "Table 1, Row 2, Col 3"}, "paper_value": "0.035", "source_script": "code/02_main_regression.R", "source_line": 87, "output_file": "results/table1.tex", "output_location": {"line": 15, "context": "second coefficient in column 3"}, "expected_value": "0.0347", "tolerance": 0.001, "status": "PASS", "notes": "Acceptable rounding from 0.0347 to 0.035" }, { "id": "BODY_P12_S3", "type": "inline_claim", "paper_location": {"file": "paper/main.tex", "line": 412, "context": "paragraph 12, sentence 3"}, "paper_value": "3.2 percentage points", "source_script": "code/02_main_regression.R", "source_line": 87, "output_file": "results/table1.tex", "output_location": {"line": 15}, "expected_value": "0.032", "tolerance": 0.001, "status": "PASS", "notes": "Coefficient 0.0323 reported as 3.2pp" } ], "summary": { "total_claims": 142, "passed": 139, "failed": 2, "unverified": 1 } }
Every coefficient, standard error, sample size, p-value, summary statistic, and verbal claim should appear in this manifest. Be exhaustive.
Write tests/verify_replication.R that programmatically reruns the analysis and checks results against the manifest.
Read references/replication-script-template.md for the template and structure.
The test script must:
verification_manifest.jsonAfter writing the test script:
and document what you fixed
Produce:
tests/verify_replication.R - the test scripttests/replication_results.json - structured test resultstests/replication_summary.md - human-readable summary of what passed, what failed,what was fixed, and what remains unresolved
At the end of the full verification, produce a consolidated report. Use this structure:
# Paper Verification Report
## Executive Summary
- Total quantitative claims checked: X
- Passed: Y
- Failed: Z
- Unverified: W
- Code issues found: N (M major, K minor)
## Table-by-Table Results
[from Phase 2]
## Inline Claims Results
[from Phase 3]
## Code Review Findings
[from Phase 4]
## Replication Test Results
[from Phase 6]
## Recommendations
[prioritized list of issues to address]an explanation.
inconsistencies across tables and text.
etc.), check the raw model objects too, not just the formatted output.
.do files or Python scripts mixed in, verify those too usingthe same principles.
accordingly but note what was not checked.
Other measured skills in the registry, with their headline benchmark lift.