CausalLab AI — AI skill for Claude Code
A LangGraph and Claude agent for causal inference that proposes its assumptions, asks for human approval, tests its own answer, and is checked against a randomised experiment on Expedia hotel-search d.
How to install CausalLab AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shrividya-subramaniam/CausalLab-AI and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What CausalLab AI does
A LangGraph and Claude agent for causal inference that proposes its assumptions, asks for human approval, tests its own answer, and is checked against a randomised experiment on Expedia hotel-search data.
Alternatives in AI
- Inference Serving — ai-research-skills vLLM, SGLang, TensorRT-LLM, llama.cpp 5.4k ★
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
- Genesys — Open-source causal graph memory for AI agents 23 ★
README
CausalLab AI
**How much of the extra clicking on top search results is caused by the position itself, and how much by the ranker putting better hotels on top?**
CausalLab AI is a LangGraph agent, using Claude, that takes a causal question in plain language, proposes the causal assumptions, asks a person to approve them, runs five estimators, tries to break its own answer, and then reports a result or declines to give one. It is tested on Expedia's 2012–13 hotel-search data, where about 30% of searches were ranked at random. That gives a randomised benchmark for the same effect the agent estimates from algorithm-ranked searches: a within-study comparison in the style of LaLonde (1986).
The full specification is in [`SPEC.md`](SPEC.md). The reference specification, fixed before the benchmark was computed, is in [`config/spec_locked.yaml`](config/spec_locked.yaml). Everything changed after that is listed under [What was fixed in advance, and what was not](#what-was-fixed-in-advance-and-what-was-not).
Findings in brief
- Adjustment removes most of the bias, but whether it removes all of it depends on the comparison group. Against positions 4–10 (the pre-registered comparison), the doubly robust estimate is 6.61 pp against an experimental 5.25 pp: a mismatch. Against every position from 4 down (the spec's sensitivity check), the doubly robust, weighting and double machine learning estimates all land within half a point of the experiment: a match. A "match" means the whole gap interval lies within ±20% of the benchmark, not that the gap is zero: AIPW's gap there is −0.27 pp [−0.46, −0.08], small but statistically different from zero.
- Part of the main gap comes from comparing different hotels, not only from confounding. The ranker fills the top ten with different hotels than random ranking does, and the effect differs by hotel. On synthetic data with a known answer, this alone produced a large false "mismatch". Two post-hoc comparisons that put bo
Related Skills
Faultline
Root-cause analysis for failed AI agent runs. LangGraph multi-agent investigation, evidence-checked hypotheses
Med Biostat Skill
Evidence-first bioinformatics & medical research skill for AI agents. 41 analysis methods — Mendelian randomiz
Netlog AI
v0.6.0 causal console. AI-powered network log analyzer with LLM-assisted RCA (Junos / EOS / FRR / SONiC / Cumu
Codex Plan Review
Adversarial Codex review of a PLAN or design (not code) via the local Codex CLI. Read-only second-model challe
Self Healing Ops
A LangGraph agent that repairs broken n8n workflows behind a cross-vendor review gate (Claude proposes, OpenAI
Self Training Loop Skill
Train any prompt, writer or agent the way AI is trained. Fresh agents write, blind judges score, the judge wri
Related Agents
Methodology Reviewer Agent
v1.0 You are a methodology reviewer specializing in empirical social science. You evaluate papers with the rig
Peer Reviewer Quant
A simulated peer reviewer specializing in quantitative methods, causal inference, and empirical rigor. Invoked
Marketing Scientist
Use when the task requires marketing science — causal inference, Marketing Mix Modeling, incrementality testin