eshin087/claude-code-mods/tree/main/usage-meter
关于这个 mod
5-Hour Usage Meter
它的作用: 让您订阅的使用窗口保持可见,这样您就知道是否有空间容纳大量工作或一波代理。
您在哪里看到它:
- Footer, right of the prompt:
• 5h ━── 38% W ╸─ 18%.桌面上是one小图片,带有实心条;该槽仅大约 145 px 宽,因此条形很短。- 5h 为青色,W(每周)为紫色。 60% 下方的小点和每个% 为绿色,60-85% 处为黄色,上方为红色。
- 重置时间位于扩展坞的 C 卡中(限制:5h 38%(重置 2h10m)·W 18%)和终端页脚 (
⟳2h10m)。 - 如果应用程序没有用于 mod 的页脚槽,则相同的短行会在状态行中显示为纯文本。
- 在 5 小时窗口的 75% 和 90% 进行祝酒(每个窗口一次)。
- 在 80% 或更高级别的代理挥手或工作流程之前:祝酒,并附上一条说明,告诉 Claude 使用更少的并行代理。
工作原理: 每个 API 响应都会报告您的速率限制窗口。每当它们移动一个整点时,应用程序就会将它们传递给模组。 "Resets in" refreshes every minute.
**成本:**无。
**保存的数据:**上次读数以及已显示的警告(在模组自己的商店中)。
注意: 新会话会立即显示最后一次读数(此后重置的任何窗口都会被忽略)并在第一次回复后更新。 API 密钥或非订阅帐户上没有任何显示。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add eshin087/claude-code-mods claude plugin install usage-meter
原文 / README
5-Hour Usage Meter
What it does: keeps your subscription's usage windows visible, so you know whether there's room for a big job or a wave of agents.
Where you see it:
- Footer, right of the prompt:
• 5h ━── 38% W ╸─ 18%. On desktop it's one small picture with solid bars; the slot is only about 145 px wide, so the bars are short.- 5h is cyan and W (weekly) is violet. The small dot and each % are green under 60%, yellow at 60-85% and red above.
- Reset times are in the dock's C card (Limits: 5h 38% (resets 2h10m) · W 18%) and on the terminal footer (
⟳2h10m). - If the app has no footer slot for mods, the same short line shows as plain text in the status line instead.
- Toasts at 75% and 90% of the 5-hour window (once per window).
- Before an agent wave or workflow at 80% or more: a toast, and a note telling Claude to use fewer parallel agents.
How it works: every API response reports your rate-limit windows. The app passes them to mods whenever they move by a whole point. "Resets in" refreshes every minute.
Cost: none.
Data saved: the last reading and which warnings were already shown (in the mod's own store).
Notes: a new session shows the last reading straight away (any window that has reset since is left out) and updates after its first reply. Nothing shows on API-key or non-subscription accounts.
其他同名作品
- usage-meterhamzafer · ★ 91
- usage-metermishgoldenberg · ★ 3
- usage-meterLeeHigma0201 · ★ 3
- usage-meterPimzino · ★ 0
- usage-meter0xGondarxyz · ★ 0

