Skip to content
Development
Command

/benchmark

Run the Permafrost cache benchmark (offline emulator, no API key)

From plugin
permafrost
244 skills4 commands1 hook
> /plugin marketplace add jianzhichun/permafrost
> /plugin install permafrost@permafrost

Command definition

benchmark.md
description: Run the Permafrost cache benchmark (offline emulator, no API key)
argument-hint: "[turns]"
allowed-tools: Bash(python3:*)

Run the offline DeepSeek cache benchmark and report the result.

!`python3 "${CLAUDE_PLUGIN_ROOT}/benchmarks/bench.py" --turns ${ARGUMENTS:-12}`

Present the table to the user and call out the headline: in the realistic "both" scenario, how the hit rate and cost change between `off` and `aggressive` mode, and how many anchor resets each mode incurs. Note that this uses a faithful emulator of DeepSeek's prefix cache — to measure the live API instead, add `--real` with a `DEEPSEEK_API_KEY` set.

@jianzhichun
Ships withpermafrost

Freeze Claude Code's prompt prefix so DeepSeek's automatic cache always hits — alignment proxy + coalescing + keepalive, installable as a CC plugin. Measured 64% cheaper on real Claude Code traffic.

Stars on GitHub

Momentum

stars in total
24
Star history of jianzhichun/permafrost on GitHub, a chart by star-history.com

Other commands on permafrost.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command