Home / Claude Code mods / Cost & usage / context-cache

context-cache

context-cache is a Claude Code mod by Lunik that bottom-grid row: context fill and prompt cache (hit rate, countdown from the TTL the API reports). Toasts when context is full or the cache expired.

Updated 2026-10-04

What is context-cache?

context-cache is a Claude Code mod by Lunik that bottom-grid row: context fill and prompt cache (hit rate, countdown from the TTL the API reports). Toasts when context is full or the cache expired. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
AuthorLunik
RepositoryLunik/gmz-claude-marketplace
Popularity1 GitHub stars
CategoryCost & usage
SecurityLow risk (92/100)
Rank#1,946 of 5,272 Claude Code mods; #337 in Cost & usage
Last commit2026-10-04
Hooks4 events
Seesonly the events it hooks
Draws onSessionMode

Is context-cache safe to install?

context-cache scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.session.usage
$.ui.invalidatedraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install context-cache?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Lunik/gmz-claude-marketplace
    claude plugin validate ./gmz-claude-marketplace/context-cache
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Lunik/gmz-claude-marketplace && claude plugin install context-cache@gmz-claude-marketplace

Or ask Claude to set it up

Paste this into Claude Code and it installs context-cache for you:

Install the "context-cache" Claude Code mod from https://github.com/Lunik/gmz-claude-marketplace/tree/master/context-cache. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Lunik/gmz-claude-marketplace

This repository has 6 Claude Code mods on MCPMods.

  • clawd-gotchi: Bottom-left retro RPG companion: a pet fed by cache hits and commits, failing test suites as bosses. (Low risk)
  • llm-speed: Band showing avg time to first token and output tokens/s (Low risk)
  • model-band: Band above the prompt: current model and reasoning effort. (Low risk)
  • rtk-quota: Band showing rtk gain: tokens saved and quota preserved (Low risk)
  • usage-tracker: Bottom-grid row: plan and session/week usage. Toasts when limits near. (Low risk)