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 product-on-purpose/thinking-framework-skills --skill think-causal-dag-adjustment-checkgit clone --depth 1 https://github.com/product-on-purpose/thinking-framework-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/product-on-purpose/thinking-framework-skills/think-causal-dag-adjustment-check)<a href="https://agentmods.dev/skills/product-on-purpose/thinking-framework-skills/think-causal-dag-adjustment-check"><img src="https://agentmods.dev/badge/skills/product-on-purpose/thinking-framework-skills/think-causal-dag-adjustment-check/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/product-on-purpose/thinking-framework-skills/think-causal-dag-adjustment-check"><img src="https://agentmods.dev/badge/skills/product-on-purpose/thinking-framework-skills/think-causal-dag-adjustment-check.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00142 | $0.04125 |
| Opus 5.5 | $0.00057 | $0.01650 |
| Sonnet 5.5 | $0.00028 | $0.00825 |
| Haiku 4.5 | $0.00014 | $0.00413 |
Grade A, and why
think-causal-dag-adjustment-check 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 today.
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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Causal DAG Adjustment Check (causal adjustment audit)
Someone compares two groups nobody assigned and concludes that one thing caused the other: "accounts that used the feature churned less". The instinct is to control for everything available and to look only at the cases that are easy to see. Both habits can manufacture the result. This skill performs one distinct move: draw the assumed causal graph behind the comparison, give every variable its structural role on each path, and derive both what the comparison must adjust for and what it must not. A confounder (a common cause of the exposure and the outcome) opens a back-door path that must be blocked. A mediator (a variable on the path from the exposure to the outcome) must not be adjusted for when the target is the total effect, because that removes part of the effect itself. A collider is a variable where two arrows on one path meet head to head. Under the controls and filters actually used, a path is open only if every collider on it (or a descendant of that collider) is conditioned on and no non-collider on it is conditioned on. So conditioning on a collider, or keeping a sample selected on it, can open a path that was closed. Collider status belongs to a path, not to a variable, so one variable can be a confounder on one path and a collider on another. The skill reads the shape of the graph and stops at the adjustment set and the assumptions it rests on. It never computes an effect, a probability or a counterfactual, and it never certifies a causal claim. The output is a causal adjustment audit, a structured artifact, not prose.
When to Use
- Someone draws a causal conclusion from data nobody randomized: "users who adopt X retain better", "regions with the program had fewer incidents", "teams on the tool had fewer outages".
- An analysis "controls for" a list of variables and nobody has asked whether each one belongs in the model. Controlling for everything available is the default this skill corrects.
- The sample was filtered. Only survivors, hires, renewers, respondents or "active" accounts were kept, and the filter may itself be a common effect of the exposure and the outcome.
- Two people disagree about a causal claim, and drawing the graph would show which arrow they disagree about and whether that arrow changes what to adjust for.
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.
- today First seen · 88 lines · 142 tokens per session scan A 5fd4ffbb136a
think-causal-dag-adjustment-check is a skill published in the GitHub repository product-on-purpose/thinking-framework-skills (29 stars, last pushed today), licensed Apache-2.0. It adds 142 tokens to every session and 4,125 once invoked, about $0.0006 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-12-01.
think-causal-dag-adjustment-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| think-causal-dag-adjustment-checkproduct-on-purpose/thinking-framework-skills | Skill | 29 | today | Apache-2.0 | A | 142 | Claude Code, Codex |
| ketchupbacknotprop/pstack | Skill | 5.6k | today | MIT | A | 49 | Claude Code, Codex, Cursor |
| interrogatebacknotprop/pstack | Skill | 5.6k | today | MIT | A | 61 | Claude Code, Codex, Cursor |
| reframebacknotprop/pstack | Skill | 5.6k | today | MIT | A | 38 | Claude Code, Codex, Cursor |
| principle-prove-it-worksbacknotprop/pstack | Skill | 5.6k | today | MIT | A | 50 | Claude Code, Codex, Cursor |
| principle-sequence-verifiable-unitsbacknotprop/pstack | Skill | 5.6k | today | MIT | A | 68 | Claude Code, Codex, Cursor |
| ops-demoSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 46 | Claude Code |