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

gas-gauge

프롬프트 위의 연료 게이지입니다. 각 창에 Claude 요금제가 얼마나 남았고 언제 다시 채워지는지 보여 줍니다.

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/gas-gauge

번역 완료

이 mod 소개

Claude Code 플러그인으로 프롬프트 위에 연료 게이지를 표시해 각 창의 Claude 요금제 잔량과 보충 시점을 알려 줍니다.

표시 예: ⛽ 5-hour E ███ ½ █░░ F 71% @ 3:40 PM. 자동차 게이지처럼 왼쪽은 E, 오른쪽은 F, 가운데는 ½입니다. 반 탱크보다 많으면 녹색, 5분의 1보다 많으면 노란색, 그 아래는 빨간색입니다. 각 게이지는 띠의 절반을 차지합니다. 잔량이 25% 아래로 내려가면 한 번, 10% 아래로 내려가면 다시 한 번 알림을 냅니다.

명령: /gas는 모든 탱크를 출력하고 /gas hide는 숫자를 상태 줄로 옮기며 /gas show는 띠를 복원합니다.

/config의 Tanks to show 설정으로 both(기본값), 5-hour만, week만 표시할 창을 고릅니다. 제외한 탱크는 띠, /gas, 경고, 상태 줄 어디에서도 표시되지 않습니다.

수치는 Claude Code가 각 응답에서 직접 읽는 값이므로 Claude가 한 번 답한 뒤 게이지가 채워집니다. 요금제 창이 없는 API key에서는 비어 있습니다. 띠는 터미널과 Claude 데스크톱 앱의 Code 탭에 그려집니다(휴대폰 앱은 아직 지원하지 않음). Claude Code 2.1.288에서 테스트되었습니다.

설치

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

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install gas-gauge
원문 / README

Gas Gauge

A fuel gauge above the prompt: how much of your Claude plan is left in each window, and when it refills.

⛽ 5-hour  E ███ ½ █░░ F  71%  @ 3:40 PM

Read it like a car: E on the left, F on the right, the ½ mark in the middle. Green above half a tank, yellow above a fifth, red below that.

Each gauge takes half the band. A toast fires once when a tank drops past 25% left, and again past 10%.

  • /gas prints every tank.
  • /gas hide moves the numbers to the status line. /gas show brings the band back.

The Tanks to show setting, in /config, picks which windows the gauge shows: both (the default), 5-hour alone, or week alone. A tank it leaves out is gone everywhere, from the band, /gas, the warnings and the status line.

The numbers are the ones Claude Code itself reads off each response, so the gauge fills after Claude has answered once. On an API key with no plan windows, it stays empty.

The band draws in the terminal and in the Code tab of the Claude desktop app. The phone app does not draw it yet.

Tested with Claude Code 2.1.288.

비슷한 프로젝트