StatsPAI_skill

StatsPAI_skill is a skill for Claude Code, Codex from brycewang-stanford/Auto-Empirical-Research-Skills. It costs 604 tokens per session (40,271 once invoked), scanned D, original, no licence file.

A guide for running a full empirical or causal analysis in Python in the style of an applied economics paper. Causal analysis studies whether one factor produces a change in another, rather than merely being associated with it.

In plain words
What is it for?
Use it for methods such as difference-in-differences, regression discontinuity, instrumental variables, synthetic control, double machine learning, or matching, including estimating equations and event-study results.
Why use it?
It helps structure the research question, statistical assumptions, tables, figures, and robustness checks needed for a complete analysis.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it for methods such as difference-in-differences, regression discontinuity, instrumental variables, synthetic control, double machine learning, or matching, including estimating equations and event-study results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai
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/Auto-Empirical-Research-Skills --skill 00-full-empirical-analysis-skill_statspai
Clone the repo
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills

Made for: Claude Code, Codex.

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 StatsPAI_skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai/github.svg)](https://agentmods.dev/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai)
Your own site
<a href="https://agentmods.dev/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai"><img src="https://agentmods.dev/badge/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai/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 StatsPAI_skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai"><img src="https://agentmods.dev/badge/skills/brycewang-stanford/auto-empirical-research-skills/00-full-empirical-analysis-skill_statspai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 604 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 40,271 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00604 $0.40271
Opus 5.5 $0.00242 $0.16108
Sonnet 5.5 $0.00121 $0.08054
Haiku 4.5 $0.00060 $0.04027

Measured 11d ago against content hash ae321378d9bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

StatsPAI_skill scanned grade D with 2 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Title still shows ▢▢▢ tofu after `setup_plot()` | Host has none of the listed fonts. Install one — **macOS**: pre-installed (no action). **Linux**: `sudo apt install fonts-noto-cjk` (Debian/Ubuntu) or `sudo dnf install

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| Title still shows ▢▢▢ tofu after `setup_plot()` | Host has none of the listed fonts. Install one — **macOS**: pre-installed (no action). **Linux**: `sudo apt install fonts-noto-cjk` (Debian/Ubuntu) or `sudo dnf install
skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md · 2,264 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file 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. 11d ago Changed ae321378d9bb
  2. 1mo ago Changed · -45 lines c9e63dd652f6
  3. 1mo ago Changed · +45 lines 52ea96e36798
  4. 1mo ago Changed 993ddbe34dbe
  5. 1mo ago First seen · 2,264 lines · 604 tokens per session scan D 0c71909e827f

Subscribe to this mod's changes

StatsPAI_skill is a skill published in the GitHub repository brycewang-stanford/Auto-Empirical-Research-Skills (4,786 stars, last pushed yesterday), with no licence file. It adds 604 tokens to every session and 40,271 once invoked, about $0.0024 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

literature-review-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 to ..." for…

brycewang-stanford/lit-review-agent-tools · 288 tokens

kami-deck

A lab-meeting deck on gut-microbiome links to sleep quality — the design, the results, the caveats, and the next experiment. Built as a decision-grade academic research deck for lab group, PI.

nexu-io/open-design · 49 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

error-experience-library

An error knowledge base that stores recurring error patterns, their causes, and the fixes that worked. It can search past entries and track whether each suggested fix succeeded.

hashgraph-online/awesome-codex-plugins · 46 tokens

gitnexus

A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.

hashgraph-online/awesome-codex-plugins · 58 tokens

design-experiment

Translate a falsifiable hypothesis into a statistically defensible experiment. Factorial, ablation, comparison, scaling, and robustness designs are modes, not strategy nodes.

yogsoth-ai/de-anthropocentric-research-engine · 36 tokens