What is cache-band?
cache-band is a Claude Code mod by MohabYasser2 that shows how hot or cold the prompt cache is above the prompt, with a Compact button. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | MohabYasser2 |
| Repository | MohabYasser2/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (84/100) |
| Rank | #4,018 of 5,272 Claude Code mods; #766 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-05 |
| Hooks | 6 events |
| Sees | compaction |
| Draws on | AbovePrompt |
Is cache-band safe to install?
cache-band scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.stat | reads files |
$.model.fork | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.root | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-band?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/MohabYasser2/claude-code-mods claude plugin validate ./claude-code-mods/cache-band
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/MohabYasser2/claude-code-mods && claude --plugin-dir ./claude-code-mods/cache-band
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-band for you:
Install the "cache-band" Claude Code mod from https://github.com/MohabYasser2/claude-code-mods/tree/main/cache-band. Run claude plugin validate on it first and show me what it can access before you enable it.
More from MohabYasser2/claude-code-mods
This repository has 3 Claude Code mods on MCPMods.
- git-sync-band: A band above the prompt with branch, ahead/behind, changed files and last push; pulls before your prompt when it is safe (Review before installing)
- scout-router: Before a subagent starts on Opus, a Haiku judge reads its task and moves it to Sonnet unless it needs Opus's judgment. (Low risk)