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

cc-usage

플랜 사용량, 재설정 카운트다운, 세션 토큰, 비용, 실시간 초당 토큰을 보여 주는 Claude Code 상태 표시줄 플러그인으로, 검증된 매니페스트와 훅을 포함합니다.

번역 완료

이 mod 소개

cc-usage는 Claude Code 상태 표시줄 플러그인으로, 5시간 및 7일 플랜 사용량과 재설정 카운트다운, 세션 입력 및 출력 토큰, USD 기준 세션 비용, 실시간 출력 초당 토큰을 고정 폭 형식으로 표시합니다. 데스크톱 앱의 Code 탭과 CLI 모두에서 작동합니다. /plugin marketplace add leonardokidd/cc-usage 및 /plugin install cc-usage@cc-usage로 설치하며 Claude Code 2.1.286 이상이 필요합니다. /usage-bar로 행을 전환하고 /usage-bar raw로 원시 속도 제한과 비용 수치를 볼 수 있습니다. 사용량 필드에는 Claude 구독이 필요하며 수치는 읽기 전용이고 주 대화만 대상으로 합니다.

설치

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

claude plugin marketplace add leonardokidd/cc-usage
claude plugin install cc-usage
원문 / README

cc-usage

A Claude Code status line showing your plan usage, tokens, cost and live speed. Works in the desktop app's Code tab and the CLI.

cc-usage  ⏳ 5% | 2h 11m   📅 1% | 5d 6h   ⬆️ 99.9k   ⬇️ 6.2k   💵 10.6   ⚡ 𝟷𝟺𝟺.𝟶 t/s

| Field | Meaning | |---|---| | ⏳ | 5-hour limit used, and time until it resets | | 📅 | 7-day limit used, and time until it resets | | ⬆️ | Input tokens sent this session (fresh input plus prompt-cache reads and writes, summed over every request) | | ⬇️ | Output tokens this session; counts up live while Claude replies | | 💵 | Session cost in US dollars | | ⚡ | Output tokens per second; live while Claude replies, then the exact figure for the last reply. Fixed width (monospace digits) so the line does not shift as it updates |

Install

In Claude Code:

/plugin marketplace add leonardokidd/cc-usage
/plugin install cc-usage@cc-usage

Requires Claude Code 2.1.286 or newer (function-hook plugins, an early-access feature that may change between releases).

Commands

  • /usage-bar shows or hides the line.
  • /usage-bar raw prints the raw rate-limit and cost figures Claude Code hands the plugin.

Notes

  • Usage figures need a Claude subscription. Off a subscription the ⏳ and 📅 fields show --.
  • Usage can lag Settings → Usage by up to one reply. The figures arrive with each API response, so use in other chats appears after this session's next reply.
  • Percentages are whole numbers. Claude Code reports whole points, so they can differ from Settings by 1.
  • ⬆️ and ⬇️ cover the main conversation only. Subagent turns pass through uncounted.
  • Read-only. The plugin observes the session and adds one status line; it does not change prompts, tool calls, replies or anything else Claude Code draws.

License

MIT. See LICENSE.

비슷한 프로젝트