Trayt — AI skill for Claude Code
System tray dashboard for AI coding agent usage (Claude Code, Codex CLI, and more) on Linux and Windows.
How to install Trayt
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open PsSave/trayt and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Trayt does
System tray dashboard for AI coding agent usage (Claude Code, Codex CLI, and more) on Linux and Windows.
Alternatives in AI
- Pinky — Let AI use your iPhone or Android phone, with you in the loop: any MCP agent from macOS, Windows or Linux, or 2.4k ★
- Open Science — Open Science Desktop — local-first, model-agnostic AI research workbench for macOS, Windows & Linux 1.5k ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
README
trayt
🇧🇷 [Ler em Português](README.pt-BR.md)
A system tray dashboard for AI coding agent usage — Claude Code, Codex CLI, and (eventually) others — for **Linux and Windows**.
**Purpose:** give you an at-a-glance view, right from your tray, of how much of your current session and weekly quota you've used — and exactly when it resets — instead of digging through logs or a web dashboard every time you want to check.
What it actually shows today
**Claude Code** — live, real account data, not an estimate. `claude` (the Claude Code CLI) has a `/usage` slash command; it turns out that also runs headlessly via `claude -p "/usage"`, and prints exactly what the interactive REPL would show:
Current session: 8% used · resets Aug 28, 11:50pm (America/Sao_Paulo)
Current week (all models): 30% used · resets Aug 30, 8am (America/Sao_Paulo)
trayt shells out to that command and parses those two lines — this is Anthropic's actual rolling 5-hour and weekly usage windows, read straight from your account, not a guess or a local computation. If that call fails for any reason (CLI not on PATH, not logged in, an older version without `/usage`), it falls back to a local estimate built from `~/.claude/stats-cache.json` (Claude Code's own historical cache) so the card degrades gracefully instead of going blank. See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for the full reasoning, including why we don't hit Anthropic's API directly.
**Codex CLI** — parked for now, not a priority for the current milestone. If you use Codex CLI and want to find its equivalent of `/usage`, see [docs/ADDING_A_PROVIDER.md](docs/ADDING_A_PROVIDER.md) — this is the best first contribution once someone picks it up.
Stack
Electron + React + TypeScript (via [electron-vite](https://electron-vite.org)). See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for why, and for the tradeoff against Tauri.
Development
npm install
npm run dev
This opens the app in the tray — click the ic
Related Skills
AI Usage Bar
See your AI coding agent usage limits for every account: Claude Code (5-hour, weekly, Fable), OpenAI Codex and
AI Quota Deck
A Windows tray dashboard for Claude Code, Codex, Gemini, and Grok usage limits.
AI Usage Dashboard
Local-first quota cockpit for Claude Code, Codex, Grok Build, and DeepSeek API balance on Windows, macOS, and
Quota Control
Unofficial Windows & Linux port of OpenUsage: track AI coding subscription limits (Claude, Codex, Cursor, more
Quotaline
Balance and quota counter for Claude Code and OpenRouter: status line, terminal, floating widget or tray / men
TokenStats
Token usage and API-equivalent cost across Claude Code, Codex, OpenCode, Gemini CLI and 14 more AI coding agen
Related Agents
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Electron Menubar Engineer
Builds and fixes Electron macOS menu-bar (tray) apps — main/renderer IPC, tray icons, windows, open-at-login,
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and