cache-keeper

by Hactory · ★ 0 · updated 25 days ago

PanesBandsReskinsGuardsCommandsPromptwarnings

0

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 còn 5 phút

install cache-keeper

Install

/plugin marketplace add Hactory/cong-mods
/plugin install cache-keeper@cong-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
command.runtool.callclassic.SubagentStartclassic.SubagentStopui.rendersession.startsession.measureprompt.submitturn.complete
API calls
$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.command.run$.env.get$.fs.write$.model.complete$.model.fork$.prompt.fill$.session.id$.session.messages$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.copy$.ui.open$.ui.resolve$.ui.toast
Draws
PaneAbovePromptSessionMode
Can see
TodoWrite callsTaskCreate callsTaskUpdate callsAgent callsclassic hooksevery tool callevery prompt
Reach
level 2 of 3 writes filesdrives Claudewrites the prompt boxwrites the clipboardreads env varsreads the transcriptreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Hactory/cong-mods
Path in repo
plugins/cache-keeper
Source commit
3213e89 the exact code the scan read
Author
@Hactory
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

Other mods in Panes, close to this one by stars.