What is cache-bar?
cache-bar is a Claude Code mod by simplybychris that one colored line above the prompt: the prompt cache countdown, context fill, and the plan's 5-hour and weekly usage. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | simplybychris |
| Repository | simplybychris/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #8,412 of 9,397 Claude Code mods; #1,670 in Cost & usage |
| Last commit | 2026-10-10 |
| Hooks | 6 events |
| Sees | compaction |
| Draws on | AbovePrompt |
Is cache-bar safe to install?
cache-bar scores 76/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables. It passed 4 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 |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.list | |
$.env.get | reads env vars |
$.prompt.submit | drives Claude |
$.session.usage | |
$.settings.read | reads settings |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-bar?
- 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/simplybychris/claude-code-mods claude plugin validate ./claude-code-mods/cache-bar
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/simplybychris/claude-code-mods && claude --plugin-dir ./claude-code-mods/cache-bar
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-bar for you:
Install the "cache-bar" Claude Code mod from https://github.com/simplybychris/claude-code-mods/tree/main/cache-bar. Run claude plugin validate on it first and show me what it can access before you enable it.
More from simplybychris/claude-code-mods
This repository has 4 Claude Code mods on MCPMods.
- mission-pane: A side pane (/ops) with this session's subagents and background jobs, live, and a sound and a toast as each one ends. (Low risk)
- rec-mode: Recording mode: blurs emails, keys, IP addresses and user names on screen; hover over a blurred spot to reveal it. /rec (Low risk)
- snake: Snake in a pane while Claude works; it pauses when Claude is done. /snake turns it on or off. (Low risk)