causal-audit

causal-audit is a skill for Claude Code from cdeust/zetetic-team-subagents. It costs 74 tokens per session (663 once invoked), scanned A, original, MIT.

A method for checking whether a claimed cause really produced an observed result, rather than merely appearing alongside it. Observational data records what happened but does not automatically show what would have happened otherwise.

In plain words
What is it for?
Evaluating whether a release caused a metric change, planning A/B tests, investigating incidents, and analysing how an outbreak or bug spread.
Why use it?
It exposes confounding factors and weak comparisons that can make a change look responsible for an improvement or incident when it was not.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the zetetic-team-subagents plugin — 16 skills, 2 commands, 23 agents, 7 hooks, 1 MCP server shipped together

Good fit Evaluating whether a release caused a metric change, planning A/B tests, investigating incidents, and analysing how an outbreak or bug spread.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/zetetic-team-subagents/causal-audit
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 cdeust/zetetic-team-subagents --skill causal-audit
Clone the repo
git clone --depth 1 https://github.com/cdeust/zetetic-team-subagents

Made for: Claude Code.

Or install zetetic-team-subagents, the plugin that ships this one along with the rest of its 16 skills, 2 commands, 23 agents, 7 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/zetetic-team-subagents/causal-audit/github.svg)](https://agentmods.dev/skills/cdeust/zetetic-team-subagents/causal-audit)
Your own site
<a href="https://agentmods.dev/skills/cdeust/zetetic-team-subagents/causal-audit"><img src="https://agentmods.dev/badge/skills/cdeust/zetetic-team-subagents/causal-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/zetetic-team-subagents/causal-audit"><img src="https://agentmods.dev/badge/skills/cdeust/zetetic-team-subagents/causal-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 663 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 original 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.00074 $0.00663
Opus 5 $0.00037 $0.00331
Sonnet 5 $0.00015 $0.00133
Haiku 4.5 $0.00007 $0.00066

Measured 10d ago against content hash 70203e2e0ddf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

causal-audit 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 10d 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-audit/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Causal Audit

Problem shape: a causal claim is being made, tested, or acted on, and the evidence is correlational, confounded, unreplicated, or resisted by the organization even when clean. The move: make the causal structure explicit, then intervene or design the comparison that could refute it.

Relevant geniuses

Agent Use when
pearl "X causes Y" claimed from correlation; counterfactual questions; controlled-for variables may be colliders — draw the DAG first
fisher an experiment is being designed: randomize, block, replicate, factorial over one-at-a-time; "run it and see" needs a design document
peirce surprising observation needs candidate explanations; several hypotheses and a limited budget — test cheapest-to-refute first
semmelweis matched groups with wildly different outcomes; the evidence is clear but the institution resists it
snow something is spreading (bug, outage class, behavior) — outbreak investigation, case definitions, Hill's criteria
mill only a handful of cases exist — methods of agreement/difference, necessary vs sufficient conditions
feinstein diagnosis under uncertainty: differential ranked by likelihood ratios, treatment thresholds before acting

Invocation

  1. Pick the best-fit agent above. If two or more fit, run tools/genius-invoker.sh route "<problem>" and take the top ranked match.
  2. Load it: tools/genius-invoker.sh invoke <agent> "<problem>", then read agents/genius/<agent>.md in full.
  3. Apply the agent's <workflow> step by step and answer in its <output-format>. State explicitly which rung of the ladder (association / intervention / counterfactual) the final claim sits on.
  4. Typical chain: pearl classifies the claim → fisher designs the intervention → semmelweis plans the communication. Run via tools/genius-invoker.sh compose pearl fisher -- "<problem>".
  5. If no shape above matches, use a standard team agent instead.

Read the full file on GitHub · 49 lines

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. 10d ago First seen · 49 lines · 74 tokens per session scan A 70203e2e0ddf

Subscribe to this mod's changes

causal-audit is a skill published in the GitHub repository cdeust/zetetic-team-subagents (7 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 663 once invoked, about $0.0004 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.

Related

Other skills, from other repositories