---
title: "tach"
url: "https://claudemods.dev/zh-tw/builds/tach-28c0b0"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/tach"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/tach"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "儀表板與 HUD"
categories: ["hud"]
tags: ["claude-code", "hooks", "hud", "plugin", "prompt", "tokens", "usage"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install tach"
added: "2026-10-05T01:46:51.041Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# tach

提示列上方的轉速表：在你選擇的時間範圍內，顯示 token 的消耗速度。

## Description

# Tach

提示列上方的轉速表。它會在十格橫條上顯示你目前消耗 token 的速度，也就是過去幾分鐘內每分鐘產生的 token 數。

- 綠色表示輕鬆，琥珀色是上半部。最上方兩格是紅色區域。
- 紅色區域以你自己的最高速率為基準，Tach 會跨工作階段記住它。這是你的紅線，不是別人的。
- `/tach` 會列印目前速率與最高速率。
- `/tach 15m` 或 `/tach 1h` 會變更範圍。預設值是 5 分鐘。
- `/tach hide` 與 `/tach show` 會切換橫條。

Tach 計算新產生的 token：每個回合新讀取的內容、寫入提示快取的內容，以及產生的內容。它會排除快取讀取，因為讀取很便宜，否則會淹沒指針。每個回合結束時更新；你閒置時，數值會逐漸回到零。任何內容都不會離開你的電腦。

它可以和 Gas Gauge（還剩多少方案）、Speedometer（內容有多滿）及 Odometer（工作階段總量）搭配使用。

已使用 Claude Code 2.1.287 測試。

## Install

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

## Original README

# Tach

A tachometer above the prompt. It shows how fast you are burning tokens right
now, as tokens a minute over the last few minutes, on a ten-segment bar.

- Green is easy going. Amber is the upper half. The top two segments are the
  red zone.
- The red zone is measured against your own busiest rate, which Tach remembers
  across sessions. It is your redline, not someone else's.
- `/tach` prints the rate and your busiest rate.
- `/tach 15m` or `/tach 1h` changes the window. The default is 5 minutes.
- `/tach hide` and `/tach show` toggle the band.

Tach counts fresh tokens: what each turn reads new, writes to the prompt cache,
and generates. Cache reads are left out, because they are cheap and would swamp
the needle. It updates when a turn ends, and slides back toward zero while you
are idle. Nothing leaves your machine.

It pairs with Gas Gauge (how much plan is left), Speedometer (how full the
context is) and Odometer (the session total).

Tested with Claude Code 2.1.287.
