ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 DJPalefaceSD

speedometer

提示符上方的速度表:显示 Claude 上下文窗口的使用程度。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/speedometer

已翻译

关于这个 mod

Speedometer

提示符上方的速度表:显示 Claude 上下文窗口有多满。

🏎️ SPEEDOMETER 0 ███ ½ █░░ MAX  context 67% full

像看汽车仪表盘一样读取:左侧是 0,右侧是 MAX。有空间时为绿色,60% 起为黄色,85% 起为红色;到达红线时显示一次提示,让你可以在 Claude 自动执行前使用 /compact。

  • /speed 或 /speedometer 输出刻度盘。
  • /speed hide 和 /speed show 切换显示条。

它是同一仪表盘上 Gas Gauge 的姊妹插件。显示条会绘制在终端和 Claude 桌面应用的 Code 标签页中。它只读取 Claude Code 已经拥有的数值,不会向任何地方发送内容。

已在 Claude Code 2.1.287 上测试。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install speedometer
原文 / README

Speedometer

A speedometer above the prompt: how full Claude's context window is.

🏎️ SPEEDOMETER 0 ███ ½ █░░ MAX  context 67% full

Read it like a car's dash: 0 on the left, MAX on the right. Green while there is room, yellow from 60%, red from 85%, with one toast when it redlines so you can /compact before Claude does it for you.

  • /speed or /speedometer prints the dial.
  • /speed hide and /speed show toggle the band.

Gas Gauge's sibling on the same dash. The band draws in the terminal and in the Code tab of the Claude desktop app. It reads only the figures Claude Code already has, and sends nothing anywhere.

Tested with Claude Code 2.1.287.

更多类似作品