causal-inference

causal-inference is a skill for Claude Code from brycewang-stanford/Auto-Empirical-Research-Skills. It costs 170 tokens per session (3,028 once invoked), scanned A, original, no licence file.

A guide to causal-inference methods for estimating cause-and-effect relationships from observational or quasi-experimental data.

In plain words
What is it for?
Use it with instrumental variables, difference-in-differences, regression discontinuity, synthetic controls, and matching methods.
Why use it?
It helps select, implement, and debug designs when researchers cannot run a fully controlled experiment.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it with instrumental variables, difference-in-differences, regression discontinuity, synthetic controls, and matching methods.

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

Made for: Claude Code.

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 causal-inference

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brycewang-stanford/auto-empirical-research-skills/causal-inference"><img src="https://agentmods.dev/badge/skills/brycewang-stanford/auto-empirical-research-skills/causal-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00170 $0.03028
Opus 5 $0.00085 $0.01514
Sonnet 5 $0.00034 $0.00606
Haiku 4.5 $0.00017 $0.00303

Measured 13d ago against content hash d0504ed97eed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

causal-inference scanned grade A with 0 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 13d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/11-James-Traina-compound-science/skills/causal-inference/SKILL.md · 226 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

3 files 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. 13d ago First seen · 226 lines · 170 tokens per session scan A d0504ed97eed

Subscribe to this mod's changes

causal-inference is a skill published in the GitHub repository brycewang-stanford/Auto-Empirical-Research-Skills (3,759 stars, last pushed 5d ago), with no licence file. It adds 170 tokens to every session and 3,028 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. 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

data-management-plan

Draft a funder-compliant Data Management Plan (NSF DMP, NIH DMS Policy 2023, ERC, Horizon Europe) by composing the confidential-data and environment-capture primitives. Sections cover data description, formats/metadata, storage/backup, access/sharing, preservation/archiving, and roles. Use when user says "data…

pedrohcgs/claude-code-my-workflow · 143 tokens

validate-bib

Validate bibliography entries against citations in all lecture files. Structural checks (missing/unused entries, malformed fields) by default; --semantic adds citation-drift detection, DOI verification, and style-consistency checks.

pedrohcgs/claude-code-my-workflow · 47 tokens

ara-compile

SOP: Turn the feeding plan into the compiler's $ARGUMENTS and run the external ARA compiler once inline to produce ../ara/.

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

review-r

Read-only R code review protocol for .R scripts. Checks code quality, reproducibility, domain correctness, tidyverse idioms, and professional standards; produces a report without editing. Use when user says "review this R script", "check the R code", "audit the analysis code", "code review on the R", or when an R file…

pedrohcgs/claude-code-my-workflow · 102 tokens

causal-modeling

Campaign for building causal models — identify variables, map mechanisms, collect evidence, analyze interventions, validate models. Produces causal graphs in the wiki vault.

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

unit-segmentation

Split a paper's text into sentence- or clause-level units (with character offsets) for downstream classification, at a caller-specified granularity and scope (full text, abstract-only, or intro-only). Use this as the mandatory first step whenever any sentence/clause-level classification method (Argumentative Zoning…

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