What is cache-keeper?
cache-keeper is a Claude Code mod by Hactory that band trên ô nhập: cache, chi phí phiên, vòng quota 5h/tuần kèm giờ reset, gợi ý, nút cột dọc, thẻ You Should Know đẹp; dưới ô nhập: thanh token màu, nút Nén và dấu tích tự nén khi cache. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Hactory |
| Repository | Hactory/cong-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (52/100) |
| Rank | #6,175 of 9,397 Claude Code mods; #1,154 in Cost & usage |
| Last commit | 2026-11-09 |
| Hooks | 9 events |
| Sees | Agent calls, TaskCreate calls, TaskUpdate calls, TodoWrite calls, classic hooks, every prompt, every tool call |
| Draws on | Pane, AbovePrompt, SessionMode |
Is cache-keeper safe to install?
cache-keeper scores 52/100 on the MCPMods security check: High risk. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 2 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.list | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.write | writes files |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.prompt.fill | writes the prompt box |
$.session.id | |
$.session.messages | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-keeper?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Hactory/cong-mods claude plugin validate ./cong-mods/plugins/cache-keeper
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Hactory/cong-mods && claude plugin install cache-keeper@cong-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-keeper for you:
Install the "cache-keeper" Claude Code mod from https://github.com/Hactory/cong-mods/tree/main/plugins/cache-keeper. Run claude plugin validate on it first and show me what it can access before you enable it.