RaDeleon/Claude-Code-Ultimate-Setup/tree/main/mods/ultimate-hud
ultimate-hud
一個 Claude Code 表情符號 HUD 外掛,在提示列上方顯示模型、儲存庫、分支、工作階段時間、context 填充量、權杖數、快取命中/寫入比例、費用和速率限制;可透過外掛 marketplace 安裝,不需要 Bash 指令碼或修改 settings.json。
關於這個 mod
ultimate-hud 是一個 Claude Code 外掛,會在提示列上方繪製類似儲存庫狀態列的表情符號狀態帶。它顯示回應模型、工作資料夾與 Git 分支、工作階段時間、工作階段費用、context 視窗填充量與權杖總數、未快取的輸入/輸出權杖、快取讀取/寫入總量及命中與寫入百分比,以及帶有重設時間的 5 小時/7 天速率限制。進度列在 70% 時變成黃色、90% 時變成紅色;沒有資料的欄位會隱藏;終端機寬度小於 100 欄時,進度列會縮成 10 格。設定包含 showIn,可選 everywhere、desktop 或 terminal,並可透過 /config 修改。執行 /hud 可切換狀態帶。使用 claude plugin marketplace add RaDeleon/Claude-Code-Ultimate-Setup 和 claude plugin install ultimate-hud@ultimate-setup 安裝。需要 Claude Code 2.1.287 或更新版本。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add RaDeleon/Claude-Code-Ultimate-Setup claude plugin install ultimate-hud
原文 / README
ultimate-hud
An emoji HUD drawn above the Claude Code prompt, in the style of this repo's statusline. It runs inside Claude Code as a mod, so it needs no bash scripts and no settings.json changes, and it works in the terminal and in the Code tab of the Claude Desktop app.
🤖 Opus 5.5 | 📁 Claude-Code-Ultimate-Setup | 🌿 main | ⏱️ 42m | 💰 $1.87
📊 Context [████░░░░░░░░░░░░░░░░] 21% | 🪙 210k/1M
⬆️ 120k | ⬇️ 8.4k | 🧊 1.2M | 🏗️ 85k | 🎯 91% hit | ✍️ 6% write
🚦 5h [██████░░░░░░░░░░░░░░] 31% 🔄 1:42pm | 🚦 7d [██░░░░░░░░░░░░░░░░░░] 12% 🔄 Mon
What each item means
| Item | Meaning |
| --- | --- |
| 🤖 | Model that answered the last turn |
| 📁 / 🌿 | Folder the session runs in, and its git branch |
| ⏱️ | Session duration |
| 💰 | Session cost, as /cost totals it |
| 📊 / 🪙 | Context window fill, and tokens used / window size |
| ⬆️ / ⬇️ | Uncached input tokens / output tokens, summed over the session |
| 🧊 / 🏗️ | Cache read tokens / cache write tokens, summed over the session |
| 🎯 hit | cache read ÷ (cache read + input) |
| ✍️ write | cache write ÷ (input + cache read + cache write) |
| 🚦 / 🔄 | 5-hour and 7-day rate limits and when they reset (subscription plans only) |
Bars are green under 70%, yellow from 70%, and red from 90%. A field with no data yet is hidden. Token totals count the main conversation only (not subagents) and start over on /clear. Bars shrink to 10 cells when the terminal is narrower than 100 columns.
Run /hud to hide or show the band.
Settings
| Setting | Values | Default |
| --- | --- | --- |
| Show HUD in (showIn) | everywhere, desktop (the Code tab of the Claude Desktop app only), terminal (the terminal only) | everywhere |
Change it in /config. Set it to desktop if you already have a terminal status line and only want the HUD in the Desktop app.
Install
claude plugin marketplace add RaDeleon/Claude-Code-Ultimate-Setup
claude plugin install ultimate-hud@ultimate-setup
Develop
claude --plugin-dir ./mods/ultimate-hud # loads it for one session, hot-reloads on save
claude plugin validate ./mods/ultimate-hud
cd mods/ultimate-hud && claude plugin test
Tested with Claude Code 2.1.288. Mods need Claude Code 2.1.287 or later.
