aer-robustness

aer-robustness is a skill for Claude Code, Codex from brycewang-stanford/AER-Skills. It costs 58 tokens per session (2,151 once invoked), scanned A, original, MIT.

A workflow for adding robustness, subgroup, mechanism, and placebo checks to an economics paper aimed at the American Economic Review, a leading economics journal. These checks test whether results survive reasonable changes and help explain where and why they occur.

In plain words
What is it for?
Planning alternative specifications, samples, outcome definitions, subgroup analyses, explanations of cause, and placebo tests for an empirical research paper.
Why use it?
It addresses common referee requests when a paper has a main result but lacks supporting tests that establish how reliable and meaningful it is.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the aer-skills plugin — 15 skills shipped together

Good fit Planning alternative specifications, samples, outcome definitions, subgroup analyses, explanations of cause, and placebo tests for an empirical research paper.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brycewang-stanford/aer-skills/aer-robustness
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add brycewang-stanford/AER-Skills --skill aer-robustness
Clone the repo
git clone --depth 1 https://github.com/brycewang-stanford/AER-Skills

Made for: Claude Code, Codex.

Or install aer-skills, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aer-robustness

README.md
[![agentmods](https://agentmods.dev/badge/skills/brycewang-stanford/aer-skills/aer-robustness/github.svg)](https://agentmods.dev/skills/brycewang-stanford/aer-skills/aer-robustness)
Your own site
<a href="https://agentmods.dev/skills/brycewang-stanford/aer-skills/aer-robustness"><img src="https://agentmods.dev/badge/skills/brycewang-stanford/aer-skills/aer-robustness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aer-robustness

Your own site · 80×15
<a href="https://agentmods.dev/skills/brycewang-stanford/aer-skills/aer-robustness"><img src="https://agentmods.dev/badge/skills/brycewang-stanford/aer-skills/aer-robustness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 120
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Output Handling · line 131
    Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.
    Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02151
Opus 5.5 $0.00023 $0.00860
Sonnet 5.5 $0.00012 $0.00430
Haiku 4.5 $0.00006 $0.00215

Measured 3mo ago against content hash 01325fc6e4e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aer-robustness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aer-robustness/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AER Robustness

Overview

A modern AER referee report contains three predictable demands:

  1. Robustness — does the result survive specification changes?
  2. Heterogeneity — where does the effect concentrate, and is that consistent with the proposed channel?
  3. Mechanism — why does X cause Y?

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.

When to Use

  • The main result table exists but the rest of the empirical section is thin
  • An R&R demands "additional checks" without specifying which
  • Drafting the appendix before submission
  • Diagnosing why a prior submission drew a "needs more robustness" rejection

The Referee-Anticipating Battery

Every empirical AER paper should report, at minimum:

Robustness

  1. Alternative specifications — drop covariates one at a time; include fixed effects at finer/coarser granularity; weight observations differently
  2. Alternative samples — drop the largest unit; drop the most influential time period; restrict to balanced panel; restrict to comparable subsets
  3. Alternative outcome definitions — log vs. level; winsorized at 1% / 5%; alternative deflators
  4. Alternative clustering — cluster at the next-higher level (e.g., state if main is county); two-way cluster; wild cluster bootstrap if few clusters
  5. Alternative estimators — if main is OLS, show IV; if main is TWFE, show Callaway-Sant'Anna; if main is RD, show donut and bandwidth grid
  6. Outlier diagnostics — Cook's distance, leverage; rerun excluding top-1% influential observations

Heterogeneity

Report heterogeneity that the theory predicts, not heterogeneity discovered by mining:

  1. By unit characteristics relevant to the mechanism (e.g., effect should be larger in low-credit-access counties if the channel is credit)
  2. By time period (early vs. late treatment effects under staggered adoption)
  3. By treatment intensity if treatment is continuous
  4. Quantile treatment effects if distributional consequences matter
  5. Subgroup analysis pre-registered in PAP for field experiments; otherwise label as exploratory

Read the full file on GitHub · 179 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 179 lines · 58 tokens per session scan A 01325fc6e4e2

Subscribe to this mod's changes

aer-robustness is a skill published in the GitHub repository brycewang-stanford/AER-Skills (63 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 2,151 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

aer-robustness compared with skills from other repositories

aer-robustness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aer-robustnessbrycewang-stanford/AER-SkillsSkill63todayMITA58Claude Code, Codex
promote-memorypedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA0Claude Code
slide-excellencepedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA94Claude Code
compress-sessionpedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA123Claude Code
voice-profilepedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA128Claude Code
academic-writingjamditis/claude-skills-journalismSkill4723d agoMITA38Claude Code, Codex
context-statuspedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA37Claude Code