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

context-bar

Claude Code용 푸터입니다. 프롬프트 아래 힌트 줄 오른쪽 슬롯에 다음을 표시합니다.

ziedgithub@ziedgithub

ziedgithub/claude-code-mods/tree/main/context-bar

원본 게시물 이미지1
번역 완료

이 mod 소개

context-bar

Claude Code용 푸터입니다. 프롬프트 아래 힌트 줄 오른쪽 슬롯에 다음을 표시합니다.

context-bar, a rendered preview

  • Cache: 마지막 프롬프트 중 캐시가 제공한 양과 만료까지의 대략적인 시간: 99% ~58m; 만료되거나 컴팩션된 뒤에는 cold가 됩니다.
    • 계정의 캐시가 5분인지 1시간인지는 요청 자체로 판단하고 세션 사이에 기억합니다.
  • Model and effort: ◆ Opus 5.5 (1M) ▆ high; 모델 제품군과 effort 수준에 따라 색상이 달라집니다. 어느 쪽이든 클릭하면 칩 행이 나타나 다른 항목을 고를 수 있습니다. 대신 /model 또는 /effort를 실행합니다.
  • Context: 컨텍스트 윈도우가 얼마나 찼는지 막대로 표시하며 30% 미만은 초록, 60% 미만은 주황, 그 이후는 빨강입니다.
    • 컴팩션 또는 /clear 직후와 새 세션에서는 다음 응답 전까지 Claude Code에 측정값이 없습니다. 그동안 막대에는 ~로 표시한 Claude Code 자체의 로컬 추정치(/context가 만드는 값)가 표시됩니다.
  • Compact ⇊ and clear ⌫: 한 번 클릭하면 먼저 clear context? yes no를 묻습니다. 질문은 5초 뒤 저절로 사라지므로 잘못 클릭해도 아무 일도 없습니다.

좁은 터미널에서는 레이블이 짧아지고, 한 줄에 모두 들어가지 않으면 블록이 쌓입니다.

warm-compact's on/off 칩처럼 다른 mod가 같은 슬롯에 넣는 항목은 엔진 자체 모드 레이블과 함께 행의 오른쪽 끝에 표시됩니다.

Install

claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install context-bar@zied-mods

그런 다음 Claude Code를 다시 시작합니다.

클론에서 실행하는 방법은 repository README를 참고하세요.

설치

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

claude plugin marketplace add ziedgithub/claude-code-mods
claude plugin install context-bar
원문 / README

context-bar

A footer for Claude Code. In the slot right of the hint line under the prompt, it shows:

context-bar, a rendered preview

  • Cache: how much of the last prompt the cache served, and roughly how long until it expires: 99% ~58m, then cold once it has lapsed or after a compaction.
    • Whether your account caches for 5 minutes or an hour is worked out from the requests themselves, and remembered between sessions.
  • Model and effort: ◆ Opus 5.5 (1M) ▆ high, colored by model family and by effort level. Click either one to get a row of chips and pick another. This runs /model or /effort for you.
  • Context: how full the context window is, in a bar that is green under 30%, orange under 60% and red after that.
    • After a compaction or a /clear, and in a fresh session, Claude Code has no measured figure until the next response. Meanwhile the bar shows Claude Code's own local estimate (the one /context makes), marked with ~.
  • Compact ⇊ and clear ⌫: one click asks first (clear context? yes no). The question goes away by itself after five seconds, so a stray click does nothing.

On a narrow terminal the labels shorten, and when one row can't hold everything the blocks stack.

What other mods put in the same slot, such as warm-compact's on/off chip, goes at the right end of the row, along with the engine's own mode labels.

Install

claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install context-bar@zied-mods

Then restart Claude Code.

See the repository README for running it from a clone.

동명의 다른 작품

비슷한 프로젝트