From justokenmax
Preserves prompt-prefix stability to maximize KV cache hits, reducing cost and latency in long LLM sessions. Use when structuring system prompts, memory files, or tool definitions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/justokenmax:cache-alignThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Providers cache the KV state of a stable prompt *prefix*; a cache hit is far
Providers cache the KV state of a stable prompt prefix; a cache hit is far cheaper and faster than recomputing it. Any edit near the START of the context invalidates everything after it. This skill is the discipline that keeps the prefix stable so the cache keeps paying off.
If a long session is getting expensive, check for prefix churn first: a memory file being rewritten each turn, a timestamp in the system prompt, tool definitions being regenerated. Fixing prefix stability often saves more than any single compression.
npx claudepluginhub kalmantic/justokenmax --plugin justokenmaxImplements caching strategies for LLM prompts: Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation). Reduces LLM costs through strategic caching.
Provides caching strategies for LLM prompts including Anthropic prompt caching, response caching, and Cache Augmented Generation (CAG).
Optimizes context efficiency and cache stability for long or complex conversations. Identifies redundancies, cache risks, and generates compression rules and action checklists.