---
title: "odometer"
url: "https://claudemods.dev/zh-cn/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-cn"
content_locale: "zh-cn"
---

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