OpenParable
Skip to content
← Back to skills

Causal Inference Engine

Development
causal-inference-engine

Causal Inference Engine is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Causal reasoning implementing DAG construction, do-calculus, and intervention effect estimation

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/scientific-discovery/skills/causal-inference-engine/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/causal-inference-engine, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Causal Inference Engine

Purpose

Provides causal reasoning capabilities implementing DAG construction, do-calculus, and intervention effect estimation.

Capabilities

  • Causal DAG construction and validation
  • Backdoor/frontdoor criterion checking
  • Average treatment effect estimation
  • Instrumental variable analysis
  • Mediation analysis
  • Sensitivity analysis for unmeasured confounding

Usage Guidelines

  1. DAG Construction: Build causal graphs from domain knowledge
  2. Identification: Check if effects are identifiable
  3. Estimation: Apply appropriate estimation methods
  4. Sensitivity: Assess robustness to unmeasured confounding

Tools/Libraries

  • DoWhy
  • CausalNex
  • pgmpy
  • EconML