ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 eshin087

usage-meter

頁腳中的時尚彩色 5 小時和每週使用情況欄;當視窗較低時,在 75%/90% 和代理商揮手之前發出警告。

eshin087@eshin087

eshin087/claude-code-mods/tree/main/usage-meter

已翻譯

關於這個 mod

5-小時使用表

它的作用: 讓你訂閱的使用視窗保持可見,這樣你就知道是否有空間容納大量工作或一波代理。

你在哪裡看到它:

  • 頁腳,提示右側: • 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 回應都會報告你的速率限制視窗。每當它們移動一個整點時,應用程式就會將它們傳遞給模組。 “重置”每分鐘刷新一次。

**成本:**無。

**已儲存的資料:**上次讀數以及已顯示的警告(在模組自己的商店中)。

注意: 新會話會立即顯示最後一次讀數(此後重置的任何視窗都會被忽略)並在第一次回復後更新。 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.

其他同名作品

更多類似作品