andras-gyarmati/claude-quota-band
quota-band
프롬프트 위 한 줄에 5시간 및 주간 플랜 사용량, 컨텍스트 창의 가득 찬 정도와 프롬프트 캐시 남은 시간을 표시하고 선택적 사용자 지정 프롬프트 버튼을 제공하는 Claude Code 플러그인입니다.
이 mod 소개
quota-band는 프롬프트 위 한 줄에 플랜 사용량을 계속 보여 주는 Claude Code 상태 HUD mod입니다.
5시간 및 주간 창을 사용률만큼 채워지는 막대로 표시하고, 경과한 창의 비율을 회색 눈금으로, 시간/일 눈금으로 보여 줍니다. 색상은 95%부터 빨강, 80%부터 주황, 균등한 속도보다 앞서면 노랑, 그 외에는 흰색입니다. → N% 표시는 현재 속도대로 재설정 시점에 도달할 위치를 나타내며 재설정 시간도 표시합니다. ctx(컨텍스트 창이 얼마나 찼는지와 콜드 캐시에서 다음 요청이 다시 보낼 토큰 수) 및 cache(프롬프트 캐시가 따뜻하게 유지되는 시간이며 매 턴이 끝날 때 transcript에서 읽고 마지막 5분에는 알림과 함께 주황색, 콜드 상태가 되면 빨간색)를 보고합니다.
선택적 버튼 두 개로 원하는 프롬프트를 보낼 수 있으며 /config 또는 settings.json의 pluginConfigs에서 설정합니다.
Claude Code가 각 응답에서 이미 받는 수치(session.measure)를 읽을 뿐 자체 요청을 보내지 않고 파일도 읽거나 쓰지 않습니다. Claude Code 2.1.287 이상과 Pro, Max 또는 Team 플랜이 필요합니다. 막대는 데스크톱 앱의 Code 탭에 렌더링되고 터미널에는 같은 줄이 텍스트로 표시됩니다.
/plugin marketplace add andras-gyarmati/claude-quota-band를 실행한 다음 /plugin install quota-band@claude-quota-band로 설치합니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add andras-gyarmati/claude-quota-band claude plugin install quota-band
원문 / README
quota-band
A Claude Code mod that keeps your plan's usage in view: one line above the prompt with the 5-hour and weekly windows, the context window and the prompt cache's time left.
5h ▬▬▬▬▬▬▬▬▬ 93% → 100% 23:10 7d ▬▬▬▬▬▬▬ 72% 11:00 ctx ▬▬▬ 37% 370k cache ▬▬▬ 42m
- Each bar fills with the percent used. A grey tick marks how much of the window has passed, and the notches are hours (5h) or days (7d).
- Colours: red from 95%, orange from 80%, yellow while you are ahead of an even pace, white otherwise.
→ N%is where the current pace lands by the reset, with a dashed outline on the bar.- The time is when the window resets.
ctxis how full the context window is;370kis what the next request re-sends, which a cold cache has to write again.cachedrains over the time the prompt cache stays warm after the last response: the length the last response actually wrote, read from the transcript at the end of each turn, so it drops to five minutes in overage. Until the first turn ends (and on Windows, which has notail) it assumes an hour on a subscription's main thread, five minutes otherwise, or whatpromptCacheTtlsets. It turns orange in the last five minutes, with a toast, and red once cold.
Buttons
Two optional buttons send a prompt of your choice, for example a wrap-up skill. Set them in /config under the plugin's options, or in settings.json:
"pluginConfigs": {
"quota-band@claude-quota-band": {
"options": { "closeCommand": "/close-thread", "renamePrompt": "Rename this thread to cover every topic in it" }
}
}
Empty hides a button. A press during a turn waits until the turn ends.
It reads the figures Claude Code already receives with each response (session.measure), so it sends no requests of its own and reads or writes no files. The figures appear after the first response of a session, on Pro, Max and Team plans.
Install
Needs Claude Code 2.1.287 or later (Claude Mods). In Claude Code:
/plugin marketplace add andras-gyarmati/claude-quota-band
/plugin install quota-band@claude-quota-band
To pick up new versions on each start, set "autoUpdate": true for this marketplace under extraKnownMarketplaces in settings.json.
Bars draw in the desktop app's Code tab; the terminal shows the same line as text.


