causalab
Test how language models reason with causal interventions
All Skills in This Repository (11)
Pure Emerald Level Indicatorssetup-task
Generate causalab task packages from markdown specifications with validation.
development-session
Establish development-mode context for codebase work using uv-managed environments.
plan-experiment
Create structured experiment plans with analysis DAGs and pre-flight gates.
document-issues
Append structured markdown entries to a session issues.md log.
setup-analyses
Scaffold session-local analysis code and Hydra configs from spec markdown files.
replicate-paper
Extract methodology and experiment lists from research papers to plan and run replication pipelines.
getting-started
Guide new users through Causalab codebase setup and task workflows.
research-session
Create a session directory with plan, run, and result scaffolding for research workflows.
run-experiment
Execute causal abstraction experiment plans into validated task scaffolding and runner YAML pipelines.
interpret-experiment
Generate evidence-grounded experiment reports from causalab session artifacts.
setup-methods
Scaffold session-local interpretability method stubs from set_up_method specifications.
Frequently Asked Questions
FAQPage SchemaHow to install causalab?▼
Run `npx skills add goodfire-ai/causalab --all -g -y` in your terminal to install all skills in this suite globally.
What is causal abstraction in interpretability?▼
It is a method where you write a high-level causal model of how a language model solves a task, then run interventions to test whether the model's internals actually implement that algorithm.
How do I run an intervention experiment?▼
Use the CLI with a protocol document, for example `uv run causalab run causalab/configs/protocols/interchange.json --data-root <data> --device cuda`.
Do I need a GPU to use causalab?▼
Only for running real model experiments. The onboarding demos and CPU test tiers work without any accelerator.
What experiments ship with causalab?▼
It includes ready-made protocols for activation harvesting, interchange interventions, path patching, DAS, DBM, and mean ablation, all runnable as JSON documents.
Related Repositories in Education & Research
View All in Education & Research→learn-claude-code
Learn to build AI agent harnesses from scratch
ai-agents-for-beginners
Learn to build, deploy, and secure AI agents step by step
33-js-concepts
Master 33 essential JavaScript concepts with tested, verified guides