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

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

Claude Code 的頁尾。在提示列下方提示行右側的槽位中顯示以下內容:

99% ~58m;過期或壓縮後會變成 cold。
◆ Opus 5.5 (1M) ▆ high,依模型系列和 effort 等級著色。點選任一項會顯示一列選項,可選擇其他項目;這會代替你執行 /model 或 /effort。/clear 後,以及新的工作階段中,Claude Code 要等下一次回應才有測量值。期間進度條顯示 Claude Code 自己的本機估算值(/context 產生的值),並以 ~ 標記。⇊ and clear ⌫:按一下後會先詢問 clear context? yes no。問題會在 5 秒後自行消失,因此誤按不會產生作用。在較窄的終端機中標籤會縮短;如果一列放不下所有內容,各區塊會堆疊。
其他模組放在相同槽位的內容,例如 warm-compact 的開關選項,會與引擎本身的模式標籤一起放在該列最右端。
claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install context-bar@zied-mods
然後重新啟動 Claude Code。
請參閱repository README,瞭解如何從 clone 執行。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add ziedgithub/claude-code-mods claude plugin install context-bar
A footer for Claude Code. In the slot right of the hint line under the prompt, it shows:

99% ~58m, then cold once it has lapsed or after a compaction.
◆ 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./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 ~.⇊ 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.
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.