KTCrisis/flux7-mods/tree/main/usage-bell
usage-bell
컨텍스트 사용량, 속도 제한 윈도우 또는 자동 메모리 인덱스가 한도에 가까워지면 세션 안에서 토스트를 울리는 Claude Code 플러그인입니다.
이 mod 소개
세션이 한도에 가까워지면 Claude Code 세션 안에서 알립니다. 각 session.measure에서 컨텍스트 윈도우의 70/85/95%, 보고된 속도 제한 윈도우(5h, 7d)의 80/95%와 재설정 시간, 그리고 자동 메모리 인덱스(MEMORY.md)의 200줄 또는 25,000바이트 로드 한도의 90%에서 토스트를 표시합니다. 각 임계값은 올라갈 때 한 번 울리고 5포인트 내려가면 다시 활성화됩니다. 프롬프트 아래에는 ctx 62% · 5h 41% · 7d 12% · mem 145/200처럼 희미하게 표시되며 /usage7은 임계값과 함께 출력하고 /usage7 test는 샘플을 울립니다. 신호만 보내며 컴팩션이나 정리는 절대 수행하지 않습니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add KTCrisis/flux7-mods claude plugin install usage-bell
원문 / README
usage-bell
Rings, inside a Claude Code session, when the session nears a limit.
What it does
On each session.measure (the engine pushes one after every turn, and when a
rate-limit window moves a point):
- context: a toast at 70, 85 and 95 % of the window, with the tokens;
- rate limits: a toast at 80 and 95 % of each window the last response
reported (
5h,7d), with the time it resets; none off a subscription.
And for the auto-memory index (MEMORY.md, found in the session's own
context breakdown at start): read at start and after each Write or Edit into
its folder. The engine cuts it at load past 200 lines or 25,000 bytes
(2.1.288); the bell rings at 90 % of either, and again once it is past.
Each threshold rings once on the way up; a value that falls 5 points under it
(a compaction, /clear, a window that reset) arms it again.
The readings ride dim at the end of the hint line under the prompt, ctx 62% · 5h 41% · 7d 12% · mem 145/200, rather than as a pinned status line, which
the engine draws with a warning sign; /usage7 prints them against their
thresholds.
With avatar7 loaded, the avatar announces each toast in its own voice, in
amber. Neither mod depends on the other. /usage7 test rings a sample toast,
to hear that voice without waiting for a threshold.
Limits
- It signals and never acts: no compaction, no memory pruning.
- The memory limits are the engine's constants in 2.1.288; a later build may move them.
- Cost is left out: on a subscription it means nothing.
배지 받기
내 프로젝트인가요? 이 배지를 README나 웹사이트에 넣으면 이 페이지로 연결됩니다.
