New advertisers: 50% off your first month with code FIRSTMONTHSee slots
reason-machines avatar

Obliteratus Abliteration

Toolkit for removing refusal behaviors from LLMs via SVD-based abliteration, with CLI, Python API, and Gradio UI.

skills.sh installs
815
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers the full obliteration pipeline: probing, refusal-direction extraction via SVD, weight projection, verification, and saving
  • Includes CLI commands (obliterate, sweep, analyze, benchmark, ui) plus Python classes for step-by-step runs and analysis modules
  • Offers basic, advanced, informed, and reversible lora methods, plus a strength sweep to measure the capability-compliance tradeoff
  • Designed for researchers studying mechanistic interpretability who need Hugging Face model access and a CUDA-capable GPU

Install

$ npx -y skills add reason-machines/trending-skills --skill obliteratus-abliteration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OBLITERATUS — LLM Abliteration Toolkit

Skill by ara.so — Daily 2026 Skills collection.

OBLITERATUS is an open-source toolkit for identifying and surgically removing refusal behaviors from large language models using mechanistic interpretability techniques (abliteration). It locates refusal directions in a model's hidden states via SVD/PCA, projects them out of the weights, and preserves core language capabilities. Ships with a Gradio UI, CLI, Python API, and Colab notebook.


Installation

# Core install
pip install obliteratus

# With Gradio UI support
pip install "obliteratus[spaces]"

# With all optional analysis modules
pip install "obliteratus[full]"

# From source (latest)
git clone https://github.com/elder-plinius/OBLITERATUS
cd OBLITERATUS
pip install -e ".[full]"

Requirements:

  • Python 3.10+
  • PyTorch 2.1+ with CUDA (recommended) or CPU
  • transformers, accelerate, gradio>=5.29.0
  • HuggingFace account + token for gated models
export HF_TOKEN=your_hf_token_here
huggingface-cli login

CLI — Key Commands

Details

Repository
github.com/reason-machines/trending-skills
Categories
AI Agents & LLM Apps, Research & Academic
First seen
May 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Obliteratus Abliteration

More AI Agents & LLM Apps