cache-clock

by AbyssCN · ★ 0 · updated 15 days ago

BandsCommandsPromptwarnings

0

缓存钟:每次回复后在输入框上方倒数到 prompt cache 变冷,标出现在回复与冷了重写各要多少钱;冷了先拦一次人发的消息并报价,大会话给「交接」按钮(填入 /relay go);保温只在按按钮或 /keepwarm 时发。取代 cache-tax,底子是 benai cache-clock

install cache-clock

Install

/plugin marketplace add AbyssCN/claude-lead-harness
/plugin install cache-clock@claude-lead-harness

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
engine.createsession.startturn.startturn.completesession.compactprompt.submitcommand.runui.pressclassic.Stopui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.continuity.latest$.delegate.runs$.env.get$.fs.exists$.fs.read$.fs.stat$.fs.write$.model.fork$.process.run$.prompt.fill$.session.id$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
compactionevery promptclassic hooks
Reach
level 2 of 3 runs processeswrites filesdrives Claudewrites the prompt boxreads filesreads env varsreads settingsreads mod statepersists statedrawsother: $.continuity.latestother: $.delegate.runs

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/AbyssCN/claude-lead-harness
Path in repo
mods/cache-clock
Source commit
2f70877 the exact code the scan read
Author
@AbyssCN
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.

More from AbyssCN/claude-lead-harness

agent-guard

AbyssCN/claude-lead-harness

派子 agent 的守卫(0.2.0 起也拦子 agent 在主 worktree 里的 git 写):拒 isolation worktree(会共用目录);声明的 WORKTREE 必须是独立、干净、没派过的 git worktree;写代码的仓库要求非只读子 agent 必须带 WORKTREE 行;0.3.2 起(G-R):配置仓库的主 worktree 里 git merge 碰敏感路径的分支,要有最新判词 SHIP / MERGE;0.3.9 起(S9):specGateRepos 里合 omdl/* 分支,要有一份绑到同一个被审提交的规格判词(spec-verdict.json);0.3.10 起:那份判词要判官问够 3 遍取并集、判完之后任务书没被改过、missing · extra · wrong 都空(或带理由接受过);0.3.11...

★ 0ToastsGuards

board

AbyssCN/claude-lead-harness

进度板:/board 一屏看当前仓的下一步 · GOAL 勾选 · 待拍板 · TODO · roadmap 在进行项 · 在跑的片 · 最近提交;/board myapp 看别的仓,/board all 各仓摘要。纯读文件,不调模型

★ 0PanesBandsGuards

copy-lint

AbyssCN/claude-lead-harness

MyApp 对外文案写入后自动查禁用词、标题句号和已废的片尾句,把命中提示给模型(不拦写入)

★ 0GuardsAutomation

cue

AbyssCN/claude-lead-harness

提词:每次回答后,站在你的位置写好下一条完整 prompt;终端里空输入框按 1 或点 Enhance 写进草稿(不发送),手机上弹窗让你选 发送 / 方向 B / 改写 / 放弃。/enhance 把你的粗稿改写成完整结构

★ 0BandsGuardsCommands

delegate

AbyssCN/claude-lead-harness

lead 的外部 run 驾驶舱:扫描本会话的 omd-lite run($.delegate.runs)、守 launch(任务书 C-1b · 缺已重算/对外签名/安全面/不许交出去的内容 · 允许改动不重叠 · 起片间隔 · 磁盘预算)、把 --gate 包进按内存排队的 gate-slot.sh、run 结束合成一条叫醒、合并后清 worktree。不切片、不写任务书、不选执行器。

★ 0BandsGuardsCommands

prompt-guard

AbyssCN/claude-lead-harness

拦下 prompt 里的密钥 / 密码(放回去掉密钥的文本),并丢掉几分钟内重复发送的同一条消息

★ 0PromptAutomation

relay

AbyssCN/claude-lead-harness

接力:/goal 把一句话写成 GOAL.md 并按 RELAY 行自动续跑到验收命令全过或真 owner 岔口才停;按 phase 切 effort;上下文到阈值自动交接并 /clear(GOAL / 定时期间跟在下一条干活 prompt 上;平时答完安静 30 秒后自己交接),带原文旁车,新会话先逐字贴回 clear 前没看到的回答;/relay go 手动交接;/handoff 写一份可分享的交接不清空;D 盘提醒和 /ops

★ 0PanesBandsStatus line

savvy-progress

AbyssCN/claude-lead-harness

Fork of johnnyvizz/claude-kit savvy-progress 1.2.0: the /savvy-flow bar and /agents-info panel, plus omd-lite runs this session launched (mcode / claude -p / pi) with a pixel MiniMax.

★ 0PanesBandsGuards