causal-inference-mixtape

causal-inference-mixtape is a skill in brycewang-stanford/Auto-Empirical-Research-Skills, last changed 22 Apr 2026. It can change agent settings, run shell commands, reach the network and name web addresses — read the findings before installing. Our pattern check flagged nothing at commit 371a40e on 27 Oct 2026.

Pattern check: nothing flagged · commit 371a40e · 27 Oct 2026

Install
From the author
This skill should be used when the user asks to "implement a DiD regression", "write a causal inference pipeline", "set up an event study", "implement instrumental variables", "run a regression discontinuity design", "build a synthetic control model", "implement propensity score matching", "write parallel trends test", "implement Bacon decomposition", or needs code templates for causal inference methods in Python, R, or Stata. Based on Scott Cunningham's Causal Inference: The Mixtape.
Licence
Licence not identified
Repo stars
4.8k
Files
6 files
Checked
371a40e (opens in a new tab) · 27 Oct 2026

Install

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

No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.

Pinned to commit 371a40e, the one we checked.

From your project's root folder:

tmp="$(mktemp -d)" &&
  git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git "$tmp" &&
  git -C "$tmp" fetch -q --depth 1 origin 371a40e488c5d9e8e75ca2af5dd9667f8349c199 &&
  git -C "$tmp" sparse-checkout set -- skills/10-Jill0099-causal-inference-mixtape &&
  git -C "$tmp" checkout -q 371a40e488c5d9e8e75ca2af5dd9667f8349c199 &&
  mkdir -p .claude/skills &&
  mkdir .claude/skills/causal-inference-mixtape &&
  cp -R "$tmp"/skills/10-Jill0099-causal-inference-mixtape/. .claude/skills/causal-inference-mixtape/ &&
  rm -rf "$tmp"

If Claude Code was already running and this created the skills folder, run /reload-skills.

Claude Code docs (opens in a new tab)

What it can touch

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

What it can touch: Shell, network or credentials

  • Runs shell commands

    Its instructions or files give the agent commands to run on your computer.

  • Reaches the network

    It sends or fetches data over the internet, for example with curl, an HTTP library or a package install.

  • Names web addresses

    It mentions outside web addresses the agent may visit. We list them but don't follow them.

  • Changes agent settings

    It writes to agent memory or settings files such as CLAUDE.md, AGENTS.md or .claude/settings.json.

    README-original.md:53

Pattern check

Pattern check: nothing flagged · commit 371a40e · 27 Oct 2026

We checked every text file in this skill, at commit 371a40e on 27 Oct 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

Outside links we did not follow

  • https://claude.ai/code
  • https://github.com/Jill0099/causal-inference-mixtape.git
  • https://mixtape.scunning.com/

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 what the strictest agents enforce, so one folder loads everywhere.

    • Error

      The name "causal-inference-mixtape" doesn't match its folder "10-Jill0099-causal-inference-mixtape". The spec requires them to match. N4

      Fix: Set name: 10-jill0099-causal-inference-mixtape, or rename the folder to causal-inference-mixtape.

    • Warning

      Fields outside the spec: version. 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.

    • Note

      The first sentence of the description is 430 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.

    • Note

      Reference files over 100 lines with no table of contents at the top: prompts/02-robustness-checks.md (121 lines), references/method-patterns.md (561 lines) and references/r-stata-comparison.md (133 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • Claude CodePasses

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

    • Note

      The name "causal-inference-mixtape" doesn't match its folder "10-Jill0099-causal-inference-mixtape". Claude Code shows the skill as /causal-inference-mixtape, and the folder name also invokes it. N4

      Fix: Set name: 10-jill0099-causal-inference-mixtape, or rename the folder to causal-inference-mixtape.

    • Note

      The first sentence of the description is 430 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: version. O1

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

    • Note

      Reference files over 100 lines with no table of contents at the top: prompts/02-robustness-checks.md (121 lines), references/method-patterns.md (561 lines) and references/r-stata-comparison.md (133 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • 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 "causal-inference-mixtape" doesn't match its folder "10-Jill0099-causal-inference-mixtape". claude.ai refuses an upload whose folder name doesn't match the skill name. N4

      Fix: Set name: 10-jill0099-causal-inference-mixtape, or rename the folder to causal-inference-mixtape.

    • Error

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

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

    • Note

      The description is 489 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4

      Fix: If the claude.ai upload refuses it, trim the description to 200 characters.

    • Note

      Reference files over 100 lines with no table of contents at the top: prompts/02-robustness-checks.md (121 lines), references/method-patterns.md (561 lines) and references/r-stata-comparison.md (133 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • OpenAI (Codex & API)Passes with warnings

    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.

    • Warning

      The name "causal-inference-mixtape" doesn't match its folder "10-Jill0099-causal-inference-mixtape". OpenAI's own upload example uses a differently named folder, but the spec it follows says they must match. N4

      Fix: Set name: 10-jill0099-causal-inference-mixtape, or rename the folder to causal-inference-mixtape.

    • Warning

      Fields outside the spec: version. 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 430 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 "causal-inference-mixtape" doesn't match its folder "10-Jill0099-causal-inference-mixtape". VS Code uses the folder name, 10-Jill0099-causal-inference-mixtape, instead. N4

      Fix: Set name: 10-jill0099-causal-inference-mixtape, or rename the folder to causal-inference-mixtape.

    • Note

      VS Code ignores fields it doesn't support: version. 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

  • a1

    brycewang-stanford/Auto-Empirical-Research-Skills

    VS-Enhanced Research Question Refiner - Prevents Mode Collapse and derives differentiated research questions Enhanced VS 3-Phase process: Modal question avoidance, alternatives presentation, differentiated RQ recommendation Use when: refining research ideas, formulating research questions, clarifying scope Triggers: research question, 연구 질문, PICO, SPIDER, research idea

    • Instructions only
    Pattern check: Nothing flagged

    No licence · 4.8k repo stars · Updated 2 Apr 2026

  • a2

    brycewang-stanford/Auto-Empirical-Research-Skills

    VS-Enhanced Theoretical Framework Architect with Critique & Visualization Full VS 5-Phase process: Modal theory avoidance, Long-tail exploration, differentiated framework presentation Absorbed A3 (Devil's Advocate) critique and A6 (Conceptual Framework Visualizer) capabilities Use when: building theoretical foundations, designing conceptual models, deriving hypotheses, critiquing frameworks, visualizing models Triggers: theoretical framework, 이론적 프레임워크, conceptual model, 개념적 모형, hypothesis derivation, critique, devil's advocate, 반론, visualization, diagram

    • Instructions only
    Pattern check: Nothing flagged

    No licence · 4.8k repo stars · Updated 2 Apr 2026

  • a5

    brycewang-stanford/Auto-Empirical-Research-Skills

    Agent A5 - Paradigm & Worldview Advisor - Philosophical foundations for research design. Covers ontology, epistemology, axiology, and methodology alignment. Use when: establishing philosophical foundations, justifying methodological choices, writing positionality statements Triggers: paradigm, 패러다임, ontology, epistemology, worldview, 세계관, philosophical foundations, 철학적 기초

    • Instructions only
    Pattern check: Nothing flagged

    No licence · 4.8k repo stars · Updated 2 Apr 2026

  • ablation-planner

    brycewang-stanford/Auto-Empirical-Research-Skills

    Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission. Codex designs ablations from a reviewer's perspective, CC reviews feasibility and implements.

    • Runs shell commands
    • Pre-approves tools
    Pattern check: 1 item to review

    No licence · 4.8k repo stars · Updated 19 Jul 2026

  • ablation-planner

    brycewang-stanford/Auto-Empirical-Research-Skills

    Use when main results pass result-to-claim (`claim_supported = yes` or `partial`) and ablation studies are needed for paper submission. A secondary Codex agent designs ablations from a reviewer's perspective; the local executor reviews feasibility and implements.

    • Runs shell commands
    • Pre-approves tools
    Pattern check: 1 item to review

    No licence · 4.8k repo stars · Updated 2 Apr 2026

  • abstract

    brycewang-stanford/Auto-Empirical-Research-Skills

    Reads the manuscript and notebooks to generate a structured abstract. Use when writing or updating the abstract.

    • Runs shell commands
    • Pre-approves tools
    Pattern check: 1 item to review

    No licence · 4.8k repo stars · Updated 2 Apr 2026

All skills in brycewang-stanford/Auto-Empirical-Research-Skills