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,了解如何从克隆目录运行。
请先查看作者 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.