Ships in cache. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Show the current cache-control configuration. The config is loaded from these locations (in order of priority):
.claude/cache-control.yaml in the current working directory~/.claude/cache-control.yamlDefault thresholds (percentage of contextSize):
contextSize: 200000 — context window size in tokens (Sonnet/Opus: 200000, 1M variants: 1000000)warnTokens: "20%" — ask before proceedingblockTokens: "50%" — deny the operationwarnCumulativeTokens: "100%" — warn on all subsequent opsprotectClaudeMd: true — always ask before modifying CLAUDE.mdThresholds support both fixed token counts and percentages of contextSize:
# For Opus-1M with 1M context window
contextSize: 1000000
thresholds:
warnTokens: "20%" # = 200,000 tokens
blockTokens: "50%" # = 500,000 tokens
warnCumulativeTokens: "100%"
protectClaudeMd: true
tools:
Read:
warnTokens: "30%"
Write:
warnTokens: 20000 # fixed count also works
7-day visitors to each command page
3 commands in this plugin
npx claudepluginhub banyudu/claude-cache --plugin cacheOther plugins' commands for the same job