Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions.

Custom licenceAuto-check passed

Install Choosing Causalpy Methods

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill choosing-causalpy-methods -a claude-code

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills choosing-causalpy-methods --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/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/51-pymc-labs-CausalPy/skills/choosing-causalpy-methods .claude/skills/choosing-causalpy-methods && 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
choosing-causalpy-methods
GitHub stars
4.5k
Token cost
~807 tokens
SKILL.md length
363 words
Files
2
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions.

  • Works in 5 steps: Restate the estimand: ATE, ATT, local… → Identify the data shape: single time… → Identify treatment assignment: known… → …
  • SKILL.md covers Intake Checklist, Fast Routing, Output Pattern and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Choosing Causalpy Methods is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Use before writing analysis code when the method is not yet settled.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/experiment_decision_guide.md`).

The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

Example prompts

  • “/choosing-causalpy-methods”

Workflow steps

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

  1. Restate the estimand: ATE, ATT, local threshold effect, treatment-on-treated over time, cumulative impact, or a policy/campaign lift.
  2. Identify the data shape: single time series, wide panel of units, long panel of unit-time rows, cross-section, or pre/post group data.
  3. Identify treatment assignment: known intervention time, staggered adoption, threshold/cutoff, kink, instrument, observed treatment with…
  4. Check the identifying story: parallel trends, no anticipation, no manipulation at cutoff, valid instrument, overlap/positivity, convex…
  5. Recommend one primary CausalPy experiment and any plausible alternatives, then explain the extra data or assumptions needed to choose…

What it can do on your machine

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

    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

Choosing Causalpy Methods loads about 807 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 363 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 363 words (~807 tokens).

“Use this skill to translate a user's causal question into a CausalPy experiment choice. This is the design-intake skill, not the implementation skill. Once the method is chosen, hand off to running-causalpy-experiments for constructor details, model configuration, priors, summaries, plots…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
choosing-causalpy-methods

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/51-pymc-labs-CausalPy/skills/choosing-causalpy-methods of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • reference/experiment_decision_guide.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Choosing Causalpy Methods 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.

Choosing Causalpy Methods compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Choosing Causalpy Methods this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~807Automated safety check: PassCustom licence
Choosing Causalpy Methodspymc-labs/CausalPy1.2k—~1.4kAutomated safety check: PassApache-2.0
Running Causalpy Experimentspymc-labs/CausalPy1.2k1 repos~1.3kAutomated safety check: PassApache-2.0
Finding ExperimentsPostHog/posthog40k—~826Automated safety check: PassCustom licence
ExperimentsArize-ai/phoenix12k—~1.8kAutomated safety check: PassCustom licence
Scroll Experiencesickn33/agentic-awesome-skills47k2 repos~534Automated safety check: PassMIT

Similar skills

  • Choosing Causalpy Methods

    pymc-labs/CausalPy

    Choose the appropriate CausalPy experiment class from a causal or impact question, data structure, treatment assignment, and identification assumptions.

    1.2k GitHub stars~1.4k tokensUpdated today
    Writing & ContentAuto-check passed
  • Fit, summarize, plot, and interpret a chosen CausalPy experiment.

    1.2k GitHub starsUsed in 1 repo~1.3k tokens
    Data & AnalyticsAuto-check passed
  • Finding Experiments

    PostHog/posthog

    Official

    Resolves a PostHog experiment reference from natural language to a concrete experiment ID by browsing experiment-list (not feature-flag tools), with disambiguation when multiple experiments match.

    40k GitHub stars~826 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Experiments

    Arize-ai/phoenix

    Run, read, and compare dataset-backed experiments to find evidence that a prompt or pipeline is improving.

    12k GitHub stars~1.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Scroll Experience

    sickn33/agentic-awesome-skills

    Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences.

    47k GitHub starsUsed in 2 repos~534 tokens
    Writing & ContentAuto-check passed
  • Webgl Experience

    nexu-io/open-design

    A full-screen, real-time WebGL/WebGL2 experience — animated shaders, 3D scenes, generative visuals, particle fields — rendered live on the GPU with a typographic overlay.

    100k GitHub stars~903 tokensUpdated today
    Game DevelopmentAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.5k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.5k GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 4 days ago
    Auto-check passed

Questions about Choosing Causalpy Methods

What does Choosing Causalpy Methods do?

Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Choosing Causalpy Methods is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions.

How do I install Choosing Causalpy Methods in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill choosing-causalpy-methods -a claude-code`. Or copy the skill folder (skills/51-pymc-labs-CausalPy/skills/choosing-causalpy-methods in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/choosing-causalpy-methods in your project. Claude Code loads it when a task matches its description.

How do I install Choosing Causalpy Methods in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill choosing-causalpy-methods -a codex`. Or copy the skill folder (skills/51-pymc-labs-CausalPy/skills/choosing-causalpy-methods in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/choosing-causalpy-methods in your project. Codex loads it when a task matches its description.

Can I use Choosing Causalpy Methods 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 brycewang-stanford/Auto-Empirical-Research-Skills --skill choosing-causalpy-methods -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/choosing-causalpy-methods, .gemini/skills/choosing-causalpy-methods, .github/skills/choosing-causalpy-methods and .opencode/skills/choosing-causalpy-methods in your project.

What does Choosing Causalpy Methods need to run?

SKILL.md names no scripts, command-line tools or credentials: Choosing Causalpy Methods is instructions for the agent only.

Does Choosing Causalpy Methods 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 Choosing Causalpy Methods 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 Choosing Causalpy Methods use?

Choosing Causalpy Methods has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Choosing Causalpy Methods use?

About 807 tokens (SKILL.md is roughly 3.2k 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 Choosing Causalpy Methods?

Skills that share tags, products or a category with Choosing Causalpy Methods: Choosing Causalpy Methods (pymc-labs/CausalPy, 1.2k stars), Running Causalpy Experiments (pymc-labs/CausalPy, 1.2k stars), Finding Experiments (PostHog/posthog, 40k stars) and Experiments (Arize-ai/phoenix, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Choosing Causalpy Methods?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.