skills/50-brycewang-aer-skills/skills/aer-replication/SKILL.md
Use when assembling the AEA Data and Code Availability deposit for an AER, AER:Insights, or AEJ acceptance, writing the README, or auditing a replication package before the AEA Data Editor review. Implements the current AEA policy, including the February 2026 Data and Code Availability Policy.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research aer-replicationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prior to acceptance, every empirical, simulation, or experimental paper submitted to an AEA journal must provide data, code, and a complete README sufficient for an independent researcher to reproduce every reported result. The AEA Data Editor's Office now performs a computational reproducibility check before final acceptance, and a failed check delays publication by weeks or months.
This skill produces an AEA-compliant deposit on the first try.
Three pillars:
Materials must be deposited in an openly accessible trusted repository. The strongly encouraged repository is the AEA Data and Code Repository at openICPSR, which gives the Data Editor automatic access to draft deposits.
The current policy centers on the Data and Code Availability Statement embedded in the README, plus any forms the editorial office sends during the revision stage (for example, confirming whether a private copy of restricted data can be shared with the Data Editor for verification). Exact form titles change between policy revisions, so:
replication-package/
├── README.pdf (required for final AEA deposit)
├── README.md (optional editable source)
├── LICENSE (commonly MIT or CC-BY for code; data per source license)
├── data/
│ ├── raw/ (original files as obtained, never modified)
│ ├── intermediate/ (cleaned analytic datasets)
│ └── codebook/
│ └── source-register.md (source inventory, crosswalk, derived files)
├── code/
│ ├── 00_setup.do (or .R, .py)
│ ├── 01_clean.do
│ ├── 02_analysis.do
│ ├── 03_tables.do
│ └── 04_figures.do
├── output/
│ ├── tables/
│ └── figures/
└── docs/
├── exhibit-register.md
├── data_appendix.pdf
└── computing_environment.txt
The AEA Data Editor's office publishes a template and requires a README
document in PDF format in the uppermost directory of the replication package.
Keep README.md as editable source if useful, but render README.pdf for the
final deposit. Required sections:
One paragraph: what the package does, what paper it accompanies, what software is required.
For every dataset used, state:
If data cannot be deposited (proprietary, restricted, IRB), the author must:
A table of every file in data/, with columns: Filename | Description | Source | Notes.
Keep data/codebook/source-register.md synchronized with this section so every
raw source, derived file, access restriction, and analytic variable has one
auditable home.
Operating system, software version, packages, estimated runtime, peak memory. Example:
Software: Stata 18.0 MP, R 4.4.1
Stata packages: reghdfe (6.12), ftools (2.49), did (1.3.1), rdrobust (9.2)
R packages: fixest (0.12.1), did (2.1.2), modelsummary (2.1.1)
Hardware: standard laptop (8 GB RAM); full run completes in ~25 minutes.
What each script does and the order to run them. State the master script (e.g., run_all.do).
A literal step-by-step:
1. Download this archive and unzip to a working directory.
2. Open Stata 18; install dependencies via `setup/install_packages.do`.
3. Edit line 12 of `00_setup.do` to point to the working directory.
4. Run `do run_all.do`. Total runtime: ~25 minutes.
5. All tables and figures are written to `output/`.
A second table mapping each exhibit in the published paper to the script that produces it:
| Table/Figure | Script | Line in Script | Output File | |--------------|---------------------|----------------|--------------------------| | Table 1 | 03_tables.do | 12 | output/tables/tab1.tex | | Table 2 | 03_tables.do | 67 | output/tables/tab2.tex | | Figure 1 | 04_figures.do | 8 | output/figures/fig1.pdf |
For a fuller audit, keep docs/exhibit-register.md synchronized with this
README table. The register should also record the supported claim, exact sample
size, estimator or statistic, table/figure note, and accessibility evidence.
Adopt from day one. Retrofitting is expensive.
data/raw/foo.csv, never /Users/yourname/...which / ado describe output; vendor an ado/ snapshot if exact
SSC versions are required. In R, use renv or groundhog; in Python, use
requirements.txt with exact versionslogs/version 18.0 at the top of every do-fileset seed before any randomizationset more off in the master script, not hidden inside analysis scriptsreghdfe over xtreg, fe for performance and clarityset.seed() at the top of every analysis scriptrenv::snapshot() to lock the package environmentread.csv and writing with write.csv — explicit data.table::fread / fwrite with column typesrequirements.txt with == pinsnumpy.random.default_rng(seed=...) for new-style RNG.py scriptIf yes to all: Approved, paper proceeds to publication. If no: Revisions required, with a public report.
Common failure modes flagged in published Data Editor reports:
If data is restricted:
Bundled with the installed skill, no repository checkout needed --- read it before the repo resources below:
references/aea-package-checklist.md --- AEA compliance checklist, README sections, openICPSR deposit stepsWhen working from the AER-skills repository or plugin bundle, load only the relevant resource:
examples/replication-package-skeleton/examples/replication-package-skeleton/data/codebook/source-register.mdexamples/replication-package-skeleton/docs/exhibit-register.mdtemplates/stata/, templates/r/, or templates/python/examples/aer-exemplars.mdDEPOSIT TYPE: <public-data | restricted-data | hybrid>
README STATUS: <complete | incomplete>
REPRODUCIBILITY CHECK: <self-tested clean / not yet>
RESTRICTED DATA HANDLING: <n/a | provenance documented>
NEXT SKILL: aer-submission
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.