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 agentmods add skills/lancegui/causal-powers/causal-identificationnpx skills add lancegui/causal-powers --skill causal-identificationgit clone --depth 1 https://github.com/lancegui/causal-powersWrote 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/lancegui/causal-powers/causal-identification)<a href="https://agentmods.dev/skills/lancegui/causal-powers/causal-identification"><img src="https://agentmods.dev/badge/skills/lancegui/causal-powers/causal-identification.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00181 | $0.03778 |
| Opus 5 | $0.00090 | $0.01889 |
| Sonnet 5 | $0.00036 | $0.00756 |
| Haiku 4.5 | $0.00018 | $0.00378 |
Grade A, and why
causal-identification 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 4d 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 — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Causal Identification
Overview
A regression coefficient is a correlation with good posture. It becomes a causal effect only when a design rules out the other explanations — and that design rests on assumptions no amount of clean data or tight standard errors can supply. The fatal error is silent: the code runs, the coefficient is significant, the sign is plausible, and it's still confounding wearing the costume of an effect.
Core principle: State the identification assumptions before you estimate, and test the ones that are testable. The estimate is only as credible as the assumption you can't test.
Before any model, answer the Angrist–Pischke question: if you could run the ideal randomized experiment, what would it be — and what real-world variation are you using as a stand-in? Name the source of variation in one sentence and argue it's as good as random, or you have a regression hoping to be an identification strategy.
The Design Card — sign-off before estimation
A causal claim locks a Design Card — invoke analysis-state-management, write it to docs/analysis/ (or point to the PAP), get sign-off before estimating. (Structural → model card, prediction → Prediction Spec — same gate, different document; mechanics owned by analysis-checkpoints.) Fields:
- Causal question + estimand — ATT/ATE/LATE, for which population.
- Design + source of variation — the "what's your experiment?" answer, one sentence.
- The untestable assumption, in plain language, and why it's plausible here.
- Diagnostics planned — the design-specific tests you'll run before reading the estimate.
- Robustness shortlist — the ~3 checks aimed at the main threat (approval-gated, see below).
- Primary spec — outcome, treatment, FE/controls (each control with its confounding story), SEs/clustering.
Entering mid-stream ("just run the DiD") does not waive the card: "the user already said regress Y on X" names the spec, not the design — reconstruct the card from context in ≤10 lines and confirm before estimating.
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.
- 4d ago First seen · 156 lines · 181 tokens per session scan A e9b933d1af80
causal-identification is a skill published in the GitHub repository lancegui/causal-powers (2 stars, last pushed 10d ago), licensed MIT. It adds 181 tokens to every session and 3,778 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-31.
Other skills, from other repositories
fin-paper-figure
Generate academic-quality figures (>=300 DPI) for economics and finance papers.
fin-paper-writing
经济金融论文写作编排器。根据PAPEROUTLINE.md和REFINEDDESIGN.md,编排调用fin-paper-draft(正文写作)、fin-paper-figure(图表生成)、fin-review-loop(review循环),管理版本并确保章节间的一致性。.
fin-viz-launch
Skill "fin-viz-launch" from csmar432/finai-research, covering fin-viz-launch, 触发条件, 三种工作模式, 模式一:快速模式 (quick mode) and 关键词 → 预设映射.
fin-data-acquisition
根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。.
fin-lit-review
经济金融领域的系统性文献综述。整合 Semantic Scholar + ArXiv + OpenAlex + NBER 构建引文网络,识别研究缺口,生成结构化文献地图。.
fin-submit-check
根据目标期刊要求,对论文进行投稿前全面检查,涵盖格式、引用、图表、数据可用性等所有投稿必需项。.