What problem does it solve? Testing causal hypotheses about neural network behavior requires complex activation patching and intervention code that is hard to reproduce and share. This Skill provides structured guidance for running causal tracing, activation patching, and trainable interchange interventions with pyvene's declarative configuration system. ## Core Features & Use Cases - Causal Tracing: Run ROME-style localization sweeps over layers and token positions to find where factual associations are stored. - Activation Patching & Circuit Analysis: Swap activations between clean and corrupted runs to identify which components drive behaviors like indirect object identification. - Trainable Interventions (DAS/IIT): Learn low-rank rotation subspaces that reveal interpretable causal directions, and share interventions via HuggingFace. - Use Case: A researcher wants to know which layers of GPT-2 encode the answer in an IOI task. They configure a VanillaIntervention per layer, patch attention outputs from a clean run into a corrupted run, and measure logit differences to localize the circuit. ## Quick Start Ask the AI to help you write a pyvene activation patching experiment that swaps layer 8 block outputs between two prompts and compares the resulting token probabilities.