More screenshots
Works with the AI Agents you already use
Aetia Causal Science Bundle
Enterprise causal inference suite for clinical RWE, pay equity audits, and econometrics with sensitivity analysis.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
Aetia Causal Science Bundle
Example session with this skill installed
I need to analyze a pay equity dataset. We have salary, tenure, role, and performance ratings. Help me identify the direct effect of gender while accounting for role as a mediator.
- Read your context and instructions
- Compiled the aetia causal science
I have analyzed the causal structure for your pay equity audit. To isolate the direct effect of gender on salary while role acts as a mediator, I have applied a mediator decomposition protocol.
Pay Equity Causal Audit
| Metric | Value | Interpretation |
|---|---|---|
| Total Effect | -$4,200 | Raw difference in gender pay gap |
| Direct Effect (NDE) | -$1,150 | Unexplained gap after mediator decomposition |
| Mediated Effect (NIE) | -$3,050 | Gap explained by role distribution |
| Oaxaca-Blinder P-Val | 0.002 | Statistically significant unexplained variance |
| E-value for NDE | 1.85 | Strength of confounding needed to nullify result |
| Collider Risk | Low | Performance rating included as precision predictor |
Identification Verdict
The effect is identified via the mediation formula. Role is treated as a post-treatment mediator. Performance ratings are included as $P \in O(X,Y)$ to reduce variance without introducing M-bias, assuming they are not influenced by the exposure.
Sensitivity Analysis
- Cinelli-Hazlett RV_q: A confounder explaining 12% of the residual variance in both gender and salary would be required to shift the direct effect to zero.
- Oster Delta: 1.42 (suggests the result is robust to unobserved selection).
Next steps
- Run
scripts/hr_causal_audit.py --mediator roleto generate the full legal brief. - Review
references/hr-causal-traps.mdto confirm performance rating isn't a collider. - Export the R/Python code for final reporting.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Standard regression models fail when variables are interconnected by unobserved confounders, selection bias, or mediators. This skill provides a suite of causal inference tools for clinical evidence, people analytics, and applied econometrics. It forces a rigorous structural approach to ensure you are measuring true effects rather than mere correlations.
What it does
- Target Trial Emulation performs clinical RWE audits using IPTW balance checks and AIPW for doubly-robust estimation.
- Pay Equity Analysis decomposes total versus direct effects to isolate mediators and identifies survey colliders in HR data.
- Instrumental Variable Analysis runs 2SLS with Stock-Yogo F-statistics and Lee tF adjustments to handle weak instruments.
- Sensitivity Analysis computes E-values, Cinelli-Hazlett partial R-squared bounds, and Oster delta to quantify unmeasured confounding.
- Monte Carlo Stress-Testing generates synthetic cohorts to verify estimator power and bias before pre-registration.
How it works
- DAG Formalization involves classifying variables into exposures, outcomes, confounders, and mediators to define the causal graph.
- Identification Proof uses the Aetia MCP or manual DAG rules to certify the estimand is identifiable.
- Auditor Execution runs domain-specific scripts (RWE, HR, or Econ) to generate deterministic point estimates and confidence intervals.
- Template Generation populates regulatory or academic templates with quantitative sensitivity bounds and falsifiable assumptions.
Frameworks & tools
Standalone Python 3.10+ using numpy, scipy, pandas, and scikit-learn. Integrates with aetia-mcp for structural identification proofs.
Why this beats prompting it yourself
Generic LLM prompts often "eyeball" causal graphs and fail to detect structural traps like M-bias or collider selection. This skill enforces mathematical identification protocols and sensitivity analysis that LLMs cannot calculate accurately through text alone.
Use cases
- Auditing pay equity by adjusting for job level mediators without introducing collider bias.
- Emulating a randomized controlled trial using electronic health record (EHR) data.
- Responding to peer review with Oster delta and Cinelli-Hazlett sensitivity bounds for econometrics papers.
- Stress-testing a proposed study design against unmeasured front-door violations.
Known limitations
Requires Python 3.10 and specific scientific libraries. Causal identification is only as accurate as the user-provided structural DAG.
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
- Software
- Aetia MCP
Python
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.