causal-inference-analysis

causal-inference-analysis is a skill for Claude Code, Codex from HaipingXu/social-science-claude-scholar. It costs 155 tokens per session (2,492 once invoked), scanned A, original, no licence file.

Guidance for analyzing cause-and-effect questions with methods such as difference-in-differences, instrumental variables, regression discontinuity, synthetic control, and event studies.

In plain words
What is it for?
Use it to set up or analyze causal studies, including treatment effects over time, instrument checks, parallel-trends tests, and staggered treatment designs.
Why use it?
These methods help researchers estimate whether an intervention or event caused a change when a simple comparison may be misleading.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to set up or analyze causal studies, including treatment effects over time, instrument checks, parallel-trends tests, and staggered treatment designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haipingxu/social-science-claude-scholar/causal-inference-analysis
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 HaipingXu/social-science-claude-scholar --skill causal-inference-analysis
Clone the repo
git clone --depth 1 https://github.com/HaipingXu/social-science-claude-scholar

Made for: Claude Code, Codex.

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-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis/github.svg)](https://agentmods.dev/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis)
Your own site
<a href="https://agentmods.dev/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis"><img src="https://agentmods.dev/badge/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis/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-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis"><img src="https://agentmods.dev/badge/skills/haipingxu/social-science-claude-scholar/causal-inference-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,492 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.
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.00155 $0.02492
Opus 5 $0.00077 $0.01246
Sonnet 5 $0.00031 $0.00498
Haiku 4.5 $0.00015 $0.00249

Measured 12d ago against content hash c94451d3395d, 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-analysis 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 12d 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/causal-inference-analysis/SKILL.md · 288 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 12d ago First seen · 288 lines · 155 tokens per session scan A c94451d3395d

Subscribe to this mod's changes

causal-inference-analysis is a skill published in the GitHub repository HaipingXu/social-science-claude-scholar (23 stars, last pushed 6mo ago), with no licence file. It adds 155 tokens to every session and 2,492 once invoked, about $0.0008 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

econometrics-phd-level

A guide to econometrics, the use of statistics to study relationships in data, based on a 12-part Korean lecture series. It routes questions to explanations of topics such as regression, panel data, instrumental variables, and causal comparisons.

jayjeo/econometrics-phd-level-skill · 201 tokens

stata-regression

Generates rigorous, reproducible Stata regression workflows that follow World Bank DIME Analytics conventions (ietoolkit, iefolder, master do-files, ieboilstart, dynamic absolute paths, iebaltab, ieddtab, esttab). Defaults to modern estimators (reghdfe, ivreg2/ivreghdfe, csdid, eventstudyinteract, didimputation…

JonasWeinert/EconAgentSkills · 192 tokens

fin-data-acquisition

A data-preparation workflow for financial research. It reads variable definitions from a completed research design and produces data-acquisition work plus executable Python or Stata regression scripts.

csmar432/finai-research · 36 tokens

r-econometrics

Generates rigorous, modern, reproducible R code for causal inference and panel econometrics with fixest, heterogeneity-robust DiD estimators (Callaway-Sant'Anna, Sun-Abraham, BJS, de Chaisemartin-D'Haultfoeuille), weak-IV-robust inference, optimal-bandwidth RDD via rdrobust, and wild cluster bootstrap. Use when the…

JonasWeinert/EconAgentSkills · 138 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 72 tokens