eshin087/claude-code-mods/tree/main/usage-meter
usage-meter
フッターには洗練された色の 5 時間と週の使用量バーが表示されます。 75%/90% で、ウィンドウが低いときにエージェントが手を振る前に警告します。
この mod について
5-時間使用量メーター
機能: サブスクリプションの使用期間が常に表示されるため、大きな仕事やエージェントの波を受け入れる余地があるかどうかがわかります。
表示される場所:
- プロンプトの右のフッター:
• 5h ━── 38% W ╸─ 18%。デスクトップでは、実線のバーが付いた one の小さな画像になります。スロットの幅は約 145 ピクセルのみなので、バーは短いです。- 5h はシアン、W (毎週) はバイオレットです。小さな点と各 % は、60% の下では緑色、60-85% では黄色、上では赤色です。
- リセット時間は、ドックのC カード (制限: 5h 38% (リセット 2h10m) · W 18%) および端末フッター (
⟳2h10m) にあります。 - アプリに MOD 用のフッター スロットがない場合、代わりにステータス ラインに同じ短い行がプレーン テキストとして表示されます。
- 5 時間帯の 75% および 90% で 乾杯 (各時間帯に 1 回)。
- 80% 以上の エージェント ウェーブまたはワークフローの前: トーストと、並列エージェントの使用を減らすようClaudeに指示するメモ。
仕組み: すべての API 応答でレート制限ウィンドウが報告されます。アプリは、それらが 1 ポイント分移動するたびに MOD に渡します。 「リセット中」は 1 分ごとに更新されます。
費用: なし。
保存されたデータ: 最後の測定値と、すでに表示されている警告 (MOD 自身のストア内)。
注: 新しいセッションでは、最後の読み取り値がすぐに表示され (それ以降にリセットされたウィンドウは無視されます)、最初の応答後に更新されます。 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-meterPimzino · ★ 0
- usage-meter0xGondarxyz · ★ 0
