by 5m0k3
A bar above your chat to see when Claude's prompt cache expires, and what your next message will cost, before you send it.
Available after the catalog security scan passes.
β οΈ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/5m0k3/cache-maxxingGuides for using ide extensions skills like cache-maxxing.
See how cache-maxxing compares with popular alternatives.
See when Claude's prompt cache expires, and what your next message will cost, before you send it.
Ever feel like your Claude subscription quota disappears way faster than it should? Usually, it's not how much you're building - it's when you hit Send.
Claude keeps your chat "warm" only for a while so follow-up messages barely dent your limit. But wait too long between messages, and Claude has to re-read your entire chat history at full cost - up to 80Γ more quota than a normal reply.
cache-maxxing puts an easy-to-read bar right above your chat box (in the desktop app, VS Code, and terminal) to protect your quota while you build:
/cmaxx-handoff: When a long chat gets too expensive to continue, run one command to hand off a smart summary of your progress into a fresh chatβno re-explaining your project, and no massive quota spike.| π’ Cache active. Messages are cheap right now. | π‘ Ending soon. The cheap moment to reply. |
| π΄ Expired. What a rebuild costs, and what a handoff saves. | π Expired. But the rebuild cost is low. |
| β±οΈ Live countdown | Minutes left on the cache, ticking every second; it survives restarts, sleep and switching chats. |
| π² Next-message cost | In dollars (API prices) or as "Γ more" (better for subscriptions), plus how full the chat is (290K / 1M). |
| π¦ One clear tip | π’ keep going Β· π‘ reply soon Β· π expired small chat, fine Β· π΄ expired, with what a handoff would save. |
| π One pop-up | A single warning when a big chat's cache expires, and a heads-up if you send into it. Your message is never stopped. |
π /cmaxx-handoff |
Haiku (effort: High) writes a briefing of the chat; a fresh chat picks up from it. The expired chat is never resent to the main model. |
π /cmaxx-stats |
Money and tokens saved, cache hit rate, rebuilds paid: for this chat and for all chats. |
β¬οΈ /cmaxx-update |
Updates the plugin, or at least its model and price list, so new models are priced on day one. |
| π Local by default | No network and no model calls, except the two commands above, and only when you run them. |
Requires a recent Claude Code: the desktop app, the VS Code extension, or the CLI. It's tested on 2.1.325 and later.
Any application
Just paste this repository's link (https://github.com/5m0k3/cache-maxxing) in the chat window and ask Claude to install it for you.
or see below for your specific application:
Desktop app
5m0k3/cache-maxxing.Terminal or VS Code (at the Claude Code prompt)
/plugin install cache-maxxing --marketplace 5m0k3/cache-maxxing
Answer y to add the marketplace and press Enter for the user scope. The bar shows after your next message (may need a restart).
| Command | What it does |
|---|---|
/cmaxx |
Hide or show the bar in this chat (the β on the bar hides it too). |
/cmaxx-handoff |
Write a briefing of this chat with Haiku and start a fresh chat from it. (Doesn't trigger the old chat's model) |
/cmaxx-stats |
Show savings, cache hit rate, rebuilds and replies: this chat and all chats. |
/cmaxx-update |
Update to the latest version, or refresh the model and price list. |
What each light means, the exact texts and the rules behind them: How the bar decides.
In the plugin's settings, under cache-maxxing:
| Setting | Default | What it changes |
|---|---|---|
| Rebuild limit ($) | 0.50 | Above this rebuild cost, the bar suggests a handoff instead of carrying on. |
| Warning time (minutes) | 15 | How early the bar turns π‘ before the 1-hour cache expires. |
| Long chat size (tokens) | 300000 | When the π’ bar starts suggesting a handoff once you're done. |
| Show cost as | dollars | times shows "40Γ more" instead of dollars, which suits subscription plans. |
| Memory time | auto | auto is 1 hour (every Claude subscription chat). Choose 5 with an API key. |
Plugins from GitHub don't update by themselves: Claude Code auto-updates only Anthropic's own marketplaces by default.
/plugin β Marketplaces β cache-maxxing β Enable auto-update./cmaxx-update. If a newer version is out, it updates the plugin (in the terminal) or tells you how (desktop app, VS Code). Either way it refreshes the model and price list, so a newly released model is priced at once.new model? try /cmaxx-update.From top to bottom, the first rule that fits:
/cmaxx-handoff with what it would save.π’ 48 min left Β· next message β $0.01 Β· 50K / 1M Β· β
Keep going
π‘ 12:30 min left Β· next message β $0.05, later β $1.82 (40Γ more) Β· 228K / 1M Β· β³ Reply soon or try /cmaxx-handoff
π΄ cache expired Β· next message β $2.32 (40Γ more) Β· 290K / 1M Β· π Try /cmaxx-handoff to save 232K tokens | $2.21
Costs are estimates at standard API list prices, and a floor: a reply that uses tools sends several requests. On a subscription you don't pay these dollars; read them as how much of your usage a message takes. "Active" means very likely active: in our measurements about 2 in 100 messages missed the cache even within the time limit.
/cmaxx-handoff sends Claude Haiku an abbreviated copy of the chat (the last 120 messages, long ones cut, tool output left out). The briefing is saved in your project under .claude/handoffs/, which gets its own .gitignore, so briefings are never committed./cmaxx-update downloads this plugin's version number and price list from this repository and sends nothing. GitHub sees your IP address, as for any download./cmaxx-stats (numbers only, each chat's for 90 days, the totals for good). Never the chat's text!/cmaxx-handoff writes a facts-only briefing that keeps your last message, and says why./compact the bar estimates the chat's new size the same way until the next reply./cmaxx-stats reads an older chat's history from its transcript only up to 4 MiB; a bigger chat that started before you installed the plugin is counted from when the plugin first saw it.Why no cache warmer?
Anthropic's Consumer Terms bar access by "automated or non-human means" unless via an API key or explicitly permitted, and its Claude Code terms assume "ordinary, individual usage". A background keep-alive ping isn't clearly allowed by either, and accounts can be suspended "without notice", so we won't risk yours.
Use /cmaxx-handoff instead: a small fresh chat with the context of old one.
Does it cost anything to run? The bar, no. /cmaxx-handoff makes one small Haiku call, typically about a cent at API prices.
I'm on a subscription. Are the dollar amounts real? They're API list prices, a way to compare. Set Show cost as to times to see "40Γ more" instead.
Issues and pull requests are welcome. See CONTRIBUTING.md for setup, tests and the project rules, and SECURITY.md to report a vulnerability privately. Changes are listed in CHANGELOG.md.
MIT Β© 5m0k3
cache-maxxing is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 5m0k3. A bar above your chat to see when Claude's prompt cache expires, and what your next message will cost, before you send it. It has 57 GitHub stars.
cache-maxxing's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/5m0k3/cache-maxxing" and add it to your Claude Code skills directory (see the Installation section above).
cache-maxxing is primarily written in TypeScript. It is open-source under 5m0k3 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cache-maxxing against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars