Claude Tools / Plugins / permafrost

Plugins · jianzhichun/permafrost

permafrost

Freeze Claude Code's prompt prefix so DeepSeek's automatic cache always hits. A passthrough proxy that stabilizes the exact request bytes CC emits — deterministic tool order, canonical JSON, volatile-content relocation — plus the env hardening that stops a custom endpoint from busting the cache.

CLEARED_STATICclaude-onlyv0.3.0

Pipeline results

Coverage

CLEARED_STATIC

Tests run

7 / 8

Portability

Claude-only

Type

Plugins

Tests & results

What the pipeline checked

TestStateResult or reason
eligibilityranall eligibility checks passed
dedupranunique -- no near-duplicate found
clocran3128 code lines / 33 files
secretsranno secret patterns matched
egressran10 lexical match(es) — FLAG-INFO (C-01: semantic analysis deferred to v2)
injectionranno patterns matched (confidence: STANDARD)
required-fieldsranrequired fields present: name, version, description
behaviouraldeferredbehavioural assessment deferred (v1): Python with non-stdlib imports (committed-only policy): [('tests/test_alignment.py', '__future__'), ('tests/test_alignment.py', 'permafrost_align')]

What's inside

Components found

commands/benchmark.md
componentmedium
commands/doctor.md
componentlow
commands/status.md
componentmedium
commands/wrap.md
componentmedium

Coverage

Not assessed

  • behavioural execution not run
  • egress patterns logged (FLAG-INFO): 10 lexical match(es)

README

From the repository

   ___  ___ ___ __  __  _   ___ ___  ___  ___ _____
  | _ \| __| _ \  \/  | /_\ | __| _ \/ _ \/ __|_   _|
  |  _/| _||   / |\/| |/ _ \| _||   / (_) \__ \ | |
  |_|  |___|_|_\_|  |_/_/ \_\_| |_|_\\___/|___/ |_|
        freeze the prefix · melt the bill


A Claude Code plugin that keeps DeepSeek's prompt cache hitting when Claude Code would otherwise bust it.

cache-stable passthrough proxy · deterministic tool order · env freeze+delta · cold-anchor coalescing · live hit-rate statusline · zero deps

---

Pointing Claude Code at DeepSeek's Anthropic-compatible endpoint is cheap, and a
**vanilla session already hits DeepSeek's cache ~90% on its own** — CC's system
prompt is shared across users, so it stays warm. The cache breaks when your
**tool list isn't stable**: MCP servers connect and reshuffle it, and because
tools render *first* in the cached prefix, any reorder busts everything from
byte 0. Permafrost sits between CC and DeepSeek and rewrites the cache-relevant
bytes so the `tools + system` anchor stays byte-identical turn after turn — then
streams the reply straight back.

```
  Claude Code ──Anthropic /v1/messages──▶ Permafrost ──▶ DeepSeek /anthropic
   (unchanged)        1

← Back to Plugins