uutgi

Quotaline — AI skill for Claude Code

AI community

Balance and quota counter for Claude Code and OpenRouter: status line, terminal, floating widget or tray / menu-bar icon, plus spend per day and model.

How to install Quotaline

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

What Quotaline does

Balance and quota counter for Claude Code and OpenRouter: status line, terminal, floating widget or tray / menu-bar icon, plus spend per day and model. One Python file, no dependencies, Windows, Linux and macOS.

Alternatives in AI

  • Syrtis — AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph 368 ★
  • Oil Icon — AI icon set generator skill for Claude Code & Codex 310 ★
  • Usage — macOS menu bar & Windows tray app pinning Claude Code, Codex & Antigravity quota, burn rate, and cost to your 301 ★

README

quotaline

A tiny balance and quota counter for **Claude Code** and **OpenRouter**. One Python file, no dependencies, the same on Windows, Linux and macOS. Show both, or only one of them: you do not need an OpenRouter key to use the Claude part, nor Claude Code to use the OpenRouter part.

Claude Fable 5.1: ctx 23%, 5h 16% (10:08), 7d 34% (Tue 16:11)  |  OpenRouter: $8.09 left of $10/mo

That is the Claude Code status line. The same script also runs as a small window, a floating widget or a tray icon. The widget, on Windows 11:

![The quotaline widget on Windows 11: OpenRouter balance and spend, Claude Code 5-hour and 7-day limits with their reset times](screenshot.png)

The same report in a terminal (`--watch`, or a one-shot run):

quotaline  2026-11-08 08:38
OpenRouter
  Left:   $8.09 of $10.00/mo  ████████░░ 81%
  Spent:  today $0.00, week $1.91, month $1.91, all time $1.91
  :free models today: 0 of 1000 requests

Claude Code Fable 5.1  (last change 2 min ago)
  5h:  ██░░░░░░░░  19% used, resets 13:10 (in 2h 36m)
  7d:  ████░░░░░░  35% used, resets Thu 13:00 (in 3d 2h)

Why

Tools like `ccusage` and `ccstatusline` do more, but they need Node and know nothing about OpenRouter. OpenRouter credit monitors are mostly macOS menu-bar apps or editor plugins. I wanted one line with both numbers that runs on an old Linux laptop as well as on Windows, without installing a runtime or handing my credentials to anything. This is it.

What it shows and where the data comes from

Source Data How
OpenRouter What is left of the key's spending limit, spend today / this week / this month / all time, today's requests to :free models GET https://openrouter.ai/api/v1/key with your normal API key (documented)
OpenRouter Account-wide balance (optional) GET /api/v1/credits, which needs a separate management key; shown only if openrouter_management_key.txt exists
OpenRouter Spend per day and model, last 30 comp