cache-keeper

by Công · ★ 0 · updated 7 days ago

PanesBandsGuardsCommandsPromptvalidates

0

Thanh gọn trên ô nhập: đếm ngược cache, context, quota 5h/tuần kèm giờ reset, chi phí phiên, gợi ý bước tiếp và nút handoff

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.register$.command.run$.env.get$.fs.write$.model.complete$.model.fork$.prompt.fill$.session.id$.session.messages$.session.usage$.state.get$.state.set$.ui.copy$.ui.open$.ui.resolve$.ui.toast
Draws
PaneAbovePrompt
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 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
ed6d500 the exact code the scan read
Author
Công @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.