---
title: "usage-bar"
url: "https://claudemods.dev/ko/builds/usage-bar-2760b5"
source: "https://github.com/jimmyeao/claude-code-bars/tree/main/plugins/usage-bar"
source_type: "github"
repo: "https://github.com/jimmyeao/claude-code-bars/tree/main/plugins/usage-bar"
author: "jimmyeao"
author_handle: "jimmyeao"
stars: 0
category: "대시보드 및 HUD"
categories: ["hud"]
tags: ["above-prompt", "cost", "hooks", "plugin", "rate-limits", "statusline", "usage"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add jimmyeao/claude-code-bars\nclaude plugin install usage-bar"
added: "2026-10-05T19:41:59.560Z"
updated: "2026-10-03T15:51:58Z"
locale: "ko"
content_locale: "ko"
---

# usage-bar

플랜 사용량 제한을 프롬프트 위에 시간 창별 색상 막대로 표시하고, 시계가 진행되는 속도보다 빠르게 사용하는 창을 표시합니다. `/usage-bar`로 전환합니다.

## Description

# usage-bar

플랜 사용량 제한을 프롬프트 위에 막대로 표시하고, 시계가 진행되는 속도보다 빠르게 사용하는 시간 창을 표시합니다(예시 출력이며 실제 수치가 아닙니다).

```
Usage  ·  amber = using a window faster than its clock  ·  session $12.19
Session █████████████████████░░░░░  79% used  ·  47% of time  ·  32 pts ahead of the clock  ·  resets in 2h 40m
Week    ███░░░░░░░░░░░░░░░░░░░░░░░  10% used  ·  61% of time  ·  resets in 2d 18h
```

- **제한 창마다 막대 하나**: 엔진이 보고하는 창은 `Session`(5시간), `Week`(7일), 게이트웨이 지출 제한을 위한 `Spend`입니다. 색상은 창을 나타냅니다. 채워진 부분은 사용한 양이고 음영 부분은 남은 양입니다.
- **`% of time`**은 재설정 시각을 기준으로 계산한 창의 경과 비율입니다.
- **표시**는 출력된 두 숫자를 비교합니다. 5포인트보다 앞서면 `% used`가 호박색으로 바뀌고 `N pts ahead of the clock`이 추가됩니다. 25포인트보다 앞서거나 사용량이 95% 이상이면 빨간색이 됩니다. 길이를 알 수 없는 창(지출 제한)에는 시계가 없으므로 거의 가득 찼을 때만 표시됩니다.
- **세션 비용**은 헤더 줄에 표시됩니다.

## 사용법

`/usage-bar`로 전환합니다. 모든 세션에서 기본으로 켜져 있습니다.

## 작동 방식

- `$.session.usage()`에서 마지막 API 응답의 속도 제한 창과 세션 비용을 읽습니다.
- 각 프롬프트와 턴이 끝난 뒤 새로 고치고, 카운트다운이 계속 움직이도록 1분마다도 갱신합니다.
- `AbovePrompt` 밴드에 그리며, 그곳에 그리는 다른 밴드 위에 표시합니다. 설문이 표시되는 동안에는 비켜 둡니다.

## 제한

- 엔진이 보고하는 창만 표시합니다. 모델별 행(예: Sonnet만)은 없으므로 `/usage`의 모든 줄과 일치하지 않습니다.
- 구독 플랜을 사용하지 않으면 그릴 제한이 없으며 "No plan limits reported for this account."라고 표시합니다.
- 창 길이는 5시간과 7일이라고 가정합니다. 창이 정확히 그 길이가 아니면 `% of time`은 근사값입니다.

## Install

```
claude plugin marketplace add jimmyeao/claude-code-bars
claude plugin install usage-bar
```

## Original README

# usage-bar

Draws your plan usage limits as bars above the prompt, and flags a window you are using faster than its clock (illustrative output, not real figures):

```
Usage  ·  amber = using a window faster than its clock  ·  session $12.19
Session █████████████████████░░░░░  79% used  ·  47% of time  ·  32 pts ahead of the clock  ·  resets in 2h 40m
Week    ███░░░░░░░░░░░░░░░░░░░░░░░  10% used  ·  61% of time  ·  resets in 2d 18h
```

- **One bar per limit window** the engine reports: `Session` (5 hours), `Week` (7 days), and `Spend` for a gateway spend limit. The colour says which window it is. The solid part is what you have used, the shaded part is what is left.
- **`% of time`** is how much of the window has already passed, worked out from its reset time.
- **The flag** compares the two printed numbers. More than 5 points ahead turns `% used` amber and adds `N pts ahead of the clock`. More than 25 points ahead, or 95% used or more, turns it red. A window with no known length (the spend limit) has no clock, so it is flagged only when nearly full.
- **Session cost** appears in the header line.

## Use

`/usage-bar` toggles it. It starts on in every session.

## How it works

- Reads `$.session.usage()`: the rate-limit windows from the last API response, and the session cost.
- Refreshes after each prompt and finished turn, and once a minute so the countdowns keep moving.
- Draws in the `AbovePrompt` band, on top of whatever other band mods draw there. It steps aside while a survey is showing.

## Limits

- It shows only the windows the engine reports. There are no per-model rows (for example Sonnet-only), so it will not match every line of `/usage`.
- Off a subscription plan there are no limits to draw, and it says "No plan limits reported for this account."
- The 5-hour and 7-day window lengths are assumed. If a window is not exactly that long, `% of time` is approximate.
