DJPalefaceSD/rostech-mods/tree/main/plugins/tach
關於這個 mod
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 測試。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add DJPalefaceSD/rostech-mods claude plugin install tach
原文 / 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.
/tachprints the rate and your busiest rate./tach 15mor/tach 1hchanges the window. The default is 5 minutes./tach hideand/tach showtoggle 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.
