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

讓《銀魂》的 Elizabeth 沿著提示列上方上下文視窗進度條行走的 Claude Code mod,顯示使用量、auto-compact 前剩餘回合、限制與工作階段成本。
Yaxin9Luo/spending-effort-with-jev/tree/main/plugins/elizabeth-progress

Elizabeth 會在你的上下文視窗中行走。提示列上方的 Elizabeth(來自《銀魂》)站在上下文視窗的進度條上,舉著顯示使用量的牌子,隨著對話增長向右走。進度條會依填滿視窗的內容著色(訊息、系統工具、MCP 工具、skills、系統提示),末端的 auto-compact 區域帶有斜線,Elizabeth 的心情會隨著接近 auto-compact 而變化。顯示的資料包括已使用的上下文、auto-compact 前剩餘回合(帶 sparkline)、5 小時和每週限制及重設時間,以及工作階段成本;視窗較窄時,成本欄和最後兩個圖例項目會隱藏。在終端機中,它以單行顯示列、token / window 和百分比。支援深色模式。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add Yaxin9Luo/spending-effort-with-jev claude plugin install 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.

tokens / window (percent).It shares the band: whatever other plugins draw above the prompt stays, and Elizabeth goes underneath. Dark mode is supported.

Both pictures are drawn from made-up figures.
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.
All from Claude Code itself; nothing leaves your machine.
session.measure event, which Claude Code raises whenever it measures new figures (after each API reply). Nothing is polled.$.session.usage({ breakdown: 'summary' }) at the end of each main-loop turn, a local estimate that makes no request.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.
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.
MIT, for the code and drawing; see LICENSE.