StatsPAI_skill is a skill in brycewang-stanford/Auto-Empirical-Research-Skills, last changed 15 Oct 2026. It can change agent settings, run shell commands, reach the network and name web addresses — read the findings before installing.

From the author
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud / AEJ) with DID / RD / IV / SCM / DML / matching, written-out estimating equation + identifying assumption, Table 1 / Table 2 / event-study figure / robustness gauntlet — OR in epidemiology / public health style (target-trial emulation, IPTW + g-formula + TMLE triplet, Mendelian randomization, KM/AFT survival, E-value sensitivity, STROBE/TRIPOD reporting) — OR in ML causal inference style (DML, S/T/X/R/DR meta-learners, causal forest, Dragonnet/TARNet/CEVAE, BCF, CATE distribution, policy learning, conformal causal, fairness audit, causal discovery) — OR in distributional / gap-decomposition style (Oaxaca–Blinder `sp.oaxaca`, Kitagawa `sp.kitagawa_decompose`, DiNardo–Fortin–Lemieux `sp.dfl_decompose`, Gelbach `sp.gelbach`, Fairlie `sp.fairlie`, RIF / FFL `sp.rif_decomposition`, all reachable through the `sp.decompose` dispatcher). Also covers exporting multi-column regression tables to Word / Excel / LaTeX (Stata outreg2 / esttab / R modelsummary equivalent) and bundling an entire replication appendix into one .docx / .xlsx / .tex file. Triggers on keywords "StatsPAI", "statspai", "AER empirical analysis", "applied micro pipeline", "Table 1 balance", "event study", "first-stage F", "Oster bound", "honest_did", "spec_curve", "callaway_santanna", "dragonnet", "text as treatment", "outreg2 in Python", "regression table to Word/Excel", "sp.regtable", "sp.collect", "sp.paper_tables", "sp.feols", "summary_col", "modelsummary", "AER style table", "QJE style table", "epidemiology pipeline", "target trial emulation", "g-formula", "IPTW", "TMLE", "Mendelian randomization", "STROBE", "TRIPOD", "公共健康", "流行病学", "DML", "double machine learning", "causal forest", "meta-learner", "CATE", "conformal causal", "policy learning", "因果机器学习", "ML causal", "decomposition", "Oaxaca-Blinder", "Kitagawa", "DiNardo-Fortin-Lemieux", "DFL", "Gelbach", "RIF decomposition", "wage gap decomposition", "sp.decompose", "sp.oaxaca".

At a glance

What it can touch

How much a skill can do, not whether it is risky.

Pattern check

Nothing flagged

That isn't proof the skill is harmless.

Commit bfa0a6e · 3 Nov 2026

How the check works

Pattern check: nothing flagged

That isn't proof the skill is harmless.

Install

Each tab says whether it installs commit bfa0a6e, the one we checked, or the latest version.

Read SKILL.md first
Licence not identified
Licence
4.9k
Repo stars
Files

What it can touch

From the files and frontmatter at commit bfa0a6e. This is how much a skill can do, not whether it is risky.

Pattern check

Pattern check: nothing flagged · commit bfa0a6e · 3 Nov 2026

We checked every text file in this skill, at commit bfa0a6e on 3 Nov 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.

How the check worksReport an incorrect finding

  • https://github.com/brycewang-stanford/StatsPAI
  • https://doi.org/10.21105/joss.10604
  • https://github.com/microsoft/SkillOpt

Format check

Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.

  • Agent Skills specFails

    The open format from agentskills.io, held to the strictest version of each rule among the agents we check.

    • Error

      The name "StatsPAI_skill" has uppercase letters and underscores. Names may use only a–z, 0–9 and single hyphens. N3

      Fix: Use name: statspai-skill and rename the folder to match.

    • Error

      The name "StatsPAI_skill" doesn't match its folder "00-Full-empirical-analysis-skill_StatsPAI". The spec requires them to match. N4

      Fix: Set name: 00-full-empirical-analysis-skill-statspai, or rename the folder to statspai-skill.

    • Error

      The description is 2,086 characters; the limit is 1,024. D2

      Fix: Shorten it to 1,024 characters or fewer, and move detail into the body.

    • Warning

      Fields outside the spec: triggers. Uploads to the Claude apps and API, and the spec's validator, reject the file; most agents ignore these fields. O1

      Fix: Delete them for a portable skill, or keep them if you only target the agents that read them.

    • Warning

      The body is 2181 lines; the spec suggests under 500. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Warning

      The body is about 35,436 tokens (approx.); the spec suggests under 5,000. B2

      Fix: Move detail into reference files that the agent reads only when needed.

    • Note

      The first sentence of the description is 999 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

    • Note

      There is no license field, so readers can't tell whether they may reuse the skill. O2

      Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.

  • Claude CodePasses with warnings

    Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.

    • Warning

      The description comes to 2,086 characters; Claude Code's skill listing cuts each entry at 1,536. The listing keeps every skill's name, but past its budget (1% of the context window) Claude Code drops descriptions, starting with the skills used least. D5

      Fix: Put the key use case first, or move detail into the body.

    • Note

      The name "StatsPAI_skill" doesn't match its folder "00-Full-empirical-analysis-skill_StatsPAI". Claude Code shows the skill as /StatsPAI_skill, and the folder name also invokes it. N4

      Fix: Set name: 00-full-empirical-analysis-skill-statspai, or rename the folder to statspai-skill.

    • Note

      The first sentence of the description is 999 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

    • Note

      Claude Code ignores fields it doesn't know: triggers. O1

      Fix: Check the spelling against Claude Code's field list, or delete them.

    • Note

      The body is 2181 lines; the spec suggests under 500. Claude Code's docs say the same. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Note

      The body is about 35,436 tokens (approx.); the spec suggests under 5,000. After compaction Claude Code keeps only the first 5,000 tokens of a skill. B2

      Fix: Move detail into reference files that the agent reads only when needed.

  • Claude apps & API uploadFails

    Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.

    • Error

      The name "StatsPAI_skill" has uppercase letters and underscores. Anthropic's validator allows only lowercase letters, digits and hyphens. N3

      Fix: Use name: statspai-skill and rename the folder to match.

    • Error

      The name "StatsPAI_skill" doesn't match its folder "00-Full-empirical-analysis-skill_StatsPAI". claude.ai refuses an upload whose folder name doesn't match the skill name. N4

      Fix: Set name: 00-full-empirical-analysis-skill-statspai, or rename the folder to statspai-skill.

    • Error

      The description is 2,086 characters; the limit is 1,024. Anthropic's validator rejects it. D2

      Fix: Shorten it to 1,024 characters or fewer, and move detail into the body.

    • Error

      Upload and packaging fail on fields outside the spec: triggers. O1

      Fix: Delete them, and keep your own data under metadata as text values.

    • Note

      The body is 2181 lines; the spec suggests under 500. Anthropic's guidance says the same. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Note

      The body is about 35,436 tokens (approx.); the spec suggests under 5,000. Anthropic's guidance says the same. B2

      Fix: Move detail into reference files that the agent reads only when needed.

  • OpenAI (Codex & API)Fails

    Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.

    • Error

      The name "StatsPAI_skill" has uppercase letters and underscores. OpenAI's upload follows the spec, which allows only a–z, 0–9 and hyphens. N3

      Fix: Use name: statspai-skill and rename the folder to match.

    • Error

      The description is 2,086 characters; the limit is 1,024. Codex has no limit, but OpenAI's upload follows the spec. D2

      Fix: Shorten it to 1,024 characters or fewer, and move detail into the body.

    • Warning

      The name "StatsPAI_skill" doesn't match its folder "00-Full-empirical-analysis-skill_StatsPAI". OpenAI's own upload example uses a differently named folder, but the spec it follows says they must match. N4

      Fix: Set name: 00-full-empirical-analysis-skill-statspai, or rename the folder to statspai-skill.

    • Warning

      Fields outside the spec: triggers. Codex ignores them; OpenAI doesn't say whether its upload accepts them. O1

      Fix: Delete them, or move your own data under metadata as text values.

    • Note

      The first sentence of the description is 999 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

  • VS Code & CopilotPasses with warnings

    VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.

    • Warning

      The name "StatsPAI_skill" has uppercase letters and underscores. VS Code uses the folder name whenever the name differs from it. N3

      Fix: Use name: statspai-skill and rename the folder to match.

    • Warning

      The name "StatsPAI_skill" doesn't match its folder "00-Full-empirical-analysis-skill_StatsPAI". VS Code uses the folder name, 00-Full-empirical-analysis-skill_StatsPAI, instead. N4

      Fix: Set name: 00-full-empirical-analysis-skill-statspai, or rename the folder to statspai-skill.

    • Warning

      The description is 2,086 characters; the limit is 1,024. VS Code cuts it at 1,024 characters. D2

      Fix: Shorten it to 1,024 characters or fewer, and move detail into the body.

    • Note

      VS Code ignores fields it doesn't support: triggers. O1

      Fix: Delete them unless another agent you target reads them.

SKILL.md

We only show SKILL.md text here when its licence clearly allows it.

Read SKILL.md on GitHub (opens in a new tab)

Files

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

SkillWhat it can touchPattern checkLicenceUpdated
  • Instructions only
Pattern check: Nothing flaggedNo licence2 Apr 2026
  • Instructions only
Pattern check: Nothing flaggedNo licence2 Apr 2026
  • Instructions only
Pattern check: Nothing flaggedNo licence2 Apr 2026
abstractReads the manuscript and notebooks to generate a structured abstract. Use when writing or updating the abstract.
  • Runs shell commands
  • +1 more

Pattern check: 1 item to reviewNo licenceUpdated 2 Apr 2026

  • Runs shell commands
  • Pre-approves tools
Pattern check: 1 item to reviewNo licence2 Apr 2026
abstract-writing-guideCraft structured research abstracts that maximize clarity and journal acceptance
  • Instructions only

Pattern check: Nothing flaggedNo licenceUpdated 2 Apr 2026

  • Instructions only
Pattern check: Nothing flaggedNo licence2 Apr 2026
  • Instructions only
Pattern check: Nothing flaggedNo licence3 Jun 2026
All skills in brycewang-stanford/Auto-Empirical-Research-Skills

Other AI & ML engineering skills

Same category, most repo stars first.

SkillWhat it can touchPattern checkLicenceUpdated
  • Runs shell commands
Pattern check: Nothing flaggedMIT11 Aug 2026
  • Runs shell commands
  • Names web addresses
Pattern check: Nothing flaggedMIT11 Aug 2026
claude-apiReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

anthropics/skills

  • Touches credentials
  • +6 more

Pattern check: 1 item to reviewApache 2.0Updated 9 Oct 2026

  • Touches credentials
  • Downloads software
  • +5 more
Pattern check: 1 item to reviewApache 2.09 Oct 2026
  • Touches credentials
  • Runs shell commands
  • +3 more
Pattern check: Nothing flaggedApache 2.028 Oct 2026
benchmark-modelsCross-model benchmark for gstack skills. (gstack)

garrytan/gstack

  • Touches credentials
  • +2 more

Pattern check: 1 item to reviewMITUpdated 30 Oct 2026

  • Touches credentials
  • Runs shell commands
  • +1 more
Pattern check: 1 item to reviewMIT30 Oct 2026
  • Runs shell commands
  • Pre-approves tools
Pattern check: 1 item to reviewMIT2 Nov 2026

Repo facts from GitHub on 3 Nov 2026. Files read at commit bfa0a6e.

QAI did not write these skills and is not affiliated with their authors unless a page says so. Logos and icons belong to their owners and are not a mark of approval. How we check