Abliteration HandbookField guide
Tools & environments

Context7 integration

Context7 injects up-to-date library docs into agent context via MCP.

1 min read 4 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/4 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Context7 injects up-to-date library docs into agent context via MCP.

Setup (Cursor / Windsurf / compatible IDE)#

Add to your MCP config (example):

json
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    }
  }
}

Restart the IDE after saving.

Libraries to query for this repo#

LibraryContext7 search termUse for
Hereticheretic-llm or GitHub p-e-w/hereticCLI flags, config.default.toml, install
llm-abliterationjim-plus/llm-abliterationsharded_ablate.py, YAML layer configs (v1.2 handbook path; not the frozen Nous fork)
PEFT / LoRAhuggingface/peftAdapter load, merge, 4-bit inference
TransformerLenstransformer_lensHook names, HookedTransformer
OptunaoptunaHeretic's TPE optimizer internals
PyTorchpytorchtorch_dtype, quantization
llama.cppllama.cppGGUF conversion after abliteration

Typical agent workflow#

Example
1. resolve-library-id("heretic automatic abliteration")
2. query-docs(libraryId, "installation pip install heretic-llm==1.4.0 CLI options")
3. query-docs(libraryId, "quantization bnb_4bit config.default.toml")

When Context7 is unavailable#

Run the headless fetcher instead:

bash
node scripts/fetch-docs.mjs

Or pull READMEs directly:

bash
curl -L https://raw.githubusercontent.com/p-e-w/heretic/v1.4.0/README.md
curl -L https://raw.githubusercontent.com/p-e-w/heretic/v1.4.0/config.default.toml

Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

docs/context7.md
Inspect the source fingerprintSHA-256 f4da3660df2790a8c7e7a5bd1b68dd56ae445060e62d3dc7b31daf67a27936f4Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263