Agent skill · AI & Agents

nnsight-remote-interpretability

Provides guidance for interpreting and manipulating neural network internals using nnsight with optional NDIF remote execution. Use when needing to run interpretability experiments on massive models (70B+) without local GPU resources, or when working with any PyTorch architecture.

Orchestra-Researchgithub.com/Orchestra-ResearchGitHub ↗
claude-codecodexMIT
Install
npx skills add Orchestra-Research/AI-Research-SKILLs --skill nnsight --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 13 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Orchestra Research
Requires: [nnsight>=0.5.0, torch>=2.0.0]
Path: 04-mechanistic-interpretability/nnsight/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 11,391
Language: TeX
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# nnsight: Transparent Access to Neural Network Internals nnsight (/ɛn.saɪt/) enables researchers to interpret and manipulate the internals of any PyTorch model, with the unique capability of running the same code locally on small models or remotely on massive models (70B+) via NDIF. **GitHub**: [ndif-team/nnsight](https://github.com/ndif-team/nnsight) (730+ stars) **Paper**: [NNsight and NDIF: Democratizing Access to Foundation Model Internals](https://arxiv.org/abs/2407.14561) (ICLR 2025) ## Key Value Proposition **Write once, run anywhere**: The same interpretability code works on GPT-2 locally or Llama-3.1-405B remotely. Just toggle `remote=True`. ```python # Local execution (small model) with model.trace("Hello world"): hidden = model.transformer.h[5].output[0].save() # Remote execution (massive model) - same code! with model.trace("Hello world", remote=True): hidden = model.model.layers[40].output[0].save() ``` ## When to Use nnsight **Use nnsight when you need to:** - Run interpretability experiments on models too large for local GPUs (70B, 405B) - Work with any PyTorch architecture (transformers, Mamba, custom models) - Perform multi-token generation interventions - Share a

What's inside
Steps it walks through
  1. Key Value Proposition
  2. When to Use nnsight
  3. Installation
  4. Core Concepts
  5. LanguageModel Wrapper
  6. Tracing Context
  7. Proxy Objects
  8. Workflow 1: Activation Analysis
  9. Step-by-Step
  10. Checklist
  11. Workflow 2: Activation Patching
  12. Systematic Patching Sweep
  13. Workflow 3: Remote Execution with NDIF
  14. NDIF Setup
Ships with 3 files
  • references/README.md
  • references/api.md
  • references/tutorials.md
Commands it runs
Basic installation
pip install nnsight
For vLLM support
pip install "nnsight[vllm]"
More from AI-Research-SKILLs
All skills →
About this skill
What does the nnsight-remote-interpretability skill do?

Provides guidance for interpreting and manipulating neural network internals using nnsight with optional NDIF remote execution. Use when needing to run interpretability experiments on massive models (70B+) without local GPU resources, or when working with any PyTorch architecture.

How do I install it?

Run `npx skills add Orchestra-Research/AI-Research-SKILLs --skill nnsight --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From Orchestra-Research/AI-Research-SKILLs, a repository with 11,391 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going