Claude Code mod
prompt-cache-control
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects itself from request timing. /cache opens a per-turn table and /cache settings a pane of on/off toggles; /keepwarm pings the cache after idle stretches so it never lapses (ported from cache-tax).
Install
/plugin marketplace add zadoli/claude-mods
/plugin install prompt-cache-control@zadoli-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: drives Claude, reads files, reads env vars, persists state, draws
- Sees
- every prompt, compaction
- Draws in
AbovePromptPane- Hooks
session.startsession.endsession.measureturn.stepcommand.runui.closeui.pressui.renderprompt.submitsession.compactturn.complete
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- zadoli/claude-mods
- Folder
plugins/prompt-cache-control- Marketplace
zadoli-mods- Author
- claude-code-templates
- License
- NOASSERTION
- Last updated
- 29 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is prompt-cache-control?
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects itself from request timing. /cache opens a per-turn table and /cache settings a pane of on/off toggles; /keepwarm pings the cache after idle stretches so it never lapses (ported from cache-tax). It is a mod for Claude Code, from zadoli/claude-mods on GitHub.
What can the prompt-cache-control mod access?
Its widest reach is "writes or runs" (drives Claude, reads files, reads env vars, persists state, draws). It sees every prompt, compaction. It draws in AbovePrompt, Pane. Like any mod, it runs with your permissions.
How do I install prompt-cache-control?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add zadoli/claude-mods and then /plugin install prompt-cache-control@zadoli-mods.
More context & usage mods
prompt-cache-control
jakerains/claudemods
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects itself from request timing. /cache opens a per-turn table.
prompt-cache-forecast
DominikvD/prompt-cache-forecast
Token Weather plus Prompt-Cache: Kontextfüllung und darunter, wie viele Tokens gerade im Prompt-Cache liegen und wann er abläuft.
pro-limits
rodbegbie/rod-claude-mods
Gauges for the 5-hour and weekly Claude usage limits above the prompt, toggled with /pro-limits
prompt-cache-watch
ramankrishna/prompt-cache-watch
Shows how much of each request the prompt cache served, and tells you when the cache was rebuilt and the likely reason.
powerup
betobetico/powerup
/powerups: las lecciones de Claude Code en un panel con botones, en el terminal y en la app de escritorio. Sin tokens: el plugin responde a cada clic sin pasar por el modelo. Las lecciones se descargan con tu clave de acceso y se renuevan cada semana. Mod (function hooks); Claude Code 2.1.284 o posterior.
prompt-quest
tomikng/prompt-quest
An RPG layer for Claude Code: earn XP from sharp prompts and lean token use, spend skill points on perks, and learn AI lore.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.