DJPalefaceSD/rostech-mods/tree/main/plugins/odometer
关于这个 mod
Odometer
提示符上方的里程表:显示本次会话运行时间和目前成本。
🧭 1h 23m $3.10
成本是 /cost 为本次会话合计的数值。在 Claude 计划中,这表示按 API 价格计算的会话成本,并不是实际收费。时间从会话首次开始时计算,因此恢复的会话会保留原来的里程。
- /odometer 输出里程表。
- /odometer hide 和 /odometer show 切换显示。
它与 Gas Gauge 和 Speedometer 位于同一仪表盘上。只读取 Claude Code 已经拥有的数值,不会向任何地方发送内容。显示条会绘制在终端和 Claude 桌面应用的 Code 标签页中。
已在 Claude Code 2.1.287 上测试。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add DJPalefaceSD/rostech-mods claude plugin install odometer
原文 / README
Odometer
An odometer above the prompt: how long this session has run, and what it has cost so far.
🧭 1h 23m $3.10
The cost is the figure /cost totals for the session. On a Claude plan that
is what the session would cost at API prices, not a charge. The time counts
from when the session first began, so a resumed session keeps its miles.
/odometerprints it./odometer hideand/odometer showtoggle it.
It sits beside Gas Gauge and Speedometer on the same dash. It reads only the figures Claude Code already has, and sends nothing anywhere. The band draws in the terminal and in the Code tab of the Claude desktop app.
Tested with Claude Code 2.1.287.
