Agent skill

Example Datasets

by pymc-labs in pymc-labs/CausalPy

Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes.

Apache-2.0Auto-check passedResearch & Science

Install Example Datasets

skills CLI
$ npx skills add pymc-labs/CausalPy --skill example-datasets -a claude-code

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

GitHub CLI
$ gh skill install pymc-labs/CausalPy example-datasets --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/pymc-labs/CausalPy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/causalpy/skills/example-datasets .claude/skills/example-datasets && 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
example-datasets
GitHub stars
1.2k
Token cost
~587 tokens
SKILL.md length
215 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes.

  • The user needs sample data
  • SKILL.md covers Usage, Available Datasets and Guidance
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Asks which demo datasets are available

What it does

Example Datasets is an agent skill from pymc-labs/CausalPy. Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes. Use when the user needs sample data or asks which demo datasets are available.

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Econometrics and empirical research. The repository describes itself as: A Python package for causal inference in quasi-experimental settings. The licence is Apache-2.0.

When your agent uses it

  • The user needs sample data
  • Asks which demo datasets are available

Example prompts

  • “/example-datasets”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit f17b30f. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    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

Example Datasets loads about 587 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~587

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from pymc-labs/CausalPy at commit f17b30f, republished under its Apache-2.0 licence (© pymc-labs). 215 words, ~587 tokens.

Download SKILL.mdSave it as .claude/skills/example-datasets/SKILL.md (or your agent's skills folder).
name
example-datasets
description
Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes. Use when the user needs sample data or asks which demo datasets are available.

Example Datasets

CausalPy ships with built-in datasets that can be loaded with cp.load_data(...).

Usage

python
import causalpy as cp

df = cp.load_data("did")

Available Datasets

KeyTypical useDescription
"did"Difference-in-differencesSynthetic DiD example data
"banks"Difference-in-differencesHistoric banking closures data
"its"Interrupted time seriesSeasonal synthetic ITS data
"its simple"Interrupted time seriesSimplified synthetic ITS data
"covid"Interrupted time seriesDeaths and temperature data for England and Wales
"sc"Synthetic controlSynthetic control example data
"brexit"Synthetic controlUK GDP data for Brexit causal impact
"california_prop99"Synthetic controlCalifornia Proposition 99 cigarette sales panel
"rd"Regression discontinuitySynthetic RD example data
"drinking"Regression discontinuityMinimum legal drinking age data
"geolift1"Geo experimentsSingle-treatment geo-lift data
"geolift_multi_cell"Geo experimentsMulti-cell geo-lift data
"anova1"PrePostNEGDPre/post nonequivalent groups example
"risk"Instrumental variablesAcemoglu, Johnson, and Robinson institutions data
"schoolReturns"Instrumental variablesSchooling returns data
"nhefs"Inverse propensity weightingNational Health and Nutrition Examination Survey data
"lalonde"Inverse propensity weightingLaLonde propensity-score data
"nets"Inverse propensity weightingNational Supported Work Demonstration data
"pisa18"General examplesPISA 2018 sample data
"nevo"General examplesBerry, Levinsohn, and Pakes cereal data
"zipcodes"Geo experimentsZipcode-level geo-experiment data

Guidance

  • Prefer these bundled datasets for examples and docs instead of fetching data at runtime.
  • For method selection, use choosing-causalpy-methods after identifying the data shape.
  • For fitting and plotting, use running-causalpy-experiments.

© pymc-labs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in causalpy/skills/example-datasets of pymc-labs/CausalPy.

Open the folder on GitHubat commit f17b30f

Compare with similar skills

Example Datasets 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.

Example Datasets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Example Datasets this skillpymc-labs/CausalPy1.2k—~587Automated safety check: PassApache-2.0
Stata Data Cleaningmeleantonio/awesome-econ-ai-stuff6422 repos~1.8kAutomated safety check: PassCustom licence
Causal Inferencebrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~2kAutomated safety check: PassMIT
Ols Regressionbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.2kAutomated safety check: PassCustom licence
Data Depositbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.2kAutomated safety check: NotesCustom licence
Econometrics Juliabrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Stata Data Cleaning

    meleantonio/awesome-econ-ai-stuff

    Clean and transform messy data in Stata with reproducible workflows

    642 GitHub starsUsed in 2 repos~1.8k tokens
    Research & ScienceAuto-check passed
  • Causal Inference

    brycewang-stanford/Auto-Empirical-Research-Skills

    Production-grade Bayesian causal inference with PyMC, CausalPy, and DoWhy.

    4.5k GitHub stars~2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Ols Regression

    brycewang-stanford/Auto-Empirical-Research-Skills

    Econometrics skill for OLS regression and linear models. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~1.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Data Deposit

    brycewang-stanford/Auto-Empirical-Research-Skills

    Prepare a replication package for the sewage-house-prices project.

    4.5k GitHub stars~1.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check: notes
  • Econometrics Julia

    brycewang-stanford/Auto-Empirical-Research-Skills

    Julia-based econometric and structural estimation for computationally intensive tasks.

    4.5k GitHub stars~1.4k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Stata Python Translation

    brycewang-stanford/Auto-Empirical-Research-Skills

    Stata-to-Python translation for data analysis. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~6.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from pymc-labs/CausalPy

All 12 skills in this repo
  • Review PR

    pymc-labs/CausalPy

    Review CausalPy pull requests end-to-end by classifying PR type, checking branch freshness, mergeability, remote CI, correctness, security, tests, docs, and maintainer concerns.

    1.2k GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Causal Detective

    pymc-labs/CausalPy

    Challenge causal claims through structured threat assessment, counterfactual reasoning, and CausalPy falsification checks.

    1.2k GitHub stars~809 tokensUpdated yesterday
    Auto-check passed
  • Running Placebo Analysis

    pymc-labs/CausalPy

    Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance.

    1.2k GitHub starsUsed in 1 repo~442 tokens
    Auto-check passed
  • Python Environment

    pymc-labs/CausalPy

    Detect, configure, and use the project's Python environment (uv by default, conda-compatible tool as a fallback).

    1.2k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Feature Exploration

    pymc-labs/CausalPy

    Explore unfamiliar APIs, libraries, or implementation behavior with minimal reproducible examples and documented findings.

    1.2k GitHub stars~442 tokensUpdated yesterday
    Auto-check passed
  • GitHub Issues

    pymc-labs/CausalPy

    Create, evaluate, and triage GitHub issues for CausalPy. An agent skill from pymc-labs/CausalPy.

    1.2k GitHub stars~254 tokensUpdated yesterday
    Auto-check passed

Questions about Example Datasets

What does Example Datasets do?

Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes. Example Datasets is an agent skill from pymc-labs/CausalPy. Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes.

When should I use Example Datasets?

Example Datasets fits situations like: the user needs sample data; asks which demo datasets are available.

How do I install Example Datasets in Claude Code?

Run `npx skills add pymc-labs/CausalPy --skill example-datasets -a claude-code`. Or copy the skill folder (causalpy/skills/example-datasets in pymc-labs/CausalPy) into .claude/skills/example-datasets in your project. Claude Code loads it when a task matches its description.

How do I install Example Datasets in Codex?

Run `npx skills add pymc-labs/CausalPy --skill example-datasets -a codex`. Or copy the skill folder (causalpy/skills/example-datasets in pymc-labs/CausalPy) into .agents/skills/example-datasets in your project. Codex loads it when a task matches its description.

Can I use Example Datasets 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 pymc-labs/CausalPy --skill example-datasets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/example-datasets, .gemini/skills/example-datasets, .github/skills/example-datasets and .opencode/skills/example-datasets in your project.

What does Example Datasets need to run?

SKILL.md names no scripts, command-line tools or credentials: Example Datasets is instructions for the agent only. Our summary lists: Python 3.

Does Example Datasets 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 Example Datasets 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. Review the folder before installing.

What licence does Example Datasets use?

Example Datasets is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Example Datasets use?

About 587 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Example Datasets?

Skills that share tags, products or a category with Example Datasets: Stata Data Cleaning (meleantonio/awesome-econ-ai-stuff, 642 stars), Causal Inference (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Ols Regression (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars) and Data Deposit (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Example Datasets?

pymc-labs (a GitHub organization) maintains it in pymc-labs/CausalPy, which has 1,200 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 6, 2026.

Source: pymc-labs/CausalPy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.