cache-live-control
by Reza · Professor · ★ 1 · updated 4 days ago
0
Change the prompt-cache TTL (5m, 1h or automatic) of one Claude Code chat with /cache: instantly, with no model turn, for the main chat, its sub-agents or both.
Install
git clone https://github.com/rezzminator/cache-live-controlclaude --plugin-dir ./cache-live-control/plugins/cache-live-controlThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
session.startturn.startturn.completeturn.stepagent.spawntool.callcommand.runprompt.submitsession.compactsession.end- API calls
$.agent.list$.clock.now$.command.register$.env.get$.env.set$.process.run$.session.id$.ui.log$.ui.toast- Can see
subagent spawnsSendMessage callsevery promptcompaction- Reach
- level 2 of 3 runs processessets env varsreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/rezzminator/cache-live-control
- Path in repo
plugins/cache-live-control- Source commit
30f09cdthe exact code the scan read- Author
- Reza · Professor @rezzminator
- License
- MIT
- 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.