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

자동 압축 옵션과 수동 압축 버튼을 사용하여 5hQXZKQZXAQ 사용량을 실시간으로 표시하고 프롬프트 상자 위에 예측 재설정 및 컨텍스트 %를 표시하는 모드를 만들었습니다.

나는 내 사용량을 너무 자주 확인하곤 했어요. 설정, 사용법 페이지, /usage 또는 컨텍스트 사용법을 위한 작은 원. 또한 컨텍스트가 거대해지고 한계가 더 빨리 소모될 때까지 압축하는 것을 계속 잊어버렸습니다. 어제 Claude Mods가 도착했다는 사실을 알았을 때 저는 데스크톱 앱에서 Claude Code를 사용하기 시작한 이후 원했던 몇 가지 추가 기능과 함께 프롬프트 위에 앉아서 모든 것을 보여주는 작은 도우미를 만들었습니다(터미널 btw에서도 작동함). 표시 내용: 5 시간 및 주간 사용량, 앱의 자체 요금제 사용량 제한 패널과 일치(전체 계정이므로 채팅 및 Cowork 사용 횟수도 포함) 재설정 위치에 대한 예측입니다. 일반적인 속도를 학습하므로 초기 컨텍스트 버스트가 경보를 울리지 않습니다. 다 떨어질 코스에 있으면 대략적인 시기를 알려주고 경고해 줍니다. /context가 계산하는 대로 메시지, 도구 및 기타 분석이 포함된 컨텍스트 창 % 압축 버튼과 선택 사항으로 선택한 %에서 자동 압축(기본적으로 30%이지만 15%에서 99%까지 작동). 세션별로 설정되고 새 세션에 대해서는 꺼지므로 원하는 경우 큰 기능 빌드에서 전체 컨텍스트를 유지할 수 있거나 큰 컨텍스트가 필요하지 않고 구성에 문제가 없을 때 토큰을 저장할 수 있습니다.

번역 완료

이 mod 소개

나는 내 사용량을 너무 자주 확인하곤 했어요. 설정, 사용법 페이지, /usage 또는 컨텍스트 사용법을 위한 작은 원. 또한 컨텍스트가 거대해지고 한계가 더 빨리 소모될 때까지 압축하는 것을 계속 잊어버렸습니다. 어제 Claude Mods가 도착했다는 사실을 알았을 때 저는 데스크톱 앱에서 Claude Code를 사용하기 시작한 이후 원했던 몇 가지 추가 기능과 함께 프롬프트 위에 앉아서 모든 것을 보여주는 작은 도우미를 만들었습니다(터미널 btw에서도 작동함). 표시 내용: 5 시간 및 주간 사용량, 앱의 자체 요금제 사용량 제한 패널과 일치(전체 계정이므로 채팅 및 Cowork 사용도 계산됩니다) 재설정 위치에 대한 예측입니다. 일반적인 속도를 학습하므로 초기 컨텍스트 버스트가 경보를 울리지 않습니다. 다 떨어질 코스에 있으면 대략적인 시기를 알려주고 경고해 줍니다. /context가 계산하므로 메시지, 도구 및 기타 분석이 포함된 컨텍스트 창 % 압축 버튼과 선택 사항인 %에서 자동 압축(기본적으로 30%이지만 15%에서 99%까지 작동). 세션별로 설정되고 새 세션에 대해 해제되므로 원하는 경우 큰 기능 빌드에서 전체 컨텍스트를 유지할 수 있거나 큰 컨텍스트가 필요하지 않고 자주 압축해도 괜찮을 때 토큰을 저장할 수 있습니다. 기존 chat/session를 열면 로드되고 관련 사용 정보와 타이머를 계속 표시하는 one 라인으로 축소될 수도 있으며, /quota는 이를 켜고 끕니다. 어두운 테마와 밝은 테마 모두에서 작동하며 데스크탑 앱에서 테마를 전환하면 자동으로 전환됩니다. 또한 데스크톱 앱의 가장 좁은 창 너비까지 모든 창 너비에서 작동합니다. 나는 로컬로 실행되어 Claude Code가 이미 가지고 있는 것(컨텍스트 데이터와 각 응답이 전달하는 사용 데이터)을 읽습니다. 매 2분마다 기존 로그인을 통해 /usage 및 /context에 대한 서버를 호출합니다. 이는 사용량 패널에 표시되는 것과 동일한 데이터로 두 가지 모두에 대한 최신 데이터, 특히 컨텍스트 분할 데이터를 보장합니다. 이것이 유일한 네트워크 호출입니다. 자격 증명을 직접 처리하지 않습니다. MIT Licensed이며 대부분 one 파일이므로 설치 전 꼭 읽어보시기 바랍니다. 알려진 제한: 아직 세션이 없기 때문에 메시지를 보낼 때까지 데스크톱의 빈 "환영" 화면에 그림을 그릴 수 없습니다. 그리고 v0.1.3이므로 가장자리가 거칠 것으로 예상됩니다. Claude Code 내부에서 설치: /plugin install claude-code-usage-quota --marketplace anantraghunath/claude-code-usage-quota-mod Repo 및 스크린샷: https://github.com/anantraghunath/claude-code-usage-quota-mod 전체 공개: Claude Code를 사용하여 약 하루 만에 구축했습니다. 피드백과 버그 리포트 모두 환영합니다. 예정된 크레딧: 이는 u/itsxzy가 I'm like the new mods feature에서 공유한 프롬프트에서 시작되었습니다. 나는 그것을 가지고 계속 건물을 지었습니다. 감사해요! /u/Antpocalypse_7에 의해 제출됨 [링크] [댓글]

설치

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

원문 / 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 and warns you. 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]

동명의 다른 작품

비슷한 프로젝트