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. A Clear button writes a handoff brief from the transcript with a cheap model, runs /clear, and sends the brief to the fresh conversation.
Install
/plugin marketplace add Nasrallah-Adel/claude-prompt-cache-control
/plugin install prompt-cache-control@nasrallah-cache-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, writes the prompt box, reads files, reads env vars, draws
- Draws in
AbovePromptPane- Hooks
session.startsession.endturn.stepcommand.runui.closeui.pressui.render
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
- Nasrallah-Adel/claude-prompt-cache-control
- Folder
.- Marketplace
nasrallah-cache-mods- Author
- claude-code-templates
- License
- NOASSERTION
- Last updated
- 8 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. A Clear button writes a handoff brief from the transcript with a cheap model, runs /clear, and sends the brief to the fresh conversation. It is a mod for Claude Code, from Nasrallah-Adel/claude-prompt-cache-control on GitHub.
What can the prompt-cache-control mod access?
Its widest reach is "writes or runs" (drives Claude, writes the prompt box, reads files, reads env vars, draws). 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 Nasrallah-Adel/claude-prompt-cache-control and then /plugin install prompt-cache-control@nasrallah-cache-mods.
Is prompt-cache-control popular?
Nasrallah-Adel/claude-prompt-cache-control has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 8 October 2026.
More context & usage mods
pixlings
1cglremrcn/pixlings
A tiny pixel creature that lives above your Claude Code prompt. It counts down your prompt cache and guards it on model switches, wakes Claude when your usage limit resets, brings a helper for every subagent, makes sound on Windows and Linux, yelps before risky commands, rolls its eyes at "You're absolutely right", and brings back your old /buddy.
prompt-forge
1tomikng/prompt-forge
Spends your Claude Code tokens where they count: moves a new task into a fresh session (a new terminal window, or its own git worktree) instead of dragging a long conversation along, and runs small, clear tasks on Sonnet.
pedidos
1matecocidocontortafritas/growth-lab-mods
/pedidos: panel con los pedidos de hoy de tu Tiendanube y cuánto vendiste, sin gastar tokens
prompt-status
1matr1xp/local-mods
Two-line status above the prompt: model, directory, git branch, context fill and rate-limit usage
pastiche
1nullphase-net/enfurbish
Ambient language learning. Hooks weave vocabulary into ordinary Claude Code sessions — stale items you are forgetting, a small budget of new terms drawn from the work itself, and anything you use unprompted recorded rather than taught back at you. The ledger is a markdown file you own, written by a CLI rather than by hand.
quanta-costa
1wukonigcom/quanta-costa
Quanta Costa: your Claude subscription period, weekly limit with a pace forecast, session cost and plan value, as bars right above the Claude Code prompt.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.