Skill / SKILL.md

Causal Dag Builder

clamp-sh/analytics-skills

Build a refinable causal DAG before answering "did X cause Y" on observational data. Emits a Mermaid diagram of assumed causes, applies the back-door criterion to decide what to condition on, and forces confounders, mediators, and colliders to be named explicitly instead of "controlling for everything". The DAG is an artifact downstream skills read to pick the right adjustment set. Use whenever interpreting cohort comparisons, funnel drop-offs, or any analytics result where the user is reasoning causally without an experiment. Pairs with analytics-diagnostic-method as the causal-structure layer underneath the diagnostic tree. Triggers when Clamp MCP cohorts_compare or funnels_create is called with no experimental holdback, when a Clamp MCP result prompts a causal claim from observational data, or when via Clamp the user asks "why did this segment convert higher".
4 views 11 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Build a refinable causal DAG before answering "did X cause Y" on observational data. Emits a Mermaid diagram of assumed causes, applies the back-door criterion to decide what to condition on, and forces confounders, mediators, and colliders to be named explicitly instead of "controlling for everything". The DAG is an artifact downstream skills read to pick the right adjustment set. Use whenever interpreting cohort comparisons, funnel drop-offs, or any analytics result where the user is reasoning causally without an experiment. Pairs with analytics-diagnostic-method as the causal-structure layer underneath the diagnostic tree. Triggers when Clamp MCP cohorts_compare or funnels_create is called with no experimental holdback, when a Clamp MCP result prompts a causal claim from observational data, or when via Clamp the user asks "why did this segment convert higher".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/clamp-sh/analytics-skills' skill-source

Use the complete skill-source/skills/causal-dag-builder directory with your client’s skill installer.

  • skills/causal-dag-builder

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/causal-dag-builder

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4276618a72c38067a1b550e464fc94377493ec3c8733c18ef1fa765ed25911b4
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills