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.
npx skills add j4flmao/agent-skills --skill causal-inferencegit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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.
[](https://agentmods.dev/skills/j4flmao/agent-skills/causal-inference)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/causal-inference"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-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.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/causal-inference"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/causal-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.05931 |
| Opus 5.5 | $0.00035 | $0.02372 |
| Sonnet 5.5 | $0.00018 | $0.01186 |
| Haiku 4.5 | $0.00009 | $0.00593 |
Grade A, and why
data-science-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 16d 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.
How it starts
The opening of the file, as written. The whole thing — 560 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Causal Inference
Purpose
Estimate causal effects from observational and experimental data using rigorous frameworks and methods: causal frameworks (potential outcomes / Rubin Causal Model, directed acyclic graphs / Pearl's framework, do-calculus, counterfactual reasoning, structural causal models), quasi-experimental methods (difference-in-differences, regression discontinuity design, instrumental variables, propensity score matching, synthetic control), and causal machine learning (uplift modeling, heterogeneous treatment effects, CATE estimation, S/T/X-learners, causal forests, double/debiased ML).
Agent Protocol
Trigger
Exact user phrases: "causal inference", "causal effect", "treatment effect", "potential outcomes", "Rubin causal model", "DAG", "directed acyclic graph", "do-calculus", "counterfactual", "structural causal model", "SCM", "difference-in-differences", "DiD", "regression discontinuity", "RDD", "instrumental variable", "IV", "propensity score", "PSM", "synthetic control", "uplift modeling", "heterogeneous treatment effect", "HTE", "CATE", "conditional average treatment effect", "meta-learner", "S-learner", "T-learner", "X-learner", "causal forest", "double ML", "debiased ML", "confounding", "selection bias", "endogeneity", "identification".
Input Context
Before activating, verify:
- Data source (RCT, observational, panel, time series)
- Treatment assignment mechanism (random, conditional, self-selection)
- Confounders observed and unobserved
- Target estimand (ATE, ATT, CATE, ITE)
- Domain knowledge for DAG construction
- Sample size and dimensionality
- Budget/computational constraints for causal ML
Output Artifact
Causal analysis plan with identification strategy, estimation method, robustness checks, and sensitivity analysis.
Response Format
# Estimation code
# CATE estimates: ATE, ATT, heterogeneity analysis
# DAG specification in DOT notation
# Sensitivity analysis results
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
What ships with it
6 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.
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.
- 16d ago Changed · +4 lines · -99 tokens per session 21e722db919a
- 1mo ago Changed · +8 lines eae7c572642d
- 3mo ago First seen · 548 lines · 187 tokens per session scan A 2b84cf51b468
data-science-causal-inference is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 88 tokens to every session and 5,931 once invoked, about $0.0004 per session on Opus 5.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-09-03.
data-science-causal-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| data-science-causal-inferencej4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 88 | Claude Code, Codex |
| cnsplotsfaridrashidi/cnsplots | Skill | 738 | 11d ago | BSD-3-Clause | A | 79 | Codex |
| data-management-planpedrohcgs/claude-code-my-workflow | Skill | 1.8k | 27d ago | MIT | A | 143 | Claude Code, Codex |
| preregisterpedrohcgs/claude-code-my-workflow | Skill | 1.8k | 27d ago | MIT | A | 153 | Claude Code, Codex |
| simulation-studypedrohcgs/claude-code-my-workflow | Skill | 1.8k | 27d ago | MIT | A | 145 | Claude Code, Codex |
| audit-reproducibilitypedrohcgs/claude-code-my-workflow | Skill | 1.8k | 27d ago | MIT | A | 54 | Claude Code |
| extract-tikzpedrohcgs/claude-code-my-workflow | Skill | 1.8k | 27d ago | MIT | A | 83 | Claude Code |