Skip to content
Agentmart
Submit a tool

causalnex

Use CausalNex to learn causal structures, fit Bayesian networks, discretize features, generate synthetic graph data, and run inference, evaluation, and…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying causalnex?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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-causalnex

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 CausalNex to learn causal structures, fit Bayesian networks, discretize features, generate synthetic graph data, and run inference, evaluation, and latent-variable workflows.

Use cases: data, 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/causalnex

What's inside

Skill name
causalnex
Description
Use CausalNex to learn causal structures, fit Bayesian networks, discretize features, generate synthetic graph data, and run inference, evaluation, and latent-variable workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
49 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (29)

  • SKILL.md
  • api-reference.md · references/
  • contribution-mirror.md · references/
  • installation.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • workflows.md · references/
  • check_install.py · scripts/
  • smoke_bayesian_network.py · scripts/
  • smoke_discretizer.py · scripts/
  • smoke_structure_learning.py · scripts/
  • smoke_synthetic_data.py · scripts/
  • SKILL.md · sub-skills/bayesian-networks/
  • api-reference.md · sub-skills/bayesian-networks/references/
  • troubleshooting.md · sub-skills/bayesian-networks/references/
  • workflows.md · sub-skills/bayesian-networks/references/
  • SKILL.md · sub-skills/discretization/
  • api-reference.md · sub-skills/discretization/references/
  • troubleshooting.md · sub-skills/discretization/references/
  • workflows.md · sub-skills/discretization/references/
  • SKILL.md · sub-skills/structure-learning/
  • api-reference.md · sub-skills/structure-learning/references/
  • troubleshooting.md · sub-skills/structure-learning/references/
  • workflows.md · sub-skills/structure-learning/references/
  • SKILL.md · sub-skills/synthetic-data/
  • api-reference.md · sub-skills/synthetic-data/references/
  • troubleshooting.md · sub-skills/synthetic-data/references/
  • workflows.md · sub-skills/synthetic-data/references/

SKILL.md (first lines)

# CausalNex

Use this skill when the task names CausalNex, NOTEARS, DYNOTEARS, `BayesianNetwork`, `InferenceEngine`, `Discretiser`, `DAGClassifier`, `DAGRegressor`, `BayesianNetworkClassifier`, causal DAG learning, or Bayesian-network workflows from this package.

## Route by task

- Structure learning from tabular or time-series data -> `sub-skills/structure-learning/SKILL.md`
- Bayesian-network fitting, inference, metrics, plots, and latent-variable EM -> `sub-skills/bayesian-networks/SKILL.md`
- Discretizing continuous features, including tree-based or MDLP splits -> `sub-skills/discretization/SKILL.md`
- Synthetic DAG/data generation, dynamic transforms, and categorical mapping -> `sub-skills/synthetic-data/SKILL.md`
- Contrib-area or contribution-layout questions -> `references/contribution-mirror.md`

## Fast start

1. Install the package with `pip install causalnex`.
2. If you need the optional discretizer extras, install `pip install "causalnex[all]"` or `pip install mdlp-discretization~=0.3.3`.
3. Run `scripts/check_install.py` to confirm the core imports and optional backend availability.
4. Read `references/installation.md` for supported Python and dependency notes.
5. Read `references/api-reference.md` when you need verified public constructors, signatures, and return-shape notes.
6. Read `references/workflows.md` for the shortest path into each workflow.
7. Read `references/contribution-mirror.md` only when the user asks about `causalnex.contrib` or contribution layout.
8. Read `references/troubleshooting.md` when imports, optional dependencies, or data-shape checks fail.
9. Read `references/repo-provenance.md` when you need to compare this skill with the current source revision.

## Shared scripts

- `scripts/check_install.py` verifies the public package imports, `torch` availability, and the optional MDLP dependency.
- `scripts/smoke_structure_learning.py` exercises `from_pandas`, `from_numpy`, `from_pandas_dynamic`, `DAGClassifier`, and `DAGRegressor` on tiny inputs.
- `scripts/smoke_bayesian_network.py` fits a tiny Bayesian network, queries marginals, evaluates metrics, and optionally exercises latent-variable EM.
- `scripts/smoke_discretizer.py` exercises the fixed, uniform, quantile, outlier, percentiles, tree, and MDLP discretizers.
- `scripts/smoke_synthetic_data.py` exercises the DAG/data generators, dynamic transforms, and categorical mapping helpers.

## References

- `references/installation.md`
- `references/api-reference.md`
- `references/workflows.md`
- `references/contribution-mirror.md`
- `references/troubleshooting.md`
- `references/repo-provenance.md`
- `references/repo-routing-metadata.json`

## Avoid

- Do not assume CUDA is required; `use_gpu=True` falls back to CPU when CUDA is unavailable.
- Do not assume `mdlp-discretization` is installed unless you asked for the optional discretizer path.
- Do not rely on the original repository checkout; this skill should stand on its bundled references and scripts.

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 (2 months 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

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get causalnex running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying causalnex?

CallGet help
Cite this page

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