context-cache
by Chris Tandoh · ★ 2 · updated today
0
A panel above the prompt showing context usage, usage limits (session, weekly, Fable) and prompt-cache temperature, with Clear, Compact and Warm buttons.
Install
/plugin marketplace add Christandoh/context-cache/plugin install context-cache@chris-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startclassic.SessionStartturn.stepturn.completeturn.startclassic.Stopclassic.PostModelSwitchsession.measuresession.compactsession.endcommand.runsession.attachui.render- API calls
$.clock.every$.clock.now$.command.register$.command.run$.fs.read$.fs.stat$.fs.write$.http.fetch$.model.fork$.session.authorize$.session.messages$.session.surfaces$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.open$.ui.resolve$.ui.toast- Draws
AbovePromptPane- Can see
classic hookscompaction- Reach
- level 3 of 3 other: $.state.getother: $.state.setnetworkwrites filesdrives Claudereads filesreads the transcriptpersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Christandoh/context-cache
- Path in repo
- repository root
- Source commit
c2cee4cthe exact code the scan read- Author
- Chris Tandoh @Christandoh
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.