pyvene-interventions

by Orchestra-Research 12k MIT Updated Jun 16, 2026
pyvene-interventions skill by Orchestra-Research
pyvene-interventions — Testing skill by Orchestra-Research

pyvene-interventions is an open-source testing skill for Claude Code and compatible agents, published by Orchestra-Research. Its author describes it as: “Provides guidance for performing causal interventions on PyTorch models using pyvene's declarative intervention framework. Use when conducting causal tracing, activation patching, interchange intervention training, or…”. The project has 12k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add Orchestra-Research/AI-Research-SKILLs`.

What pyvene-interventions does

pyvene is Stanford NLP's library for performing causal interventions on PyTorch models. It provides a declarative, dict-based framework for activation patching, causal tracing, and interchange intervention training - making intervention experiments reproducible and shareable.

Installation

Add pyvene-interventions to your agent with:

/plugin marketplace add Orchestra-Research/AI-Research-SKILLs

Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.

What's inside

The SKILL.md for pyvene-interventions is organised into these sections:

  • When to Use pyvene
  • Installation
  • Core Concepts
  • IntervenableModel
  • Intervention Types
  • Component Targets
  • Workflow 1: Causal Tracing (ROME-style)
  • Step-by-Step
  • Checklist
  • Workflow 2: Activation Patching for Circuit Analysis
  • Workflow 3: Interchange Intervention Training (IIT)
  • DAS (Distributed Alignment Search)

When to use it

Reach for pyvene-interventions when you want testing help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.

Strengths

  • Clear MIT license — safe to read and adapt
  • Ships in Orchestra-Research/AI-Research-SKILLs, an established project with 11,807 GitHub stars
  • Actively maintained (recent commits)

Topics

causal interventionpyveneactivation patchingcausal tracinginterpretabilityaiai-researchclaudeclaude-codeclaude-skillscodexgeminigpt-5grpohuggingfacemachine-leanringmegatronskillsvllm

Frequently asked questions

What does pyvene-interventions do?
Provides guidance for performing causal interventions on PyTorch models using pyvene's declarative intervention framework. Use when conducting causal tracing, activation patching, interchange intervention training, or testing causal hypotheses about model behavior.
How do I install pyvene-interventions?
Run /plugin marketplace add Orchestra-Research/AI-Research-SKILLs in your agent, then reload your skills. Review the source at https://github.com/Orchestra-Research/AI-Research-SKILLs before installing.
Is pyvene-interventions free to use?
Yes. pyvene-interventions is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
Where does pyvene-interventions come from?
pyvene-interventions ships inside Orchestra-Research/AI-Research-SKILLs, a repository that contains 41 catalogued skills in total. The repository's 11,807 GitHub stars apply to that whole collection, not to this skill on its own.

Related skills

More Testing →

QA opencode itself, per case: verify the CLI/terminal (opencode run, db, serve, export), prove a specific plugin hook/action/event fired via the SSE event stream, smoke-test the TUI under tmux, and investigate sessions in opencode's SQLite DB by id, title/name, or message text. Ships tested helper scripts (each with a --self-test) plus per-domain references. Use whenever someone wants to QA, smoke-test, verify, or debug opencode's CLI, HTTP server, plugin hooks/events, or TUI, or to find/inspect opencode sessions in the database. Triggers: opencode qa, qa opencode, test opencode, verify opencode hook, opencode session db, find opencode session by id/name/text, opencode tui test, opencode server health, opencode event stream.

68k code-yeongyu Other

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

39k wshobson MIT

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

39k wshobson MIT

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

39k wshobson MIT

Designs chaos experiments, creates failure injection frameworks, and facilitates game day exercises for distributed systems — producing runbooks, experiment manifests, rollback procedures, and post-mortem templates. Use when designing chaos experiments, implementing failure injection frameworks, or conducting game day exercises. Invoke for chaos experiments, resilience testing, blast radius control, game days, antifragile systems, fault injection, Chaos Monkey, Litmus Chaos.

11k Jeffallan MIT