Skip to content

Declarative pyvene framework for causal tracing, activation patching, and interchange intervention training on PyTorch models.

CCM score
53 of 100
skills.sh installs
1.1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers causal tracing (ROME-style localization), activation patching for circuit analysis, and interchange intervention training (IIT) workflows
  • Includes intervention types VanillaIntervention, AdditionIntervention, SubtractionIntervention, ZeroIntervention, RotatedSpaceIntervention, and CollectIntervention
  • Provides 12 component targets, from block_output and mlp_activation to per-head head_attention_value_output, for picking intervention sites
  • Designed for researchers who need reproducible causal experiments on any PyTorch architecture, and points to TransformerLens, SAELens, or nnsight for other tasks

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill pyvene-interventions -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Declarative pyvene framework for causal tracing, activation patching, and interchange intervention training on PyTorch models. Covers causal tracing (ROME-style localization), activation patching for circuit analysis, and interchange intervention training (IIT) workflows. Includes intervention types VanillaIntervention, AdditionIntervention, SubtractionIntervention, ZeroIntervention, RotatedSpaceIntervention, and CollectIntervention. Provides 12 component targets, from block_output and mlp_activation to per-head head_attention_value_output, for picking intervention sites. Designed for researchers who need reproducible causal experiments on any PyTorch architecture, and points to TransformerLens, SAELens, or nnsight for other tasks.

Browse the repository on GitHub

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the pyvene-interventions skill do?

The pyvene-interventions skill gives an agent guidance for running causal interventions on PyTorch models with pyvene's declarative framework. It covers causal tracing, activation patching, and interchange intervention training for testing causal hypotheses about model behavior.

How do I install the pyvene-interventions skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill pyvene-interventions -y in your project to install it. Once installed, the agent can follow pyvene-interventions guidance for causal tracing and activation patching experiments.

What does pyvene-interventions need to run?

The pyvene-interventions skill expects pyvene, torch and transformers to be available, since its workflows load models and build IntervenableModel configurations with them. Install pyvene with pip install pyvene before running the patching examples.

When should I use pyvene-interventions instead of other tools?

Use pyvene-interventions when you need causal tracing in the ROME style, activation patching for circuit analysis, or interchange intervention training. The skill notes that TransformerLens suits exploratory activation analysis and nnsight suits lower-level control.

Where does pyvene-interventions stand in its category?

The pyvene-interventions skill sits in the AI Agents & LLM Apps category on Claude Marketplaces. Other skills there include microsoft-foundry, azure-ai and google-agents-cli-adk-code.

More from orchestra-research/ai-research-skills

All 92

Similar to Pyvene Interventions

More AI Agents & LLM Apps