Heretic CLI
Automatically applies optimized directional ablation to supported transformer language models, then offers saving, Hugging Face upload, chat, and benchmark actions.
pyproject.tomlStandalone transformer model-modification and interpretability CLI. · Beta, based on the package classifier and development version 2.0.0.dev0.
AGPL-3.0-or-later Python 3.10+ GPU-oriented CLI and research package that automatically applies optimized directional ablation to transformer language models to suppress refusal behavior while minimizing measured KL divergence; it is standalone model-modification tooling, not a documented Claude Code extension.
Selection
Boundaries
Strengths
Risk profile
Heretic operates on large model artifacts and can write or upload modified checkpoints. Its explicit goal is to weaken refusal behavior, so generated models require strict access control, red-team evaluation, provenance tracking, and deployment review. No independent security audit, sandbox, signed-release policy, or model-supply-chain assessment was supplied.
Component inventory
Automatically applies optimized directional ablation to supported transformer language models, then offers saving, Hugging Face upload, chat, and benchmark actions.
pyproject.tomlEvaluates another model using Heretic's built-in refusal and KL-divergence functionality.
README.mdControls Heretic behavior through command-line options or the documented default TOML configuration.
config.default.tomlProjects per-layer harmful and harmless residual vectors into 2D, writes PNG plots, and generates an animated GIF.
README.mdPrints per-layer quantitative geometry metrics for harmful and harmless residual vectors and their directions.
README.mdTechnical profile
Classification
Evidence: pyproject.toml publishes a Python console entry point and library dependencies, while the README describes a self-contained GPU model-modification workflow. No Claude Code plugin, skill, hook, MCP surface, or host integration is documented. Inference: it can run alongside Claude Code only as ordinary external software.
Standalone · high setup effort · high confidence · automatedEvidence and risk
Routing context
No catalog relationships have been documented yet.