Pyvene Interventions
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
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, andCollectIntervention - Provides 12 component targets, from
block_outputandmlp_activationto per-headhead_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 -yInstalls 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 GitHubDetails
- 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- Gptq1.1K
- Model Pruning1.1K
- Sentencepiece1.1K
- Evaluating Code Models1.1K
- Distributed Llm Pretraining Torchtitan1.1K
- Mamba Architecture1.1K
- Openrlhf Training1.1K
- Sparse Autoencoder Training1.1K
- Llamaindex1.1K
- Ml Training Recipes1.1K
- Outlines1.1K
- Simpo Training1.1K
- Slime Rl Training1.1K
- Training Llms Megatron1.1K
- Guidance1.1K
- Nnsight Remote Interpretability1.1K
- Rwkv Architecture1.1K
- Implementing Llms Litgpt1.1K
- Llamaguard1.1K
- Nemo Guardrails1.1K
- Llava1.1K
- Blip 2 Vision Language1.1K
- Miles Rl Training1.1K
- Nemo Evaluator Sdk1.1K
Similar to Pyvene Interventions
More AI Agents & LLM Appsnnsight-remote-interpretabilitySkillorchestra-research/ai-research-skills1.1K installsRemote-capable interpretability toolkit for tracing and patching PyTorch model internals, including 70B+ models via NDIF.
transformer-lens-interpretabilitySkillorchestra-research/ai-research-skills1.1K installsMechanistic interpretability toolkit for inspecting and patching transformer internals via HookPoints.
experiment-codeSkilllingzhi227/agent-research-skills1.7K installsIterative ML experiment code generator for research papers, covering generate, improve, debug, and plot actions.
torchlensPluginjohnmarktaylor91/torchlens713 starsTeaches coding agents the TorchLens call to reach for first: capture, steer, ablate, patch, compare and draw a PyTorch model's activations.
pennylaneSkillk-dense-ai/scientific-agent-skills2.1K installsHardware-agnostic PennyLane workflows for variational circuits, hybrid PyTorch or JAX models, and molecular VQE.
deep-learning-pytorchSkillmindrally/skills1.9K installsStructured guidance for PyTorch deep learning work across models, transformers, diffusion pipelines, and Gradio demos.