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

context-cache

context-cache is a Claude Code mod by Christandoh that a panel above the prompt showing context usage, usage limits (session, weekly, Fable) and prompt-cache temperature, with Clear, Compact and Warm buttons, what each message costs,.

Updated 2026-10-17

What is context-cache?

context-cache is a Claude Code mod by Christandoh that a panel above the prompt showing context usage, usage limits (session, weekly, Fable) and prompt-cache temperature, with Clear, Compact and Warm buttons, what each message costs,. It is listed under Cost & usage and has 2 GitHub stars.

TypeClaude code mod
AuthorChristandoh
RepositoryChristandoh/context-cache
Popularity2 GitHub stars
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#1,130 of 5,272 Claude Code mods; #205 in Cost & usage
LicenseMIT
Last commit2026-10-17
Hooks14 events
Seesclassic hooks, compaction
Draws onAbovePrompt, Pane

Is context-cache safe to install?

context-cache scores 72/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; writes files or config. It passed 5 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
Sends data over the networkReview
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.model.forkdrives Claude
$.session.authorizereads the transcript
$.session.messagesreads the transcript
$.session.model
$.session.surfaces
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.notifydraws interface
$.ui.opendraws 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/Christandoh/context-cache
    claude plugin validate ./context-cache/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Christandoh/context-cache && claude plugin install context-cache@chris-mods

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/Christandoh/context-cache. Run claude plugin validate on it first and show me what it can access before you enable it.