Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Adminhead Verified Orgv0.2.1In 1 marketplace
A mod that shows when the prompt cache likely expires (`cache warm → ~14:32`) under the prompt, turning to a cold warning past a configured TTL. Approximate: last main-loop turn plus the TTL.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Cache TTLttl
How long the prompt cache is assumed to live after the last main-loop turn: 5m (the API default, used by API-key sessions) or 1h (Claude Code's main-conversation cache on a Claude subscription, or with ENABLE_PROMPT_CACHING_1H).
One of 5m, 1h
stringdefault 1h
Where to show itdisplay
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it makes none of the file, program, network, tool or prompt calls we list.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
hint stacks a coloured segment under the prompt hint; status pins a plain status line under the prompt.
One of hint, status
stringdefault hint
Enable the modenabled
Off removes the cache warm and cold line under the prompt. Takes effect after a reload or in a new session. Only an exact false turns it off.
booleandefault true
A mod that shows roughly when the prompt cache expires, under the prompt hint (terminal only):
cache warm → ~14:32 (dim) after a main-loop turncache cold since ~14:32 (warning colour) once the TTL has passedThe next prompt after the cache goes cold pays to write the whole context to the cache again, so this tells you whether a pause has cost you that.
/plugin install cache-clock --marketplace Adminhead/claude-plugins
Set with /config or pluginConfigs["cache-clock"].options:
enabled (default on): off removes the line under the prompt. Only an exact false turns it off; it takes effect after a reload or in a new session.ttl: 1h (default) or 5m (the API's standard cache, which API-key sessions use). Claude Code (checked on 2.1.302) caches the main conversation for 1 hour on a Claude subscription while you're not on overage usage, and also with ENABLE_PROMPT_CACHING_1H. Set 5m for an API-key session. FORCE_PROMPT_CACHING_5M or CLAUDE_CODE_PROMPT_CACHE_TTL override it.display: hint (default) stacks a coloured segment under the prompt hint; status pins a plain $.ui.status line instead (no colour).Mods can't see the real cache expiry. The clock assumes the cache was refreshed when the last main-loop turn.complete that got an API response ended (no agentId, usage present), and adds the TTL. The ~ says so. Known gaps:
The clock resets on session.end (including /clear).
Idea from claude-hud (MIT; no code copied).
Test: claude plugin test plugins/cache-clock.
npx claudepluginhub adminhead/claude-plugins --plugin cache-clockBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.