mohan-n-swamy

Tmux LLM Dashboard — AI skill for Claude Code

AI community

Nine-row LLM quota + usage dashboard for a tmux pane — Claude, Codex, GLM, DeepSeek.

How to install Tmux LLM Dashboard

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mohan-n-swamy/tmux-llm-dashboard and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tmux LLM Dashboard does

Nine-row LLM quota + usage dashboard for a tmux pane — Claude, Codex, GLM, DeepSeek. Provider-neutral, fail-open, background-cached.

Alternatives in AI

  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
  • Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★

README

tmux-llm-dashboard

A nine-row, provider-neutral LLM usage dashboard that lives in a small tmux pane. One glance answers: *where am I, what's my git state, are my hosts up, how many tokens have I burned this week, and how close am I to each provider's rate limit?*

cwd: ~/projects/my-app
git: main *3
nas:UP · vps:UP
7d> claude:7.9M · glm:162.9k · ds:173.8k · codex:8.6M · gemini:41 · $5167
claude(pro): 5h:4%(upd 0m ago) · wk:18% (rst 6d)
codex(pro): 5h:2%(rst 6d23h) · wk:?
glm(pro): 5h:0% · wk:25%(rst 40h26m)
ds:$20.48
now: Wed 15-Jul 03:05 IST · Tue 14-Jul 21:35 UTC

Works in **any terminal that runs tmux** — no specific terminal app required.

What each row shows

Row Content Source
1 Working directory of the tracked pane tmux pane_current_path
2 Git branch + dirty-file count git in that directory
3 TCP reachability lights for hosts you name nc probe, 10s cache
4 7-day output tokens per backend + cost ccusage over Claude Code logs
5 Claude subscription quota (5h + weekly %) a cache file you write (see below)
6 Codex/ChatGPT plan quota (5h + weekly %) local ~/.codex/sessions JSONL — no API call
7 GLM (z.ai) Coding Plan quota (5h + weekly %) z.ai quota endpoint
8 DeepSeek remaining credit balance DeepSeek balance endpoint
9 Clock, local + UTC date

Every row **fails open**: missing key, missing cache, or a provider you don't use just renders as `name:?` in grey. Install it, configure only the providers you have.

Design

  • The dashboard is a real tmux pane running its own repaint loop (30s), not a tmux status-right — so it can be multi-line, colored, and independent of your status bar config.
  • Expensive work (API calls, ccusage log parsing) runs in background helpers cached for 5 minutes, written atomically (tmp + mv). The repaint only reads small pre-rendered files, so it's effectively free.
  • Co