Ryan-LT/claude-mods
프롬프트 위에 5시간 및 주간 한도를 표시하고 한도에 도달하기 전에 경고하는 Claude Code 모드를 만들었습니다
두 개의 작은 Claude Code 플러그인 API 모드: limits는 프롬프트 위에 5시간 및 주간 사용량, 백분율, 재설정 카운트다운, 컨텍스트 창 채우기를 표시하는 밴드를 보여주고 75/90/100%에서 토스트를 표시합니다. idle-compact는 40분 유휴 후 /compact를 실행하여 프롬프트 캐시를 따뜻하게 유지합니다.
이 mod 소개
주중에 경고 없이 계속 차단당해서 두 개의 작은 Claude Code 모드를 만들었습니다. 이들은 Claude Code의 플러그인 API에 연결되므로 래퍼나 추가 프로세스가 없습니다.
limits: 프롬프트 위에 항상 표시되는 밴드
5시간 및 주간 사용량: 막대, 사용된 백분율, 재설정까지의 카운트다운
현재 속도로 재설정 전에 한도를 모두 사용하게 되면 백분율이 빨간색으로 변합니다.
컨텍스트 창 채우기, 그리고 75/90/100%에서 토스트
idle-compact: 큰 채팅으로 더 저렴하게 복귀
40분 유휴 후 캐시가 아직 따뜻할 때 /compact를 실행합니다.
설치:
/plugin install limits --marketplace Ryan-LT/claude-mods /plugin install idle-compact --marketplace Ryan-LT/claude-mods
저장소(MIT): https://github.com/Ryan-LT/claude-mods
설치
설치 방법은 원본 출처를 확인하세요.
원문 / README
I kept getting blocked mid-week without warning, so I built two small Claude Code mods. They hook into Claude Code's plugin API, so there's no wrapper and no extra process. limits : an always-on band above the prompt 5-hour and weekly usage: a bar, the percent used and a countdown to the reset The percent turns red when your current pace would use up the limit before it resets. You find out on Tuesday, not when you're blocked on Thursday. Context window fill, plus toasts at 75/90/100% idle-compact : cheaper returns to big chats The prompt cache expires after an hour, so coming back to a 300k-token chat reloads all of it at full price After 40 min idle, it runs /compact while the cache is still warm, so the chat you return to is small It never compacts a chat you reopened cold, since that would cost full price How it works (if you want to build your own): limits renders an AbovePrompt band from the rate-limit readings Claude Code already receives. It shares one reading across all open sessions through the plugin store, so 10 open chats still make only one 1-token Haiku request every 2 min to stay fresh. Install (in terminal claude ): /plugin install limits --marketplace Ryan-LT/claude-mods /plugin install idle-compact --marketplace Ryan-LT/claude-mods Repo (MIT): https://github.com/Ryan-LT/claude-mods Feedback and ideas welcome! submitted by /u/Equivalent_Scary to r/ClaudeAI [link] [comments]
