Tmux Agent Usage — AI skill for Claude Code
Display AI agent rate limit usage in your tmux status bar.
How to install Tmux Agent Usage
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open raine/tmux-agent-usage and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tmux Agent Usage does
Display AI agent rate limit usage in your 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 ★
- Syrtis — AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph 368 ★
README
tmux-agent-usage
Display AI agent rate limit usage in your tmux status bar. Shows session and weekly utilization for Codex, Claude, z.ai, and Grok with color-coded percentages and a braille reset indicator.
Compact mode (`--compact`):
- Green < 50%, yellow 50–79%, red 80%+
- Compact mode shows each provider's available usage windows with reset indicators
- Cache-first with 55s TTL - tmux refreshes stay instant
Install
Shell (recommended)
curl -fsSL https://raw.githubusercontent.com/raine/tmux-agent-usage/main/scripts/install.sh | bash
Homebrew
brew install raine/agent-usage/agent-usage
Cargo
cargo install --git https://github.com/raine/tmux-agent-usage
tmux setup
With TPM
Add to `~/.tmux.conf`:
# Configure which providers to show (default: codex)
set -g @agent-usage-providers "codex claude zai grok"
set -g @plugin 'raine/tmux-agent-usage'
The plugin auto-installs the binary if not found in PATH.
Manual
set -g status-right-length 120
set -g status-right '#(agent-usage codex)#(agent-usage claude)#(agent-usage zai)#(agent-usage grok)#[fg=green]%d.%m. %H:%M'
Then reload: `tmux source ~/.tmux.conf`
Providers
Codex
Probes rate limits via JSON-RPC by spawning `codex app-server`, with a PTY fallback that sends `/status` and parses the output. Requires `codex` in PATH (or set `CODEX_BINARY` env var).
Claude
Reads OAuth credentials from macOS Keychain (falling back to `~/.claude/.credentials.json`) and queries the `api.anthropic.com/api/oauth/usage` endpoint. Requires being logged into Claude Code.
Per-model weekly limits are metered separately from the plan-wide weekly window, and are shown after it under the model's own name:
Claude 5h:3% ⣿ wk:62% ⡇ Fable:84% ⡇
These
Related Skills
Agent Status Tmux
Display AI coding agent usage (Claude Code + Gemini CLI) in tmux status bar
ClaudeCodeStatusLine
Display real-time Claude Code model info, token usage, and rate limits in a compact status line without affect
Echook
🔊 echook — AI-operated audio notifications for Claude Code, Cursor IDE & Codex CLI — 26 hooks, voice + chime
Tmux Agent Indicator
Tmux plugin that gives visual feedback for AI agent states (running/needs-input/done). Supports Claude Code, C
Falaq Cockpit OSS
Mission control for Claude Code & Codex — a local dashboard to monitor, multitask, and drive all your AI codin
Herdr Agents Tracker
Herdr plugin that shows your AI subscription usage: account limits in the tab bar, a context meter per agent,
Related Agents
UX Bar Raiser
Holds the UX and UI bar for an app, web or terminal. Audits the running app against Nielsen's heuristics, WCAG
API Platform Reviewer
API platform / dev-API pre-implementation reviewer. Specialises in rate-limit design (token-bucket / sliding-w
API Attacker
API security testing specialist for REST, GraphQL, gRPC, and WebSocket APIs. Handles BOLA/IDOR, mass assignmen