cache-band
by Mohab Yasser · ★ 0 · updated 2 days ago
Shows how hot or cold the prompt cache is above the prompt, with a Compact button.
Install
git clone https://github.com/MohabYasser2/claude-code-modsclaude --plugin-dir ./claude-code-mods/cache-bandThen 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.startturn.startturn.stepsession.compactturn.completeui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.run$.env.get$.fs.list$.fs.stat$.model.fork$.session.cwd$.session.id$.session.messages$.session.root$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
compaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudereads filesreads env varsreads the transcriptdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/MohabYasser2/claude-code-mods
- Path in repo
cache-band- Source commit
6732b3bthe exact code the scan read- Author
- Mohab Yasser @MohabYasser2
- 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.
More from MohabYasser2/claude-code-mods
git-sync-band
MohabYasser2/claude-code-mods
A band above the prompt with branch, ahead/behind, changed files and last push; pulls before your prompt when it is safe; Pull, Files and Commit & push buttons that run git without a model turn.
scout-router
MohabYasser2/claude-code-mods
Before a subagent starts on Opus, a Haiku judge reads its task and moves it to Sonnet unless it needs Opus's judgment.