Judea Pearl logo

Judea Pearl

Organization
K-Dense-AI
judea-pearl

Applies Judea Pearl's causal reasoning frameworks to distinguish correlation from causation, evaluate AI capabilities, and make counterfactual decisions. Reach for this skill whenever Claude encounters questions about causal inference, structural causal models, the limitations of deep learning, AGI, experimental design, covariate selection, or personalized decision-making. Trigger this skill for topics involving Bayesian networks, the do-calculus, the Ladder of Causation, or when a user tries to answer 'what if' or 'why' questions using purely observational data. Pearl's principles are essential for moving beyond probability calculus into true causal understanding.

Overview

PublisherK-Dense-AI
Repositorymimeo
Skill namejudea-pearl
Stars
285
Forks
38
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by K-Dense-AI on GitHub. Read the source before you install it.

Installation

Install the Judea Pearl AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/K-Dense-AI/mimeo/tree/main/output/judea-pearl
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/mimeo.git /tmp/mimeo
mkdir -p .claude/skills
cp -r /tmp/mimeo/output/judea-pearl .claude/skills/judea-pearl
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Judea Pearl in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Judea Pearl on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Judea Pearl is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Thinking like Judea Pearl

Judea Pearl is a Turing Award-winning computer scientist and philosopher who revolutionized artificial intelligence and statistics by developing the mathematics of causal inference. His signature thinking style rejects the "Babylonian" approach of model-blind data fitting in favor of "Greek" science: building explicit, transparent causal models that explain the underlying mechanisms of reality. He insists that data alone is fundamentally dumb; it can only tell us about associations. To answer "what if" or "why" questions, we must step outside probability calculus and introduce causal assumptions.

Reach for this skill whenever you're evaluating AI capabilities, designing experiments, selecting covariates for statistical analysis, or making personalized decisions that require counterfactual reasoning.

Core principles

  • AI Requires Causal World Models: True intelligence cannot emerge from model-blind machine learning; it requires integrating causal models to predict interventions and imagine counterfactuals.
  • Insufficiency of Probability Calculus: Standard probability is symmetrical and cannot express directional causal facts; new mathematical operators like do(x) are required.
  • The Necessity of Untested Causal Assumptions: Every causal conclusion from observational data must rely on causal assumptions that cannot be tested by the data alone.
  • Missing Links Encode Assumptions: In causal path diagrams, the strong empirical claims are encoded in the missing links (claiming zero influence), not the present ones.

For detailed rationale and quotes, see references/principles.md.

How Judea Pearl reasons

Pearl always begins by drawing a line between the associational (what is observed) and the causal (what is done or imagined). He asks: "Where is the causal model?" He dismisses attempts to answer causal questions using purely statistical techniques like propensity score matching or deep learning without an explicit structural model. He views causal diagrams not just as pictures, but as rigorous inference engines that automatically compute the logical implications of our assumptions.

He relies heavily on The Demarcation Line to separate statistics from causality, and views Causal Models as Parsimonious Encodings of reality. For more on his cognitive tools, see references/mental-models.md.

Applying the frameworks

The Ladder of Causation

Use this to categorize the complexity of a user's question and determine if causal tools are required.

  1. Association (Observation): "What is?" (Handled by standard statistics/deep learning).
  2. Intervention (Action): "What if I do X?" (Requires causal models and the do(x) operator).
  3. Counterfactuals (Retrospection): "What if I had done X instead?" (Requires structural causal models).

The General Methodology for Causal Inference

Use this four-step procedure for tackling any causal problem.

  1. Define the causal problem and target quantities.
  2. Assume the causal relationships (via diagrams).
  3. Identify if the target can be computed from observed data given the assumptions.
  4. Estimate the identified quantity from the data.

The Back-door Criterion

Use this graphical rule to select a sufficient set of covariates for adjustment.

  1. Ensure no element in the adjustment set is a descendant of the treatment.
  2. Ensure the set blocks all "back-door" paths from treatment to outcome.

For the full catalog, including Do-calculus and Selection Diagrams, see references/frameworks.md.

Anti-patterns he pushes against

  • Answering Causal Questions with Data Alone: Attempting to derive causal conclusions without articulating causal assumptions.
  • Scaling LLMs to Achieve AGI: Believing that scaling model-blind architectures will yield true intelligence.
  • Blindly Applying Propensity Scores: Assuming propensity scores always reduce bias without mapping the causal structure (e.g., the M-graph).
  • Hiding Assumptions Under the Rug: Keeping assumptions implicit to avoid criticism, which hinders scientific progress.

For the full catalog with rationale and quotes, see references/anti-patterns.md.

Heuristics and rules of thumb

  • The Associational Test: If a concept can be defined entirely by a joint distribution, it is associational; if not, it is causal.
  • Missing Links Encode Assumptions: Look to the missing arrows in a graph to find the testable claims.
  • No Guesswork in Covariates: Never guess which variables to control for; map the causal relationships first.
  • Translate Intuition into Math: Formalize intuition into mathematics to amplify it.

See references/heuristics.md for the full list with attribution.

How to use this skill in conversation

When a user asks about the impact of an action, the cause of an event, or the capabilities of AI, channel Pearl's insistence on explicit causal models.

  • If they are trying to solve a causal problem with purely statistical tools (like deep learning or standard regression), point out the "Demarcation Line" and explain why probability calculus is insufficient.
  • If they are confused about which variables to control for, introduce the "Back-door Criterion" and ask them to define their causal graph.
  • Frame AI limitations using the "Ladder of Causation," explaining that LLMs operate at Level 1 (Association) while true reasoning requires Levels 2 and 3.
  • Avoid impersonation. Do not pretend to be Judea Pearl. Instead, say things like, "Judea Pearl's framework suggests..." or "Applying the rules of do-calculus here reveals..."

Generated with mimeo. If this material contributes to published work, please cite Kassis, T. (2026). "mimeo: Compiling Public Expert Corpora into Agent Skills and Testing What Transfers." arXiv:2609.00453.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Judea Pearl AI skill do?

Applies Judea Pearl's causal reasoning frameworks to distinguish correlation from causation, evaluate AI capabilities, and make counterfactual decisions. Reach for this skill whenever Claude encounters questions about causal inference, structural causal models, the limitations of deep learning, AGI, experimental design, covariate selection, or personalized decision-making. Trigger this skill for topics involving Bayesian networks, the do-calculus, the Ladder of Causation, or when a user tries to answer 'what if' or 'why' questions using purely observational data. Pearl's principles are esse...

Why use Judea Pearl on TypingMind?

Because you install it once and use it with any model. Judea Pearl is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Judea Pearl in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/K-Dense-AI/mimeo/tree/main/output/judea-pearl. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Judea Pearl?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Judea Pearl?

As many as you like. As long as a model supports skills, you can use Judea Pearl with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Judea Pearl AI skill free?

Yes. It is published on GitHub by K-Dense-AI under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇