ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 DJPalefaceSD

odometer

提示字元上方的里程表:顯示這個工作階段執行了多久,以及目前花費多少。

DJPalefaceSD@DJPalefaceSD

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.

  • /odometer prints it.
  • /odometer hide and /odometer show toggle 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.

更多類似作品