A skill your agent uses when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the…

Custom licenceAuto-check passedResearch & Science

Install Aer Statspai

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill aer-statspai -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills aer-statspai --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/50-brycewang-aer-skills/skills/aer-statspai .claude/skills/aer-statspai && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aer-statspai
GitHub stars
4.6k
Token cost
~3k tokens
SKILL.md length
1,259 words
Files
2
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the…

  • Works in 6 steps: detect_design — infer the study shape… → preflight + recommend — surface design… → Fit with as_handle=true — e.g.… → …
  • Aer-identification has fixed the design
  • SKILL.md covers Overview, When to Use, When NOT to Use and Install and Connect, plus 10 more sections
  • Calls pip

What it does

Aer Statspai is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Use when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the agent-native Python engine and MCP server for causal inference, robustness, sensitivity, and publication-ready table export.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Research & Science, covering Econometrics and empirical research. It works with Python, Model Context Protocol and LaTeX. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Aer-identification has fixed the design
  • After methodology choice and before aer-robustness
  • Aer-tables-figures
  • Run an AER-track analysis with StatsPAI — the agent-native Python engine and MCP server for causal inference

Example prompts

  • “/aer-statspai”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. detect_design — infer the study shape (DiD / IV / RDD / SCM / panel), or
  2. preflight + recommend — surface design problems (no never-treated
  3. Fit with as_handle=true — e.g. callaway_santanna, ivreg,
  4. audit_result(result_id=...) — enumerate the robustness checks still
  5. honest_did_from_result / sensitivity_from_result — design-specific
  6. bibtex(keys=[...]) — pull verified citations for every estimator and

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aer Statspai loads about 3k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 1,259 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,259 words (~2,976 tokens).

“aer-statspai is the implementation engine option for this stack. Where aer-identification and aer-robustness decide which estimator and which diagnostics a referee will demand, this skill is about running them — through StatsPAI, an open-source, agent-native Python platform that exposes 1,000+…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
aer-statspai

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/50-brycewang-aer-skills/skills/aer-statspai of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Aer Statspai next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aer Statspai compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aer Statspai this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~3kAutomated safety check: PassCustom licence
Fin Full Pipelinecsmar432/finai-research109—~5.1kAutomated safety check: PassMIT
Arxiv MCP Serverblazickjp/arxiv-mcp-server3.2k—~353Automated safety check: PassApache-2.0
Setting Up Papergraphlotchuazzz-crypto/papergraph-mcp282—~3.3kAutomated safety check: PassMIT
CLI Anything ZoteroPiaoyangGuohai1/cli-anything-zotero138—~2.6kAutomated safety check: PassApache-2.0
Fin Data Acquisitioncsmar432/finai-research109—~2kAutomated safety check: PassMIT

Similar skills

  • Fin Full Pipeline

    csmar432/finai-research

    经济金融研究端到端完整流程。从研究想法到可投稿论文,覆盖文献综述、想法生成、新颖性验证、实证方法设计、论文大纲、正文写作、图表生成、LaTeX编译和投稿前检查。

    109 GitHub stars~5.1k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Arxiv MCP Server

    blazickjp/arxiv-mcp-server

    A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…

    3.2k GitHub stars~353 tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Setting Up Papergraph

    lotchuazzz-crypto/papergraph-mcp

    A skill your agent uses when a user has cloned PaperGraph MCP and asks to install, initialize, configure, set up, or start using it with an agent or MCP client.

    282 GitHub stars~3.3k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • CLI Anything Zotero

    PiaoyangGuohai1/cli-anything-zotero

    Full-featured CLI for Zotero reference management. An agent skill from PiaoyangGuohai1/cli-anything-zotero.

    138 GitHub stars~2.6k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • Fin Data Acquisition

    csmar432/finai-research

    根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。

    109 GitHub stars~2k tokensUpdated 5 days ago
    Research & ScienceAuto-check passed
  • Research Writing Assistant

    Norman-bury/research-writing-skill

    A skill your agent uses when writing academic papers, theses, or research articles - supports brainstorming, chapter writing, literature review, and LaTeX output

    3.4k GitHub stars~1.3k tokensUpdated 4 mo ago
    Research & ScienceAuto-check: notes

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.6k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.6k GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.6k GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.6k GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.6k GitHub stars~868 tokensUpdated 5 days ago
    Auto-check passed

Questions about Aer Statspai

What does Aer Statspai do?

A skill your agent uses when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the…. Aer Statspai is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Use when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the agent-native Python engine and MCP server for causal inference, robustness, sensitivity, and publication-ready table export.

When should I use Aer Statspai?

Aer Statspai fits situations like: aer-identification has fixed the design; after methodology choice and before aer-robustness; aer-tables-figures; run an AER-track analysis with StatsPAI — the agent-native Python engine and MCP server for causal inference.

How do I install Aer Statspai in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill aer-statspai -a claude-code`. Or copy the skill folder (skills/50-brycewang-aer-skills/skills/aer-statspai in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/aer-statspai in your project. Claude Code loads it when a task matches its description.

How do I install Aer Statspai in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill aer-statspai -a codex`. Or copy the skill folder (skills/50-brycewang-aer-skills/skills/aer-statspai in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/aer-statspai in your project. Codex loads it when a task matches its description.

Can I use Aer Statspai in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill aer-statspai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aer-statspai, .gemini/skills/aer-statspai, .github/skills/aer-statspai and .opencode/skills/aer-statspai in your project.

What does Aer Statspai need to run?

Going by SKILL.md and its folder, Aer Statspai needs the command-line tools its instructions call (pip). Our summary lists: Python 3.

Does Aer Statspai access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Aer Statspai safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Aer Statspai use?

Aer Statspai has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Aer Statspai use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Aer Statspai?

Skills that share tags, products or a category with Aer Statspai: Fin Full Pipeline (csmar432/finai-research, 109 stars), Arxiv MCP Server (blazickjp/arxiv-mcp-server, 3.2k stars), Setting Up Papergraph (lotchuazzz-crypto/papergraph-mcp, 282 stars) and CLI Anything Zotero (PiaoyangGuohai1/cli-anything-zotero, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aer Statspai?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,556 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.