ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 LeeHigma0201

usage-meter

컨텍스트 사용량, 5시간 및 주간 플랜 한도, 세션 비용을 상태 줄에 표시하고 Remote Control용 /usage-meter도 제공합니다.

LeeHigma0201@LeeHigma0201

LeeHigma0201/claude-code-mods/tree/main/mods/usage-meter

번역 완료

이 mod 소개

세션이 한도에 비해 어디에 있는지 보여 줍니다. 읽기 전용이며 끝내라고 재촉하지 않습니다.

  • 상태 줄은 매 턴 뒤와 플랜 창이 한 포인트 움직일 때 새로 고칩니다: ctx 42% · 5h 81% · 7d 23% · $3.10. 컨텍스트 채움, 5시간 및 7일 플랜 창, 세션 비용을 뜻합니다. 비용은 API 환산 값이며 구독 사용량이 아닙니다. 실제 지출은 /money가 담당합니다.
  • 토스트는 플랜 창이 80%와 95%를 처음 넘을 때 표시합니다(창마다, 재설정마다 한 번).
  • **/usage-meter**는 같은 수치와 재설정 시간을 트랜스크립트 줄로 보여 줍니다. 상태 줄이 그려지지 않는 휴대폰의 Remote Control에서 사용하세요.

플랜 창은 구독에서만 세션의 첫 응답 이후 표시됩니다.

Hooks: session.start(명령 등록), session.measure, command.run. 호출: $.session.usage, $.ui.status, $.ui.toast, $.clock.now, $.command.register.

테스트: claude plugin test .(3개 테스트). 제거 방법은 저장소 README를 참고하세요.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add LeeHigma0201/claude-code-mods
claude plugin install usage-meter
원문 / README

usage-meter

Shows where the session stands against its limits. It is read-only and never nudges you to wrap up.

  • Status line, refreshed after every turn and whenever a plan window moves a point: ctx 42% · 5h 81% · 7d 23% · $3.10. That is context fill, the 5-hour and 7-day plan windows, and session cost. Cost is the API-equivalent figure, not subscription usage; /money owns real spend.
  • Toast the first time a plan window crosses 80% and 95% (once per window per reset).
  • /usage-meter: the same readings with reset times, as a transcript line. Use this one from the phone over Remote Control, where the status line isn't drawn.

Plan windows show only on a subscription, after the first response of the session.

Hooks: session.start (registers the command), session.measure, command.run. Calls: $.session.usage, $.ui.status, $.ui.toast, $.clock.now, $.command.register.

Test: claude plugin test . (3 tests). Uninstall: see the repo README.

동명의 다른 작품

비슷한 프로젝트