
Pyvene Interventions
This brings Stanford NLP's pyvene library to Claude, letting you run causal interventions on PyTorch models without writing boilerplate. If you're doing activation patching, causal tracing (ROME-style), or interchange intervention training, this handles the setup through a dict-based config system. The main win is reproducibility: experiments become shareable artifacts you can push to HuggingFace instead of scattered notebooks. It works with any PyTorch architecture, not just transformers, which matters if you're testing causal hypotheses beyond language models. The library has 840+ stars and a NAACL 2024 paper backing it, so the abstractions are research-tested rather than someone's weekend project.
- skills.sh installs
- 287
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill pyvene-interventions --agent claude-codeInstalls into .claude/skills of the current project.
Files
This brings Stanford NLP's pyvene library to Claude, letting you run causal interventions on PyTorch models without writing boilerplate. If you're doing activation patching, causal tracing (ROME-style), or interchange intervention training, this handles the setup through a dict-based config system. The main win is reproducibility: experiments become shareable artifacts you can push to HuggingFace instead of scattered notebooks. It works with any PyTorch architecture, not just transformers, which matters if you're testing causal hypotheses beyond language models. The library has 840+ stars and a NAACL 2024 paper backing it, so the abstractions are research-tested rather than someone's weekend project.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Testing & QA, Data Science & ML
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Paywall Upgrade Cro286
- Viral Generator Builder285
- Loki Mode284
- Meeting Insights Analyzer284
- Railway Docs284
- Railway New284
- Onboarding Cro283
- Bioservices282
- Command Creator282
- Hqq Quantization282
- Railway Environment282
- Railway Projects282
- Railway Service282
- Anndata281
- Cocoindex281
- Pdb Database281
- Finishing A Development Branch280
- Railway Templates280
- Skill Share280
- Cc Skill Continuous Learning279
- Dependency Updater279
- Gptq279
- Chembl Database278
- Deepchem278