---
title: "odometer"
url: "https://claudemods.dev/zh-tw/builds/odometer-acd8c3"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/odometer"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/odometer"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "儀表板與 HUD"
categories: ["hud"]
tags: ["cost", "hooks", "plugin", "session-timer", "statusline"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install odometer"
added: "2026-10-05T01:44:50.692Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# odometer

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

## Description

# 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 上測試。

## Install

```
claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install odometer
```

## Original 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.
