Econometrics skill for machine learning methods in causal inference.

Custom licenceAuto-check passedData & Analytics

Install ML Causal

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

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills ml-causal --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/67-econfin-workflow-toolkit/ml-causal .claude/skills/ml-causal && 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
ml-causal
GitHub stars
4.5k
Token cost
~4k tokens
SKILL.md length
706 words
Files
2 (incl. references)
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Econometrics skill for machine learning methods in causal inference.

  • Works in 4 steps: Cross-fitting: Split sample into K folds… → Nuisance estimation: On each fold k, use… → Residualize: Compute Ỹ = Y − ĝ(X) and D̃… → …
  • Asks about: causal forest
  • SKILL.md covers When to Use ML Causal Methods, Double/Debiased Machine…, Causal Forest (Generalized… and BLP Analysis (Best Linear…, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

ML Causal is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Econometrics skill for machine learning methods in causal inference. Activates when the user asks about: "causal forest", "generalized random forest", "GRF", "double machine learning", "DML", "debiased machine learning", "LASSO for variable selection", "post-LASSO", "heterogeneous treatment effects", "CATE", "conditional average treatment effect", "BLP analysis", "CLAN analysis", "causal tree", "honest estimation", "因果森林", "双重机器学习", "异质性处理效应", "条件平均处理效应", "LASSO变量选择", "机器学习因果推断", "去偏机器学习"

Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/ml-causal-reference.md`).

It sits in Data & Analytics, covering Machine learning and Econometrics and empirical research. 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

  • Asks about: causal forest
  • Generalized random forest
  • Double machine learning
  • Debiased machine learning

Example prompts

  • “causal forest”
  • “generalized random forest”
  • “double machine learning”
  • “/ml-causal”

Requirements

  • Python 3

Workflow steps

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

  1. Cross-fitting: Split sample into K folds (typically K=5)
  2. Nuisance estimation: On each fold k, use remaining folds to estimate ĝ(X) and m̂(X) using ML
  3. Residualize: Compute Ỹ = Y − ĝ(X) and D̃ = D − m̂(X)
  4. Final estimation: Regress Ỹ on D̃ to obtain θ̂

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are r, python and stata).

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

  • Network

    No URLs in SKILL.md.

    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

ML Causal loads about 4k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 126 tokens; SKILL.md has 706 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~126
When it runs · the whole SKILL.md, loaded when a task matches
~4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.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 706 words (~3,991 tokens).

“This skill covers modern ML-based causal inference methods: Causal Forests (GRF) for heterogeneous treatment effects, Double/Debiased Machine Learning (DML) for partially linear models, and LASSO-based variable selection. These methods combine the flexibility of ML with the rigor of econometric identification.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
ml-causal

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/67-econfin-workflow-toolkit/ml-causal of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/ml-causal-reference.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

ML Causal 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.

ML Causal compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ML Causal this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~4kAutomated safety check: PassCustom licence
Senior Data Scientistborghei/Claude-Skills886—~1.7kAutomated safety check: PassMIT
Senior Data Scientistalirezarezvani/claude-skills28k1 repos~2.3kAutomated safety check: PassMIT
Empirical Analysis Skill PythonDrchronx/ai-agent-research-starter-kit137—~3kAutomated safety check: PassCustom licence
Econml Causal Guidewentorai/research-plugins2981 repos~1.8kAutomated safety check: PassMIT
Modeling Strategy Guidewentorai/research-plugins2981 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Senior Data Scientist

    borghei/Claude-Skills

    A skill your agent uses when the user asks to "design an experiment", "build a predictive model", "run A/B test analysis", "perform causal inference", "engineer features", "evaluate model…

    886 GitHub stars~1.7k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Senior Data Scientist

    alirezarezvani/claude-skills

    World-class senior data scientist skill specialising in statistical modeling, experiment design, causal inference, and predictive analytics.

    28k GitHub starsUsed in 1 repo~2.3k tokens
    Data & AnalyticsAuto-check passed
  • Empirical Analysis Skill Python

    Drchronx/ai-agent-research-starter-kit

    Parameterized Python empirical-analysis and machine-learning workflow for applied economics, public health epidemiology, supervised ML, and ML causal inference.

    137 GitHub stars~3k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check passed
  • Econml Causal Guide

    wentorai/research-plugins

    Apply EconML for causal inference combining machine learning and econometrics

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Modeling Strategy Guide

    wentorai/research-plugins

    Strategic statistical modeling, experimentation, and causal inference

    298 GitHub starsUsed in 1 repo~2.2k tokens
    Research & ScienceAuto-check passed
  • scikit-survival Time-to-Event Modeling

    davila7/claude-code-templates

    Fits and evaluates survival models with scikit-survival: Cox models, Random Survival Forests, boosting, survival SVMs, concordance index, Brier score and competing risks.

    32k GitHub starsUsed in 11 repos~3.7k tokens
    Data & AnalyticsAuto-check passed

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.5k 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.5k 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.5k GitHub stars~3.5k tokensUpdated 4 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.5k GitHub stars~2.2k tokensUpdated 4 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.5k GitHub stars~1.7k tokensUpdated 4 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.5k GitHub stars~868 tokensUpdated 4 days ago
    Auto-check passed

Questions about ML Causal

What does ML Causal do?

Econometrics skill for machine learning methods in causal inference. ML Causal is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Econometrics skill for machine learning methods in causal inference.

When should I use ML Causal?

ML Causal fits situations like: asks about: causal forest; generalized random forest; double machine learning; debiased machine learning.

How do I install ML Causal in Claude Code?

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

How do I install ML Causal in Codex?

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

Can I use ML Causal 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 ml-causal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ml-causal, .gemini/skills/ml-causal, .github/skills/ml-causal and .opencode/skills/ml-causal in your project.

What does ML Causal need to run?

SKILL.md names no scripts, command-line tools or credentials: ML Causal is instructions for the agent only. Our summary lists: Python 3.

Does ML Causal access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is ML Causal 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 ML Causal use?

ML Causal 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 ML Causal use?

About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to ML Causal?

Skills that share tags, products or a category with ML Causal: Senior Data Scientist (borghei/Claude-Skills, 886 stars), Senior Data Scientist (alirezarezvani/claude-skills, 28k stars), Empirical Analysis Skill Python (Drchronx/ai-agent-research-starter-kit, 137 stars) and Econml Causal Guide (wentorai/research-plugins, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ML Causal?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 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.