Agent skill

Causal Inference

by sundial-org in sundial-org/awesome-openclaw-skills

Add causal reasoning to agent actions. An agent skill from sundial-org/awesome-openclaw-skills.

No licenceAuto-check passedDevelopment

Install Causal Inference

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill causal-inference -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills causal-inference --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/causal-inference .claude/skills/causal-inference && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
causal-inference
GitHub stars
663
Token cost
~1.9k tokens
SKILL.md length
357 words
Files
8 (incl. scripts, references)
Skills in repo
383
Repo updated
First seen
Licence
None found

At a glance

Add causal reasoning to agent actions. An agent skill from sundial-org/awesome-openclaw-skills.

  • Works in 5 steps: Identify intervention variable(s) → Query causal model for expected outcome… → Compute expected utility + uncertainty… → …
  • ANY high-level action with observable outcomes - emails
  • SKILL.md covers Core Invariant, When to Trigger, Backfill: Bootstrap from… and Architecture, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Causal Inference is an agent skill from sundial-org/awesome-openclaw-skills. Add causal reasoning to agent actions. Trigger on ANY high-level action with observable outcomes - emails, messages, calendar changes, file operations, API calls, notifications, reminders, purchases, deployments. Use for planning interventions, debugging failures, predicting outcomes, backfilling historical data for analysis, or answering "what happens if I do X?" Also trigger when reviewing past actions to understand what worked/failed and why.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/do-calculus.md`, `references/estimation.md` and `scripts/backfill_calendar.py`).

It sits in Development, covering Econometrics and empirical research, Deployment and Debugging. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • ANY high-level action with observable outcomes - emails
  • Calendar changes
  • File operations
  • Planning interventions

Example prompts

  • “what happens if I do X?”
  • “/causal-inference”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify intervention variable(s)
  2. Query causal model for expected outcome distribution
  3. Compute expected utility + uncertainty bounds
  4. If uncertainty > threshold OR expected harm > threshold → refuse or escalate to user
  5. Log prediction for later validation

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Causal Inference loads about 1.9k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 117 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~117
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 357 words (~1,941 tokens).

“A lightweight causal layer for predicting action outcomes, not by pattern-matching correlations, but by modeling interventions and counterfactuals.”

— opening of SKILL.md by sundial-org
name
causal-inference

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts, references) in skills/causal-inference of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • references/do-calculus.md
  • references/estimation.md
  • scripts/backfill_calendar.py
  • scripts/backfill_email.py
  • scripts/backfill_messages.py
  • scripts/estimate_effect.py
  • scripts/log_action.py

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Causal Inference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Causal Inference compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Causal Inference this skillsundial-org/awesome-openclaw-skills663—~1.9kAutomated safety check: PassNone
Aspiremicrosoft/aspire.dev1964 repos~1.1kAutomated safety check: PassMIT
Intrinsic Core Debuggingintrinsic-ai/intrinsic-core557—~3.8kAutomated safety check: NotesApache-2.0
Build Deploy TroubleshootParesh-Maheshwari/morphe-ai177—~1.1kAutomated safety check: PassGPL-3.0
Medusa Cloud Local Buildmedusajs/medusa-agent-skills228—~1kAutomated safety check: NotesNone
Frappe Agent ValidatorImpertio-Studio/Frappe_Claude_Skill_Package188—~2.8kAutomated safety check: PassMIT

Similar skills

  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    196 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Intrinsic Core Debugging

    intrinsic-ai/intrinsic-core

    Meta-level debugging workflows, architectural layer isolation, and progressive disclosure routing across Envoy ingress, Kubernetes pods, Behavior Trees, ObjectWorld synchronization, ICON real-time…

    557 GitHub stars~3.8k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Build Deploy Troubleshoot

    Paresh-Maheshwari/morphe-ai

    Build, test, deploy, and troubleshoot Morphe patches — gradle commands, CLI usage, git workflow, common errors and fixes.

    177 GitHub stars~1.1k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Medusa Cloud Local Build

    medusajs/medusa-agent-skills

    Reproduces a Medusa Cloud build on your machine with mcloud local build, to debug build-failed deployments without pushing or waiting on Cloud.

    228 GitHub stars~1k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes
  • Frappe Agent Validator

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when reviewing or validating Frappe/ERPNext code against best practices and common pitfalls.

    188 GitHub stars~2.8k tokensUpdated 22 days ago
    DevelopmentAuto-check passed
  • Autonomous Builder

    foryourhealth111-pixel/Vibe-Skills

    Full-stack software development agent for design, implementation, testing, and deployment.

    3.6k GitHub stars~9.9k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Questions about Causal Inference

What does Causal Inference do?

Add causal reasoning to agent actions. An agent skill from sundial-org/awesome-openclaw-skills. Causal Inference is an agent skill from sundial-org/awesome-openclaw-skills. Add causal reasoning to agent actions.

When should I use Causal Inference?

Causal Inference fits situations like: ANY high-level action with observable outcomes - emails; calendar changes; file operations; planning interventions.

How do I install Causal Inference in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill causal-inference -a claude-code`. Or copy the skill folder (skills/causal-inference in sundial-org/awesome-openclaw-skills) into .claude/skills/causal-inference in your project. Claude Code loads it when a task matches its description.

How do I install Causal Inference in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill causal-inference -a codex`. Or copy the skill folder (skills/causal-inference in sundial-org/awesome-openclaw-skills) into .agents/skills/causal-inference in your project. Codex loads it when a task matches its description.

Can I use Causal Inference in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill causal-inference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/causal-inference, .gemini/skills/causal-inference, .github/skills/causal-inference and .opencode/skills/causal-inference in your project.

What does Causal Inference need to run?

Going by SKILL.md and its folder, Causal Inference needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Causal Inference access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Causal Inference safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Causal Inference use?

No licence was found for Causal Inference or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Causal Inference use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Causal Inference?

Skills that share tags, products or a category with Causal Inference: Aspire (microsoft/aspire.dev, 196 stars), Intrinsic Core Debugging (intrinsic-ai/intrinsic-core, 557 stars), Build Deploy Troubleshoot (Paresh-Maheshwari/morphe-ai, 177 stars) and Medusa Cloud Local Build (medusajs/medusa-agent-skills, 228 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Causal Inference?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.