/aer-skills:aer-robustnessfrom aer-skills
Adds robustness, heterogeneity, mechanism, and placebo checks to empirical economics manuscripts to preempt AER referee demands.
Ships in aer-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A modern AER referee report contains three predictable demands:
This skill anticipates all three so that the referee finds the answer already in the paper. Skipping this step turns a referee report into a 6-month delay.
Every empirical AER paper should report, at minimum:
Report heterogeneity that the theory predicts, not heterogeneity discovered by mining:
Distinguish two purposes:
State both explicitly in the manuscript. Do not let the reader infer.
If the result is contested or counterintuitive, present a specification curve (Simonsohn-Simmons-Nelson 2020) showing the estimate across all reasonable analytic choices. This converts "you chose your specification to get this result" into "the result holds across the entire reasonable choice set."
For any empirical paper, predict and pre-empt:
| Comment | Pre-emption |
|---|---|
| "The result may be driven by [omitted variable]" | Include it as a control; show robustness without it |
| "Standard errors are not clustered correctly" | Report 2-3 clustering schemes; wild bootstrap if needed |
| "Pre-trends look suspect" | Formal joint test + honest DiD bounds |
| "This is a mechanical effect from [other channel]" | Direct placebo or sample restriction excluding that channel |
| "Effect size is implausibly large/small" | Sanity-check against existing magnitudes in the literature |
A null result is publishable at AER if and only if:
Always report 95% CIs alongside p-values. Many AER editors explicitly prefer effect-size reporting over significance stars.
Keep main-text robustness to one table with each row a different specification. Push the deep robustness into the appendix in this order:
When a StatsPAI MCP server is connected, drive the referee-anticipating battery
through validated tools rather than hand-rolled scripts — and let
audit_result enumerate what is still missing instead of guessing. The full
registry lives in skills/aer-statspai/SKILL.md.
| Check | Call (StatsPAI) | Do not hand-roll |
|---|---|---|
| Missing-checks enumeration | audit_result | picking robustness checks from memory |
| Specification curve | spec_curve | a hand-picked grid of two flattering specs |
| Few-cluster inference | wild_cluster_bootstrap, twoway_cluster | default cluster-robust SEs with < 30 clusters |
| Spatial correlation | conley | ignoring spatial dependence in geographic data |
| Pre-trends sensitivity | honest_did, honest_did_from_result | asserting parallel trends from a flat pre-period |
| Selection on unobservables | oster_delta, oster_bounds, sensitivity_from_result | a hand-rolled "controls barely move the coefficient" claim |
| Robustness value (partial R²) | robustness_value | a coefficient-stability table with no partial-R² sensitivity |
| Differential attrition | lee_bounds | assuming attrition is "balanced" without trimming bounds |
| Observational confounding | evalue_from_result | a verbal "unobservables would have to be huge" argument |
| Heterogeneity / CATE | causal_forest, metalearner | subgroup splits mined until one is significant |
| Multiple-outcome FWER | romano_wolf | reporting many outcomes with uncorrected p-values |
Bundled with the installed skill, no repository checkout needed --- read it before the repo resources below:
references/robustness-menu.md --- required-vs-optional robustness menu with package calls and reporting formatsWhen working from the AER-skills repository or plugin bundle, load only the resource needed for the paper's design:
docs/methods-reference.mdtemplates/stata/04_robustness.do, templates/r/04_robustness.R, or templates/python/robustness.pytemplates/stata/05_heterogeneity.do, templates/r/05_heterogeneity.R, or templates/python/heterogeneity.pyThe empirical section is referee-ready only when all are present and theory-motivated (not mined):
ROBUSTNESS COVERAGE: <spec / sample / outcome / cluster / estimator>
HETEROGENEITY: <pre-specified / exploratory>
MECHANISM EVIDENCE: <channel / ruling-out / both>
PLACEBO TESTS: <list>
ANTICIPATED REFEREE COMMENTS PRE-EMPTED: <count>
NEXT SKILL: <aer-paper-body | aer-tables-figures>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aer, robustness, heterogeneity, mechanism, placebo, empirical-economics
npx claudepluginhub brycewang-stanford/auto-empirical-research-skills --plugin aer-skills15 skills in this plugin
/aer-consistencyUse when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables; sample sizes; log-point and percentage-point conversions; cross-references; and in-text-citation/bibliography matching. Apply after the body and exhibits exist, before aer-referee-sim and aer-submission./aer-identificationUse when selecting, implementing, or stress-testing the causal identification strategy for an empirical economics manuscript — difference-in-differences (including staggered designs), instrumental variables (including weak-IV-robust inference), regression discontinuity, synthetic control, or shift-share / Bartik. Apply before writing the introduction or results./aer-introductionUse when drafting or rewriting the introduction of an economics manuscript targeted at AER, AER:Insights, or an AEJ, or when compressing an abstract to the mandatory 100-word limit. Implements the Keith Head / Bellemare five-paragraph formula and AER-specific formatting conventions. Apply after the body sections exist./aer-literatureUse when positioning a manuscript against the existing economics literature, building the antecedents map for the introduction, deciding what to cite, or verifying that every reference in the bibliography is real, correctly attributed, and cited to the published version. Apply at topic selection for the novelty scan and again before drafting the introduction./aer-paper-bodyUse when drafting or revising the body sections of an AER, AER:Insights, or AEJ manuscript — institutional background, data, empirical strategy, results, mechanisms, and conclusion. Covers equation conventions, results-paragraph narration, magnitude interpretation, and back-of-envelope policy calculations. Apply after the empirics are stable and before or alongside aer-introduction./aer-preregistrationUse 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.2 plugins ship this exact skill · first indexed Jul 9, 2026
Other plugins' skills for the same job