ClaudeCodeMod

All shelves / Mods / Usage

cache-maxxer

By vayaan-labs

cache-maxxer is a Claude Code usage mod by vayaan-labs.

Draws the prompt-cache time left and hit rate above the input, says why the cache was rebuilt, and can send a short request to keep it warm.

Draws

Install

The marketplace name is vayaan-labs.

In your shell
claude plugin marketplace add vayaan-labs/plugins
claude plugin install cache-maxxer@vayaan-labs
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.0
License
MIT
Repo stars
8
Last change
2026-10-09

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Reaches the network or an outside service
  • Runs a command when you press

Needs Claude Code 2.1.289 or later, in the terminal and in the Claude desktop app, on macOS. The band shows after the first reply, once the conversation has a cache: time left, a bar that drains, and the last request's hit rate and the session's, cut rather than rounded up. Press More for tokens read from the cache and written to it, the last 10 requests, and the latest rebuild with its cost and cause. Keep warm is off until you press it. Warm now and Keep warm each send one short request over this conversation, on the login the session already uses, and the README says each counts toward your usage like any other request. A keep-warm ping is one tiny request just before expiry, for a few cents, and it stops after three hours without a message from you unless you change that limit. Once the cache has expired, Compact takes Warm now's place and asks Claude Code to compact. Dollar figures come from Anthropic's public price table at https://platform.claude.com/docs/en/about-claude/pricing.md, read at most once a day. The README says that read sends nothing about you or your session. Set live_prices to off and it never reads the page, and keeps the prices it shipped with. While the cache length is auto, it reads the end of this session's transcript for the cache-write token counts. It has no server and no account.

The install name is cache-maxxer. The marketplace name is vayaan-labs. The catalogue lists this plugin with source github vayaan-labs/cache-maxxer. The plugin is the repository. The countdown and the hit rate are why this page files it under usage. cache-timer draws a countdown above the prompt until the prompt cache expires, then how many tokens the next message writes again. cache-warmer resends the last request to keep the prompt cache warm when that saves at least $0.05, and draws a band with Clawd while it runs. This band adds the hit rate and why each rebuild happened.

Demo

In the Claude desktop app with keep warm on: the countdown runs down into amber with Expiring soon, then a Cache warmed notice with the tokens read and the cost saved, and a fresh hour starts.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • classic.SessionStartA Claude Code event
  • session.endWhen a session ends
  • session.compactWhen the context is compacted
  • classic.PostModelSwitchA Claude Code event
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • turn.stepAt each step of a turn
  • ui.renderDraws into the sessionAbovePrompt
  • command.runWhen you run its slash command

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
vayaan-labs
Category
Usage
Marketplace
vayaan-labs
Repo
vayaan-labs/cache-maxxer
Version
1.0.0
License
MIT
Repo stars
8
Last change
2026-10-09
Language
TypeScript
Files
42

Other mods in Usage

session-hudofeklevy11Draws four cards above the prompt: context left, the 5-hour limit, prompt clocks, and what the session cost.token-pilotDigital-ThreadsHolds a commandFor Token Pilot, which cuts what Claude reads from code, draws tokens saved and the 5-hour and 7-day limits above the prompt, and outlines a big file Read.laya-routermarcreichelRoutes the session once from its first prompt to a model and effort, and draws that route on the status line.cache-clockray-amjadDraws a line above the prompt with the time until the prompt cache goes cold, the context fill, and a subagent clock, and has Claude write a handoff first.antiburnantiburnDraws the five-hour and weekly limits above the prompt with reset times and even-pace markers, in the terminal and the desktop Code tab.context-metermidudevDraws how full the context window is at the right end of the band above the prompt: gray, then yellow from 50 percent, then red from 75.sub-metermidudevDraws your 5-hour and weekly subscription usage at the bottom right, on the permission mode's line, with a bar and the time until it resets.token-metermidudevEnds the hint line under the prompt with the last turn's input, output, and cache tokens, and the session's running total, in color.use-haikumidudevRuns a prompt that starts with _ on Haiku, subagents included, and shows it as you type, while it runs, and under the answer.agent-usage-guardrbartoliHolds a commandAsks before a subagent starts, a heavy prompt is sent, or a tool loop runs on, from the 5-hour and weekly usage, and refuses when nobody can answer.optim-jevOqura-aiHas TypeSafe's Jev drop stale tool calls and their output when the session compacts, keeping the rest word for word, and draws a dashboard above the prompt.secondwindorchetronCompresses Bash output of 512 bytes or more through the local secondwind binary, keeps the full text one call away, and draws a pane of the net tokens saved.
All 183 in Usage