Alexander-Aghili

OpenWiSH — Security skill for Claude Code

Security community

Open Weight-Space Harness for weight-space programming.

How to install OpenWiSH

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Alexander-Aghili/OpenWiSH and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What OpenWiSH does

Open Weight-Space Harness for weight-space programming. AI agents inspect and edit neural-network weights with sandboxed Python, budgeted probes, a Rust edit gate, checkpoints, and an audit trail.

Alternatives in Security

README

OpenWiSH - Open Weight-Space Harness

**Open Weight-Space Harness for Weight-Space programming.**

An agent reads and writes neural-network weights directly. OpenWiSH gives the agent a sandbox, budgeted probes, one edit gate and an audit trail. The goal: a shared instrument for mechanistic interpretability research and for decoding networks into programs.

[![CI](https://github.com/Alexander-Aghili/OpenWiSH/actions/workflows/ci.yml/badge.svg)](https://github.com/Alexander-Aghili/OpenWiSH/actions/workflows/ci.yml) [![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](#license) [![Rust edition 2021](https://img.shields.io/badge/rust-edition%202021-orange.svg)](Cargo.toml)

Five MinAtar games playing side by side: Freeway, Space Invaders, Breakout, Seaquest and Asterix. Claude Opus 5.5 wrote every weight of each policy network from zero, in one reply, with no training.

The OpenWiSH run loop on tasks/toy with a scripted agent. The agent replies with one python block. The run loop sends the block to the sandboxed kernel. save_edit goes to the edit gate, which checks the task policy, appends to the ledger and rewrites the current weights. The run loop logs the run and counts the budget, and the output and the budget line go back to the agent.

Plug in any agent: `claude -p`, `codex exec`, the Anthropic Messages API, or a scripted replay. The agent inspects weights as arrays or as text, calls the forward probes the environment declares, and changes weights through one Rust gate. Every change lands in an append-only ledger with before and after hashes.

The one rule: agents compute edits, they do not optimise. Code is fine, for example subtracting a direction the agent found. Gradients, optimisers, fitting weights to data, search, and running the network outside the dec