Sky Claude Hud — Development skill for Claude Code
A lightweight two-line statusline for Claude Code that works over SSH and in terminals like Xshell — pure Python stdlib, ANSI only, no GUI.
How to install Sky Claude Hud
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open TbusOS/sky-claude-hud and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sky Claude Hud does
A lightweight two-line statusline for Claude Code that works over SSH and in terminals like Xshell — pure Python stdlib, ANSI only, no GUI.
Alternatives in Development
- Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★
- Umadev — UmaDev: A coding agent that works like a real dev team, commanding the Claude Code / Codex / OpenCode you alre 253 ★
- Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
README
Sky Claude HUD
A lightweight statusline for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) that works over SSH and in terminals like Xshell. No GUI, no browser — just a compact two-line HUD rendered with ANSI escape codes.
一个轻量级的 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 状态栏,适用于 SSH 和 Xshell 等终端环境。无需 GUI 或浏览器,仅通过 ANSI 转义码渲染紧凑的两行 HUD。
Preview / 预览
◆ Claude Opus 4.6 │ ████████████░░░░░░░░ 58% │ $1.23 │ ⏱ 12m04s │ +42 -7
▸ ~/project │ ⎇ feat/my-branch │ ✱ modified │ 5h ████░░░░ 51% →18:44 │ 7d █░░░░░░░ 23% →05-03 16:34
**Line 1 / 第一行:** Model, context window usage bar, session cost, duration, lines changed
**Line 2 / 第二行:** Working directory, git branch & dirty state, API rate limit usage with next-reset time (`HH:MM` if today, `MM-DD HH:MM` if cross-day; a window is shown whenever Claude Code reports it, including `0%` right after a reset) / 速率限制百分比 + 下次重置时间(同日只显示 `HH:MM`,跨日显示 `MM-DD HH:MM`;只要 Claude Code 传了该窗口就显示,刚重置用量为 `0%` 时也显示)
Features / 特性
- Zero dependencies — pure Python 3 stdlib, no pip install needed / 纯 Python 3 标准库,无需 pip 安装
- SSH-friendly — ANSI colors only, works in Xshell, PuTTY, iTerm2, etc. / 仅使用 ANSI 颜色,适用于各种终端
- Fast — single-shot stdin→stdout, no daemon, no polling / 单次 stdin→stdout,无守护进程
- Color-coded bars — green/yellow/red thresholds for context and rate limits / 上下文和速率限制的绿/黄/红阈值
- Git-aware — shows branch, staged, and modified status / 显示分支、暂存和修改状态
Requirements / 环境依赖
| Dependency / 依赖 | Version / 版本 | Note / 说明 |
|---|---|---|
| Python | >= 3.6 | Uses f-strings and subprocess.run / 使用 f-string 和 subprocess.run |
| Git | any | Optional, for branch & dirty state detection / 可选,用于分支和状态检测 |
| Claude Code | >= 1.0.x | Must support statusLine in ~/.claude/settings.json / 需支持 statusLine 配置 |
Terminal must support **ANSI escape codes** and **Unicode** (block characters `█░`, box drawing `│`, branch symbol `⎇`).
终端需支持 **ANSI 转义码** 和 **Unicode**(方块字
Related Skills
Alan Code Agent
Open-source Python implementation of a Claude-Code-like agent (Gemini CLI, Codex, Copilot...). Usable in CLI,
Jarvis OS
Talk to your computer. A voice HUD for Claude Code — uses your own connectors and skills, ElevenLabs voice bot
V Memory Refresh
(Re)index docs/superpowers prose into the local V-memory cache so recall is current. Incremental by file hash;
Session Knowledge
Turn your Claude Code session history into a searchable local knowledge base — 13 MCP tools, pure stdlib, noth
Offline Telemetry Script
Offline analyzer for Claude Code session transcripts (~/.claude/projects/.jsonl). Pure-stdlib Python, no API c
Tty7
A terminal workbench in pure Rust: shells, persistent sessions, SSH, coding agents. GPU-rendered on Zed's gpui
Related Agents
9remote
Long-running AI coding sessions keep working after you leave the desk, but checking on them from a phone usual
Sudocode
by ssh-randy - Lightweight agent orchestration dev tool that lives in your repo. Integrates with various speci
Py38 Compat Reviewer
Python 3.8/3.9 互換性のレビューが必要なとき(リリース前、差分レビュー時、CI の 3.8/3.9 ジョブが失敗したとき)に使う。3.10+ でしか動かない構文や 3.9+ の stdlib API を検出