Weight-Space Index (wsi)

    by Ulises Cardella

    1

    Read, search and surgically edit transformer weights (.safetensors) without training, and apply reversible .moipatch fixes.

    Free

    Security scanned

    Works with the AI Agents you already use

    Weight-Space Index (wsi)

    Example session with this skill installed

    Which neurons in my GPT-2 store "France -> Paris", and what does the top one do?

    • Read your context and instructions
    • Compiled the weight-space index wsi

    Ran wsi transduction models/gpt2 "ĠFrance" "ĠParis". The top neuron is layer 8, unit 430. wsi neuron --layer 8 --unit 430 reads its rule as [ère, Qué, France] -> [France, Hollande, ...]: it fires on French context and writes French concepts. This is a weight-space reading; an ablation test would confirm it causally.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Teach your agent to open a transformer checkpoint and read it like code. This skill drives Weight-Space Index (wsi), an open-source toolkit (Apache-2.0) that indexes what every neuron reads and writes in vocabulary terms, straight from the .safetensors weights, on CPU and without training.

    What your agent can do with it

    • Find facts in the weights: which neurons map "France" to "Paris", and the readable rule each one follows ([Eiffel, France] -> [Paris, Louvre]).
    • Explain neurons and circuits: what triggers a neuron, what it writes, and which earlier and later neurons connect to it.
    • Rewire a fact without training (for example "Tower -> Paris" becomes "Tower -> Rome") and write the change to a separate edit file.
    • Explain edits and fine-tunes: a semantic diff of what moved between two checkpoints.
    • Work across models: align circuits between architectures and transfer an edit from one model to another.
    • Use .moipatch files: small (tens of KB), reversible weight patches that carry their own router, gates and SHA-256 fingerprint of the base model. The repository ships an anti-sycophancy patch for Qwen3.5-4B (on MMLU pushback, the share of correct answers the model keeps rises from 15.0% to 40.1%) and a repetition-loop fix for Qwen3.5-0.8B.
    • Set up the wsi MCP server so other agents get the same tools.

    The skill also tells the agent to report readings honestly: weight-space findings are hypotheses until a forward pass confirms them, and the original checkpoint is never overwritten.

    Source and benchmarks: https://github.com/krexito/weight-space-index

    Weight-space readings are hypotheses about what a neuron does until a forward pass confirms them. Rewiring is tested mostly on GPT-2, Qwen3.5 and LFM3; other architectures may need checks. The shipped .moipatch files only attach to their exact base model (Qwen3.5-0.8B / 4B). Large models need enough RAM to read their weights.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 16 days ago

    • Free with an Agensi account

    Software
    Python 3.10+PyTorchsafetensorsA local .safetensors model
    Optional
    transformers (runtime capture, .moipatch)Hugging Face CLI (model download)

    Permissions

    Allowed Hosts

    github.com (install)
    huggingface.co (optional model download)

    File Scopes

    The
    model
    folder
    (read)
    New
    edit/output
    files
    the
    user
    names
    (write)

    Never overwrites the original checkpoint; edits are written to separate files.

    Listed16 days ago

    What's inside

    Frequently Asked Questions

    Read, search and surgically edit transformer weights (.safetensors) without training, and apply reversible .moipatch fixes.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Weight-Space Index (wsi) on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free