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

elizabeth-progress

『은혼』의 Elizabeth가 프롬프트 위 컨텍스트 창 진행률 표시줄을 걷고 사용량, auto-compact까지 남은 턴, 제한, 세션 비용을 보여 주는 Claude Code mod입니다。

Yaxin9Luo@Yaxin9Luo

Yaxin9Luo/spending-effort-with-jev/tree/main/plugins/elizabeth-progress

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

이 mod 소개

Elizabeth가 컨텍스트 창을 걷습니다. 프롬프트 위에서 『은혼』의 Elizabeth가 컨텍스트 창 진행률 표시줄 위에 서서 얼마나 찼는지 보여 주는 표지판을 들고, 대화가 길어질수록 오른쪽으로 이동합니다. 표시줄은 창을 채우는 내용(메시지, 시스템 도구, MCP 도구, skills, 시스템 프롬프트)에 따라 색이 바뀌고, 끝의 auto-compact 영역에는 사선 패턴이 들어가며 auto-compact가 가까워질수록 기분도 변합니다. 컨텍스트 사용량, auto-compact 전 남은 턴(sparkline 포함), 5시간 및 주간 제한과 재설정 시각, 세션 비용을 보여 줍니다. 창이 좁으면 비용 열과 마지막 2개 범례 항목이 사라집니다. 터미널에서는 막대와 token / window(퍼센트)를 한 줄로 렌더링합니다. 다크 모드를 지원합니다。

설치

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

claude plugin marketplace add Yaxin9Luo/spending-effort-with-jev
claude plugin install elizabeth-progress
원문 / README

elizabeth-progress

Elizabeth walks your context window. A Claude Code mod: above the prompt, Elizabeth (from Gintama) stands on a progress bar of the context window, holding up a sign with how full it is, and walks right as the conversation grows.

Elizabeth's band at 28%, 72% and 81% of the context window, light theme

  • The bar is coloured by what fills the window (messages, system tools, MCP tools, skills, system prompt), with the auto-compact zone hatched at its end.
  • Her mood follows the way to auto-compact: calm, then angry from 80% of the way there (the sign flashes 💢), then in tears from 95%.
  • The figures on the right: context used, turns left before auto-compact (from the average rise of the last five turns, with a sparkline), the 5-hour and weekly limits with the time until each resets (↻), and the session's cost. In a window narrower than 900px the cost column and the last two legend entries drop out.
  • In the terminal it is one line: a bar and tokens / window (percent).

It shares the band: whatever other plugins draw above the prompt stays, and Elizabeth goes underneath. Dark mode is supported.

The same band, dark theme

Both pictures are drawn from made-up figures.

Install

Needs Claude Code 2.1.287 or later. No key and no options.

/plugin marketplace add Yaxin9Luo/spending-effort-with-jev
/plugin install elizabeth-progress@spending-effort-with-jev

Then /reload-plugins. The bar appears after Claude's first reply, when Claude Code first measures the context. The breakdown, the auto-compact zone and turns left fill in as turns end.

It is independent of the effort advisor in the same marketplace: install either or both.

Where the figures come from

All from Claude Code itself; nothing leaves your machine.

  • Context, rate limits and cost: the session.measure event, which Claude Code raises whenever it measures new figures (after each API reply). Nothing is polled.
  • The breakdown and the auto-compact threshold: $.session.usage({ breakdown: 'summary' }) at the end of each main-loop turn, a local estimate that makes no request.
  • Turns left: the context fill at the end of each main-loop turn, the last 40 kept in memory for the session. Subagents' turns are not counted.

Development

claude plugin test plugins/elizabeth-progress
claude plugin validate plugins/elizabeth-progress

hooks/elizabeth.ts draws the character (a pure function returning an SVG group), hooks/band.ts lays out the band, and hooks/register.tsx gathers the figures and draws the band on each surface.

About the character

Elizabeth is a character from Gintama by Hideaki Sorachi (Shueisha). The drawing here is hand-made, unofficial fan art; this plugin is not affiliated with or endorsed by the rights holders, and its MIT license covers the code and drawing only, granting no rights in the character. If you hold those rights and want it taken down, open an issue.

License

MIT, for the code and drawing; see LICENSE.

비슷한 프로젝트