NicL9923

AI Usage Widget — AI skill for Claude Code

AI community

KDE Plasma panel widget showing live Claude Code and Codex subscription usage limits.

How to install AI Usage Widget

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

What AI Usage Widget does

KDE Plasma panel widget showing live Claude Code and Codex subscription usage limits.

Alternatives in AI

  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
  • ClaudeCodeStatusLine — Custom status line for Claude Code showing model, tokens, rate limits, and git info in real-time 333 ★
  • TokenEater — 179 Native macOS menu bar app for monitoring Claude AI usage limits and watching coding sessions live 196 ★

README

AI Usage

Claude Code, Codex, and Grok subscription usage in your KDE Plasma panel or macOS menu bar.

[![CI](https://github.com/NicL9923/ai-usage-widget/actions/workflows/ci.yml/badge.svg)](https://github.com/NicL9923/ai-usage-widget/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Plasma 6](https://img.shields.io/badge/Plasma-6-1d99f3.svg)](https://kde.org/plasma-desktop/)

![AI Usage widget open above a KDE Plasma panel](docs/ai-usage.png)

Each provider gets a usage ring in the panel. Open the widget to see every rate-limit window, its reset time, and any Codex resets you have banked. Rings turn orange at 70% and red at 85%. A warning badge names any window at 85% or higher, including weekly and model-specific limits, while the ring continues to show the primary window. Claude Code doesn't report Claude's banked resets, so the Claude entry links to claude.ai's usage page instead.

The widget uses the provider CLIs you already have signed in. It does not read or store OAuth tokens, make model calls, or add anything to your bill.

Provider Usage source
Codex codex app-server
Claude Code claude --print /usage
Grok grok agent

Requirements

  • KDE Plasma 6, or macOS 14 Sonoma or newer
  • On macOS, Xcode Command Line Tools to build the app: xcode-select --install
  • Python 3.11 or newer
  • At least one supported CLI, signed in to a subscription plan: Codex, Claude Code, or Grok

API-key and usage-based accounts do not expose subscription windows and will appear unavailable.

Install on macOS

Install Python 3.11 or newer and sign in to at least one supported CLI first. Run the installer from the terminal where those CLIs work:

git clone https://github.com/NicL9923/ai-usage-widget.git
cd ai-usage-widget
./scripts/instal