Agent Status Tmux — AI skill for Claude Code
Display AI coding agent usage (Claude Code + Gemini CLI) in tmux status bar.
How to install Agent Status Tmux
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jimmyliao/agent-status-tmux and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Status Tmux does
Display AI coding agent usage (Claude Code + Gemini CLI) in tmux status bar.
Alternatives in AI
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★
- Snip — CLI proxy that reduces LLM token usage by 60-90% 425 ★
README
agent-status-tmux
Display AI coding agent usage (tokens, cost, duration) in your tmux status bar. Supports **Claude Code** and **Gemini CLI** simultaneously.

◆ claude │ 8% │ 80k │ $3.50 │ 22m │ 5h:12% 7d:32% ◇ gemini │ 1% │ 9k │ ~$0.01 │ 2m
Quick Start
**One-liner** (no git clone needed):
curl -fsSL tmux.jimmyliao.net/install | bash
Or manually:
git clone https://github.com/jimmyliao/agent-status-tmux.git
cd agent-status-tmux
./scripts/install.sh
That's it. Every tmux session (`tmux new -s xxx`) will automatically show AI status. Works whether your status bar is at the top or bottom.
Installs to `~/.agent-status-tmux` by default. Override with `AGENT_STATUS_TMUX_DIR=/your/path`.
Requirements
- tmux >= 3.2 (hex color
#[fg=#rrggbb]support; tested on 3.4–3.6) - jq
- Claude Code and/or Gemini CLI
Features
- Real-time token usage, cost, and session duration in tmux status-right
- Claude Code: context %, tokens, actual cost, duration, rate limits (5h/7d)
- Gemini CLI: context %, tokens, estimated cost, duration
- Shows both providers simultaneously when both are active
- Process-aware: detects running AI sessions, not just stale cache files
- Gemini CLI Extension with AfterAgent/SessionStart hooks
- Fallback: direct-reads Gemini chat recordings when hooks are unavailable
- Tokyo Night color scheme (customizable)
Installation Details
git clone https://github.com/jimmyliao/agent-status-tmux.git
cd agent-status-tmux
./scripts/install.sh
The install script will:
- Create cache directory (
~/.cache/ai-usage/) - Patch
~/.claude/statusline.shto write session data (with backup) - Update
~/.tmux.confto display AI status (with backup) - Link the Gemini CLI extension (if Gemini CLI is installed)
- Reload tmux config
All modifications are idempotent and create ti
Related Skills
Tmux Agent Usage
Display AI agent rate limit usage in your tmux status bar
Lean Quota Monitor
VS Code status bar monitor for Codex, Claude Code, GitHub Copilot, Gemini/Antigravity and other AI usage limit
Comandos
Local-first terminal mission control for Claude Code, OpenAI Codex CLI, Gemini CLI and OpenCode. Run AI coding
ClaudeCode Launchpad CLI
9 Windows & macOS 2-minute installer for Claude Code — auto-installs Node.js, Git & Claude Code; two-line live
ClaudeCodeStatusLine
Display real-time Claude Code model info, token usage, and rate limits in a compact status line without affect
Lunavect
Claude Code & Codex status bar for macOS. Track AI coding sessions, usage limits and activity with native menu
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
UX Bar Raiser
Holds the UX and UI bar for an app, web or terminal. Audits the running app against Nielsen's heuristics, WCAG