duckysmacky

Claude Usage Tray — Development skill for Claude Code

Development community

A simple tray application for Linux to show Claude's usage.

How to install Claude Usage Tray

This entry records only its repository, not the path inside it, so there is no exact command to give. Open duckysmacky/claude-usage-tray and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Usage Tray does

A simple tray application for Linux to show Claude's usage.

Alternatives in Development

  • Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
  • Recent Memories — Display the most recent memories and activity from Claude's persistent storage 332 ★
  • Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★

README

Claude usage app icon

Claude usage tray

A lightweight Linux tray application which shows Claude usage and limits

Screenshot of the app

About

[!NOTE] This is an unofficial, hobby project. It is not affiliated with, endorsed by, or associated with Anthropic.

This is a simple Linux application that works in your tray and shows current Claude usage on hover. It displays information like 5h usage limit, weekly limit, reset times, information about usage credits (used, limit and balance) and plan details.

It works with **any** window manager, as it works based on desktop-environment-agnostic D-Bus protocol. Basically, it registers itself as a service on the session D-Bus and let's the actual window manager to do the rest by itself.

**The app requires for the user to be logged in into their Claude account** via `claude` CLI (`claude auth login` or `/login`) or the desktop application, and **requires a paid subscription plan** (Pro, Max, ect.). Without this account token it won't work, because it fetches usage from Anthropic's API for paid subscription plans.

Config

The configuration file is located at `~/.config/claude-usage-tray/config.toml`. It allows to specify claude credentials paths, poll intervals and timeouts.

But most importantly it allows to toggle each display element individually or the whole group of elements. **By default usage credits are hidden** - enable them by setting `display.credits.show = true`.

Usage limits can be displayed as plain text or as percentage bars (default):

[display.usage]
view_mode = "bars" # "simple" or "bars"

Installation

Using `cargo`

  1. Install:
cargo install claude-usage-tray
claude-usage-tray install # to install .service and .desktop files
  1. Enable autos