Skip to content
Agentmart
Submit a tool

causalml

Use CausalML for causal inference, uplift modeling, matching, validation, interpretation, and treatment optimization workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-causalml

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use CausalML for causal inference, uplift modeling, matching, validation, interpretation, and treatment optimization workflows.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/causalml

What's inside

Skill name
causalml
Description
Use CausalML for causal inference, uplift modeling, matching, validation, interpretation, and treatment optimization workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
56 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (29)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_env.py · scripts/
  • SKILL.md · sub-skills/analysis-and-decision/
  • metrics-and-validation.md · sub-skills/analysis-and-decision/references/
  • optimization.md · sub-skills/analysis-and-decision/references/
  • sensitivity-and-selection.md · sub-skills/analysis-and-decision/references/
  • troubleshooting.md · sub-skills/analysis-and-decision/references/
  • SKILL.md · sub-skills/causal-estimation/
  • api-contracts.md · sub-skills/causal-estimation/references/
  • iv-tmle-serialization.md · sub-skills/causal-estimation/references/
  • meta-learners.md · sub-skills/causal-estimation/references/
  • troubleshooting.md · sub-skills/causal-estimation/references/
  • SKILL.md · sub-skills/data-preparation/
  • data-contracts.md · sub-skills/data-preparation/references/
  • troubleshooting.md · sub-skills/data-preparation/references/
  • workflows.md · sub-skills/data-preparation/references/
  • match_csv.py · sub-skills/data-preparation/scripts/
  • SKILL.md · sub-skills/deep-models/
  • backend-setup.md · sub-skills/deep-models/references/
  • cevae.md · sub-skills/deep-models/references/
  • dragonnet.md · sub-skills/deep-models/references/
  • troubleshooting.md · sub-skills/deep-models/references/
  • SKILL.md · sub-skills/tree-models/
  • causal-trees.md · sub-skills/tree-models/references/
  • troubleshooting.md · sub-skills/tree-models/references/
  • uplift-trees.md · sub-skills/tree-models/references/

SKILL.md (first lines)

# causalml

Use this repo skill when the task names CausalML or needs Python operating guidance for causal effect estimation, uplift modeling, propensity/matching, causal trees, optional neural causal models, validation metrics, sensitivity analysis, feature selection, or treatment decision optimization.

## Install and environment check

For normal package use, install the package and only the optional extras needed by the requested workflow:

```bash
pip install causalml
pip install "causalml[tf]"      # TensorFlow DragonNet only when needed
pip install "causalml[torch]"   # Torch/Pyro CEVAE only when needed
pip install "causalml[jax]"     # JAX DragonNet/CEVAE only when needed
```

When working from a source checkout, use the equivalent editable install such as `pip install -e .` or `pip install -e ".[tf,torch,jax]"` from that checkout.

After installation, run the bundled diagnostic from this skill tree if import status is uncertain:

```bash
python scripts/check_env.py
python scripts/check_env.py --backend tf --backend jax
python scripts/check_env.py --backend all --json
```

The diagnostic checks core imports and only checks optional backends that are explicitly requested.

## Route by workflow

| Task | Open |
| --- | --- |
| Synthetic data, feature matrix preparation, propensity scores, matching, balance tables, CSV matching | [sub-skills/data-preparation/](sub-skills/data-preparation/) |
| S/T/X/R/DR meta-learners, TMLE, IV/DRIV, estimator API contracts, Polars/DataFrame support, persistence | [sub-skills/causal-estimation/](sub-skills/causal-estimation/) |
| Causal trees, causal forests, uplift trees, uplift forests, tree plots, tree save/load, compiled tree import issues | [sub-skills/tree-models/](sub-skills/tree-models/) |
| TensorFlow DragonNet, Torch/Pyro CEVAE, JAX DragonNet, JAX CEVAE, deep-backend setup and smoke checks | [sub-skills/deep-models/](sub-skills/deep-models/) |
| AUUC/Qini/RATE/validation metrics, sensitivity analysis, feature selection, SHAP/importances, policy/value optimization, PNS bounds | [sub-skills/analysis-and-decision/](sub-skills/analysis-and-decision/) |

Start at the most specific sub-skill. Return here only when routing across workflows or diagnosing cross-cutting install/import failures.

## Operating defaults

1. Prefer keyword arguments for estimator calls: `fit(X=X, treatment=treatment, y=y, ...)`. Positional argument order is migration-sensitive in current CausalML.
2. Keep `control_name` explicit whenever treatment labels are strings or multi-arm.
3. Treat propensity scores as probabilities strictly inside `(0, 1)`; clip extreme scores before X/R/DR/TMLE, validation, and matching workflows when appropriate.
4. For multi-treatment CATE arrays, use the learner's treatment-group metadata (`t_groups` or `_classes`) rather than guessing column order.
5. For metrics and policy workflows, separate model prediction columns from feature columns. Many metrics treat every non-reserved column as a model score.
6. Do not rely on old documentation references to `causalml.inference.nn`; current neural models route through `causalml.inference.tf`, `causalml.inference.torch`, or `causalml.inference.jax`.
7. CPU execution is sufficient for small correctness and wiring checks. Do not claim GPU/accelerator behavior unless the selected backend stack has been installed and verified separately.

## Cross-cutting references

- [references/troubleshooting.md](references/troubleshooting.md): install/import, optional dependency, Graphviz/OpenMP, argument-order, backend, and stale-API issues.
- [references/repo-provenance.md](references/repo-provenance.md): source commit, package version, evidence paths, selected coverage, and refresh triggers.
- [references/repo-routing-metadata.json](references/repo-routing-metadata.json): structured router scenario metadata for managed repo-skill import.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

causalml skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-causalml (last updated 2026-10-24)