usage-hud
星标9
分支0
更新时间2026年3月19日 12:47
Configure and customize the Usage HUD statusline display
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Configure and customize the Usage HUD statusline display
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | usage-hud |
| description | Configure and customize the Usage HUD statusline display |
Configure the cap statusline display.
| Command | Description |
|---|---|
/cap:setup | Install or repair HUD statusline |
/cap:status | Show HUD diagnostics |
/cap:uninstall | Completely remove CAP and restore previous settings |
Edit the thresholds in scripts/usage-hud.mjs:
CACHE_TTL_MS: Usage API cache TTL (default: 60000ms). Increase to 120000 if hitting 429s.width parameter in progressBar(pct, 10) calls/cap:setup, then restart Claude Code-- → Check OAuth token with /cap:status[API 429] → Increase CACHE_TTL_MS to 120000 or higher