Works with the AI Agents you already use
Aetia Causal Core
Formally verified causal inference engine for DAG identification, optimal adjustment, and DML estimation.
Free
Aetia Causal Core
Example session with this skill installed
Analyze this DAG: Age -> Wealth, Age -> Health, Wealth -> Health. Give me the optimal adjustment set for the effect of Wealth on Health and run a sensitivity check on data.csv.
- Read your context and instructions
- Compiled the aetia causal core
- Generated the data export
I have analyzed the causal graph and audited data.csv using the Aetia engine.
Causal Analysis Report
1. Identification Verdict
The effect of Wealth (X) on Health (Y) is identifiable via the back-door criterion.
- Minimal Adjustment Set:
{Age} - Optimal Adjustment Set $O(X,Y)$:
{Age}. SinceAgeis the only pre-treatment confounder, it is required to block the back-door pathWealth <- Age -> Health. - Z-bias Check: No bias-amplifying instruments detected.
2. Empirical Results (from data.csv)
The model used 5-fold cross-fitted Double Machine Learning (DML) with a linear R-learner.
| Metric | Value | 95% CI |
|---|---|---|
| Point Estimate (ATE) | 0.428 | [0.382, 0.474] |
| Standard Error | 0.023 | - |
| E-value | 2.14 | (for limit: 1.88) |
| Robustness Value ($RV_{q=1}$) | 0.185 | - |
3. Sensitivity Analysis
- E-value: An unmeasured confounder associated with both Wealth and Health by a Risk Ratio of 2.14 could explain away the observed effect.
- Cinelli-Hazlett: An unmeasured confounder would need to explain more than 18.5% of the residual variance in both the exposure and the outcome to bring the point estimate to zero.
4. Causal Assumptions
- Consistency: The definition of Wealth is uniform across the sample.
- Exchangeability: There are no unmeasured confounders (e.g., "Parental Socioeconomic Status") not captured by the proxy
Age. - Positivity: High and low Wealth levels exist across all Age cohorts.
Next steps
- Run
cpdag_and_implicationsto see if the arrowAge -> Wealthcan be falsified. - If you suspect unmeasured confounding, add a
bidirected_edgebetween Wealth and Health to test IV identification.
data.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Causal inference is notoriously fragile. LLMs frequently hallucinate d-separation, miss M-bias colliders, or suggest adjusting for post-treatment mediators that invalidate your results. This skill integrates your agent with the Aetia deterministic MCP engine to provide formally verified causal graph analysis and statistical estimation.
What it does
- Graphical identification uses the Shpitser-Pearl ID algorithm to determine if a causal effect is identifiable from observational data.
- Optimal adjustment selects the Henckel et al. minimum-variance set to maximize precision while avoiding bias-amplifying instruments.
- Sensitivity analysis computes E-values and Cinelli-Hazlett robustness values to quantify how strong an unmeasured confounder must be to flip your conclusion.
- Bias detection flags Z-bias, M-bias, and selection bias ($S=1$) automatically within your DAG.
- Automated auditing runs cross-fitted Double Machine Learning (DML) or AIPW on local CSVs with propensity overlap diagnostics.
How it works
- Define the DAG by specifying exposures, outcomes, latent nodes, and selection indicators using standard causal notation.
- Verify identification by calling the MCP tools to find valid adjustment sets or front-door paths.
- Audit data by providing a CSV for the agent to run conditional independence tests and causal estimators.
- Interpret sensitivity to evaluate the impact of potential hidden confounding on your point estimates.
Frameworks & tools
Requires Python 3.10+ and the aetia-causal-engine MCP server. It utilizes libraries for cross-fitted Double Machine Learning, GCM independence tests, and formal do-calculus.
Why this beats prompting it yourself
Prompting alone cannot solve d-separation or do-calculus reliably. This skill replaces LLM guesswork with a deterministic math engine, ensuring your adjustment sets are mathematically sound and your standard errors are minimized via optimal covariate selection.
Use cases
- Target trial emulation for clinical real-world evidence.
- Marketing mix modeling to identify the true incremental impact of spend.
- Product analytics to estimate lift while controlling for self-selection bias.
- Academic peer review to stress-test the causal assumptions in a research paper.
Known limitations
Requires a local Python environment with Aetia installed. It cannot verify the "truth" of your arrows, only the mathematical implications of the graph you provide.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Software
- Aetia MCP
Python
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.