← Back to archive

Repo of the Day

5m0k3/cache-maxxing

Published: Nov 29, 2026

Open repository ↗

A bar above your chat to see when Claude's prompt cache expires, and what your next message will cost, before you send it

Summary

5m0k3/cache-maxxing is a Claude Code plugin that puts a status bar above a chat, showing whether Claude’s prompt cache is active, how long remains, and an estimate of the next message’s cost before it is sent. It also provides commands for handing a long conversation to a fresh chat, reviewing usage statistics, and refreshing model and price data.

What it is useful for

It is useful for engineers working in Claude Code’s desktop app, VS Code extension, or CLI who want to understand the cost of continuing a long chat. The bar combines a live countdown, chat size, and next-message estimate. Green means keep going; yellow means reply soon; orange means the cache expired but rebuilding is inexpensive; red means continuing may be expensive and a handoff could save quota. Cost can appear in estimated dollars or as a multiplier such as “40× more.”

/cmaxx-handoff asks Claude Haiku to write a briefing and start a fresh chat from it, rather than resending the old history to the main model. /cmaxx-stats reports savings, token counts, cache-hit rate, rebuilds, and replies for the current chat and all chats.

Documented caveats matter: dollar figures use standard API list prices and are estimates; on subscriptions they compare usage rather than represent a charge. Tool-using replies can involve several requests, handoff savings are estimated, and switching models and back can be shown as “cache reset” even if the first model’s cache may still be warm. The project deliberately avoids a background cache warmer.

How engineers can use it

The README says a recent Claude Code is required, tested on 2.1.325 and later. At a terminal or VS Code Claude Code prompt, install it with:

/plugin install cache-maxxing --marketplace 5m0k3/cache-maxxing

Answer y to add the marketplace and press Enter for user scope. The bar appears after the next message and may require a restart. In the desktop app, click + next to the chat box, open Plugins → Manage Plugins, choose Add marketplace → Add from a repository, enter 5m0k3/cache-maxxing, and add cache-maxxing.

Use the bar before sending: continue while green, reply soon when yellow, and consider /cmaxx-handoff when red. /cmaxx toggles the bar. Settings can adjust the rebuild-cost threshold, warning time, long-chat size, dollars-versus-times display, and cache memory time. GitHub plugins do not update themselves; enable marketplace auto-update or run /cmaxx-update.

The bar calculates locally. Handoff sends an abbreviated copy of up to the last 120 messages to Claude Haiku and saves the briefing under .claude/handoffs/; update contacts GitHub. If Haiku is blocked, handoff falls back to a facts-only briefing. A new desktop chat shows the bar only after its first message.