ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
Reddit 게시물 · 작성자 Antpocalypse_7

5시간/주간 사용량, 재설정 예측, 컨텍스트 비율을 프롬프트 상자 위에 실시간으로 보여 주는 Mod를 만들었습니다. 자동 압축과 수동 버튼도 지원합니다

한 Reddit 작성자가 프롬프트 상자 위에 5시간 및 주간 사용량, 재설정 예측과 컨텍스트 창 비율을 표시하고, 수동 Compact 버튼과 선택적 자동 압축(15%-99% 설정 가능, 기본 30%)을 제공하는 Claude Code 플러그인을 소개합니다.

번역 완료

이 mod 소개

프롬프트 상자 위에 놓이는 Claude Code 상태 HUD mod입니다. Plan usage limits 패널과 일치하는 실시간 5시간 및 주간 사용량, 평소 속도를 바탕으로 한 재설정 예측, /context와 같은 방식으로 Messages, Tools, Other로 나눈 컨텍스트 창 비율을 보여 줍니다. Compact 버튼과 15%에서 99% 사이에서 선택할 수 있는 세션별 자동 압축(기본 30%, 새 세션에서는 꺼짐)을 제공하고 기존 세션에 로드됩니다. 관련 사용량 정보와 타이머를 유지한 한 줄로 접을 수 있으며 /quota로 전환합니다. 다크 및 라이트 테마를 지원하고 데스크톱 앱 테마에 맞춰 자동 전환하며, 가장 좁은 창 너비를 포함한 모든 데스크톱 앱 너비에 대응합니다. 로컬에서 실행되고 컨텍스트 데이터와 각 답변에 포함된 사용량 데이터를 읽습니다. 약 2분마다 기존 로그인으로 /usage와 /context를 가져오는 네트워크 호출을 한 번 하며, 자격 증명을 직접 처리하지 않습니다. MIT 라이선스이고 대부분 한 파일이므로 설치 전에 읽는 것이 좋습니다. 빈 welcome 화면은 메시지를 보낼 때까지 그릴 수 없으며 v0.1.3이라 다듬어지지 않은 부분이 있을 수 있습니다. Claude Code에서 /plugin install claude-code-usage-quota --marketplace anantraghunath/claude-code-usage-quota-mod로 설치합니다. 저장소와 스크린샷: https://github.com/anantraghunath/claude-code-usage-quota-mod

설치

설치 방법은 원본 출처를 확인하세요.

원문 / README

I used to keep checking my usage way too often. Settings, the usage page, /usage , or the little circle for the Context usage. I also kept forgetting to compact until the context was huge and my limits were draining faster. When I found out yesterday that Claude Mods have landed, I built a small helper that sits above the prompt and shows it all, along with a few more features I've wanted since I started using Claude Code in the Desktop App (also works in the terminal btw). What it shows: 5 Hour and Weekly usage, matching the app's own Plan usage limits panel (it's your whole account, so chat and Cowork use counts too) A forecast of where you'll be at reset. It learns your usual pace, so an early context burst doesn't set off alarms. If you're on course to run out, it says roughly when. Context window % with a Messages, Tools and Other breakdown, as /context counts it A Compact button, plus optional Auto compact at a % you pick (30% by default, but anywhere between 15% to 99% works). It's set per session and off for new sessions, so a big feature build can keep its full context if you'd like or you can save tokens when you don't need big context and are okay with compacting often. It loads on any existing chat/session once you open them and can also be collapsed to one line which still shows the relevant usage info and timers, and /quota toggles it on and off. Works on both Dark and Light Themes, automatically switching when you switch the theme on the desktop app. It also works on all window widths down to the narrowest in the desktop app. I t runs locally and reads what Claude Code already has (context data plus the usage data each reply carries). About every 2 minutes it calls the servers for /usage and /context via your existing login, the same data the usage panel shows to ensure up to date data on both, especially the context breakup data. That's the only network call. It never handles your credentials directly. It's MIT Licensed, mostly one file, so please read it before installing. Known limits: it can't draw on the desktop's empty "Welcome back" screen until you send a message, because there's no session there yet. And it's v0.1.3, so expect rough edges. Install from inside Claude Code: /plugin install claude-code-usage-quota --marketplace anantraghunath/claude-code-usage-quota-mod Repo and screenshots: https://github.com/anantraghunath/claude-code-usage-quota-mod Full disclosure: I built it with Claude Code in about a day. Feedback and bug reports are all welcome. Credit where it's due: this started from the prompt u/itsxzy shared in I'm liking the new mods feature . I took it and kept building. Thanks! submitted by /u/Antpocalypse_7 [link] [comments]

동명의 다른 작품

비슷한 프로젝트