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

context-meter

Claude Code의 프롬프트 위에 상태 밴드를 추가해 자동 압축까지의 컨텍스트 사용량, 프롬프트 캐시 만료 카운트다운, 재설정 시간이 포함된 5시간/주간 사용량 제한, 콜드 세션 재개 보호를 보여 줍니다.

redzrush101@redzrush101

redzrush101/claude-mods/tree/main/plugins/context-meter

번역 완료

이 mod 소개

프롬프트 위에 밴드가 표시됩니다.

context ???€?€?€?€?€?€?€?€?€?€  19% 185k/967k 繚 cache 59m 繚 usage 5h 23% ??14:40 繚 week 41% ??Thu 09:00
  • context: 자동 압축 지점까지의 채움 정도입니다. 75%부터 노란색, 90%부터 빨간색으로 바뀝니다. 남은 횟수가 30보다 적어지면 압축 전 남은 턴 수를 보여 줍니다.
  • cache: 마지막 요청부터 계산한 프롬프트 캐시 만료까지의 시간입니다. 5분 전에 알림을 표시하고, 이후에는 cold 繚 next message re-reads ?圳를 표시합니다. 적중률이 80% 아래로 떨어지면 적중률도 나타납니다.
  • usage: 5시간 및 주간 제한과 재설정 시간입니다. 80%와 95%에서 알림을 표시합니다.
  • resume guard: 캐시가 만료된 세션을 재개하면 크기, 유휴 시간, 예상 재캐시 비용을 표시하고 Compact 및 Dismiss 버튼을 제공합니다. 컨텍스트가 50k를 넘으면 첫 메시지를 한 번만 보류합니다(다시 보내면 계속 진행됩니다).

자체적으로 API 요청을 보내지 않습니다. 모든 수치는 Claude Code가 이미 가진 값입니다.

옵션(/plugin configure context-meter@claude-mods): cacheTtlMinutes(기본값 60; 1시간 프롬프트 캐시는 60, 5분 캐시는 5) 및 resumeGuard(기본값 true; 콜드 재개 후 첫 메시지를 보류)입니다.

설치:

claude plugin marketplace add redzrush101/claude-mods
claude plugin install context-meter@claude-mods

테스트: claude plugin test plugins/context-meter.

설치

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

claude plugin marketplace add redzrush101/claude-mods
claude plugin install context-meter
원문 / README

claude-mods

Claude Code mods (plugins of function hooks).

claude plugin marketplace add redzrush101/claude-mods
claude plugin install context-meter@claude-mods

Or inside Claude Code: /plugin marketplace add redzrush101/claude-mods.

context-meter

A band above the prompt:

context ━━──────────  19% 185k/967k · cache 59m · usage 5h 23% ↻ 14:40 · week 41% ↻ Thu 09:00
  • context: fill against the auto-compact point; yellow from 75%, red from 90%. Turns left before compaction appear when fewer than 30 remain.
  • cache: time until the prompt cache expires, counted from the last request; a toast 5 minutes before, and cold · next message re-reads … after. The hit rate appears when it drops below 80%.
  • usage: the 5-hour and weekly limits with reset times; toasts at 80% and 95%.
  • resume guard: resuming a session whose cache expired shows its size, idle time and estimated re-cache cost, with Compact and Dismiss buttons, and holds the first message once when the context is over 50k (send again to go ahead).

It makes no API requests of its own: every figure is one Claude Code already has.

Options (/plugin configure context-meter@claude-mods):

| Option | Default | | | --- | --- | --- | | cacheTtlMinutes | 60 | 60 for the 1-hour prompt cache, 5 for the 5-minute one | | resumeGuard | true | hold the first message after a cold resume |

Tests: claude plugin test plugins/context-meter.

동명의 다른 작품

비슷한 프로젝트