iamkhalid2/usage-band/tree/main/plugins/usage-band
usage-band
Claude Code에서 프롬프트 위에 얇은 복고풍 줄을 그려 5시간 및 주간 플랜 사용량과 재설정 타이머를 보여 주는 모드입니다.
이 mod 소개
usage-band는 Claude Code 플러그인으로, 프롬프트 위에 복고풍 한 줄을 표시해 플랜 사용량 한도를 얼마나 소비했는지 보여 줍니다.
- 5H: 이동하는 5시간 창, WK: 주간 창입니다.
- 막대에는 채도를 낮춘 70년대 석양 그라데이션(청록색, 머스터드색, 번트 오렌지, 벽돌색)을 사용하므로 막대가 찰수록 더 따뜻한 색으로 보입니다.
- 폭이 70열 이상인 터미널에서는 각 창이 재설정될 때까지의 시간을 표시합니다.
- 구독 플랜에서 Claude Code가 첫 응답으로부터 값을 읽은 뒤에만 한 줄이 표시되며, 애니메이션이나 테두리는 없습니다.
- 터미널과 데스크톱 앱에서
AbovePrompt슬롯을 통해 동작합니다.
설치:
claude plugin marketplace add iamkhalid2/usage-band
claude plugin install usage-band@usage-band
/usage-band로 전환합니다. 내부적으로 hooks 모듈(plugins/usage-band/hooks/register.tsx)이 속도 제한 창을 위해 session.measure를 듣고 AbovePrompt의 ui.render hook에서 그립니다. 사용량 수치만 읽고 네트워크 요청은 하지 않으며 세션 밖에는 아무것도 저장하지 않습니다. MIT 라이선스입니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add iamkhalid2/usage-band claude plugin install usage-band
원문 / README
usage-band
A Claude Code mod: a slim, retro-styled line above the prompt that shows how much of your plan's usage limits you've used.
5H ▰▰▰▰▰▰▱▱▱▱▱▱ 62% · 2h 14m ◆ WK ▰▰▱▱▱▱▱▱▱▱▱▱ 31% · 3d 4h
- 5H: the rolling 5-hour window. WK: the weekly window.
- Bars run through a muted 70s sunset gradient (teal, mustard, burnt orange, brick), so a fuller bar reads warmer.
- Shows time until each window resets (on windows 70+ columns wide).
- One line, no animation, no border. It stays out of the way.
- Shown only on a subscription plan, once Claude Code has a reading from your first response. Without rate-limit data there is nothing to draw.
- Works in the terminal and the desktop app (the
AbovePromptslot).
Install
claude plugin marketplace add iamkhalid2/usage-band
claude plugin install usage-band@usage-band
Start a new session (or reload plugins in a running one).
Use
It shows up on its own. /usage-band hides or shows the line.
Uninstall
claude plugin uninstall usage-band@usage-band
How it works
A hooks module (plugins/usage-band/hooks/register.tsx) listens to session.measure for the rate-limit windows and draws them in a ui.render hook on the AbovePrompt component. It reads usage figures only; it makes no network requests of its own and stores nothing outside the session.
License
MIT
Contact
동명의 다른 작품
- usage-bandKhadeerBasha1232 · ★ 8
- usage-bandyash-gadodia · ★ 1
- usage-bandpawandeepdhall · ★ 1
- usage-bandersinkoc · ★ 1
- usage-bandRektyRowdyy · ★ 0
- usage-bandnemokoala · ★ 0
