---
title: "usage-meter"
url: "https://claudemods.dev/zh-cn/builds/usage-meter-4b84d9"
source: "https://github.com/eshin087/claude-code-mods/tree/main/usage-meter"
source_type: "github"
repo: "https://github.com/eshin087/claude-code-mods/tree/main/usage-meter"
author: "eshin087"
author_handle: "eshin087"
stars: 0
category: "其他"
categories: ["other"]
tags: []
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add eshin087/claude-code-mods\nclaude plugin install usage-meter"
added: "2026-10-05T01:57:24.078Z"
updated: "2026-11-14T04:38:40Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# usage-meter

页脚中的时尚彩色 5 小时和每周使用量条；在 75%/90% 时，以及窗口余量低、代理波次开始前发出警告。

## Description

# 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 密钥或非订阅帐户上没有任何显示。

## Install

```
claude plugin marketplace add eshin087/claude-code-mods
claude plugin install usage-meter
```

## Original 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.
