Home / Claude Code mods / Cost & usage / prompt-cache-tracker

prompt-cache-tracker

prompt-cache-tracker is a Claude Code mod by Hayk985 that tracks how warm your prompt cache is and renews it automatically if you want.

Updated 2026-10-26

What is prompt-cache-tracker?

prompt-cache-tracker is a Claude Code mod by Hayk985 that tracks how warm your prompt cache is and renews it automatically if you want. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
AuthorHayk985
RepositoryHayk985/prompt-cache-tracker
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (68/100)
Rank#3,667 of 9,397 Claude Code mods; #608 in Cost & usage
LicenseMIT
Last commit2026-10-26
Hooks9 events
Seescompaction, every prompt
Draws onAbovePrompt

Is prompt-cache-tracker safe to install?

prompt-cache-tracker scores 68/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.fs.readreads files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.id
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.resolvedraws interface

How do I install prompt-cache-tracker?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Hayk985/prompt-cache-tracker
    claude plugin validate ./prompt-cache-tracker/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Hayk985/prompt-cache-tracker && claude plugin install prompt-cache-tracker@prompt-cache-tracker

Or ask Claude to set it up

Paste this into Claude Code and it installs prompt-cache-tracker for you:

Install the "prompt-cache-tracker" Claude Code mod from https://github.com/Hayk985/prompt-cache-tracker. Run claude plugin validate on it first and show me what it can access before you enable it.