Free for noncommercial use · source available

know your limits.limitly: the usage limits of your AI CLIs, in one terminal panel.

Percentages, reset timers and tokens for Claude Code, Codex, Antigravity, Grok and GitHub Copilot, side by side. It asks each tool's own CLI, so there is nothing to configure.

Install on Windows

irm https://raw.githubusercontent.com/MarkDev82/limitly/main/install.ps1 | iex

PowerShell 5.1 or 7 · no administrator rights · Other ways to install

Download View on GitHub

01 / Tools

Five tools, one panel.

limitly finds the CLIs you already have and asks each one for its own numbers. Nothing is scraped and nothing is configured.

Claude Code

claude

Session (5h) 43%

Reads from

claude -p "/usage"

A local command: it makes no model call. The plan name comes from claude auth status, once.

Codex

codex

Weekly 34%

Reads from

codex app-server

The account's rate limits over JSON-RPC. If that fails, the newest snapshot Codex itself wrote in ~/.codex/sessions.

Antigravity

agy

Gemini · Weekly 6%

Reads from

agy -p /usage --output-format json

Gemini and Claude & GPT limits, each with its own windows.

Grok

grok

Weekly 18%

Reads from

grok usage --json

Asked at most every 10 minutes, because it starts Grok's background service.

GitHub Copilot

copilot

Plan (AI credits) 37%

Reads from

copilot (hidden terminal, /usage)

Copilot has no command for its plan, so limitly types /usage in a hidden terminal with a private home. Windows only, at most every 10 minutes.

02 / Features

Everything in one screen.

Five tools, each with its own window, weekly cap and reset clock, on one screen that fits your terminal.

Finds your tools

Looks for claude, codex, agy, grok and copilot on your machine. Nothing to configure.

Live limits

Percent used or left, and when each window resets: in 2h 13m, or at 20:49. Press v to flip between used and left.

A forecast

Under each limit: on track for 78% at reset, or when it will run out. It extrapolates the percentage the tool itself reports, and says collecting data until it has seen enough.

Tokens per window

The tokens spent since each window began, split into what you sent and what came back, plus today, the last 5 hours, 7 and 30 days.

History

A bar chart of the tokens each tool used: 24 hourly columns, 7 days, 3-day stretches or 13 weeks.

Fits your window

Cards flow into columns on wide windows and stack on narrow ones. It keeps working down to 36×8.

Keyboard and mouse

Click the tabs and any setting, turn the wheel to scroll, or press 1 to 4. Settings are saved the moment you change them.

Colour for tools only

The interface is your terminal's own text colour, greys, bold and highlight. The only colour is each tool's frame and name.

03 / Privacy

What it reads, what it keeps, what it sends.

limitly never opens credential files and has no telemetry. Here is the whole picture.

Reads

Counters, the model name and the time of each request, from the logs your tools already keep: ~/.claude/projects, ~/.codex/sessions, ~/.copilot/session-state, ~/.grok/agent-host/sessions and ~/.gemini/antigravity-cli/brain. Never a prompt, an answer, a file name or a project path.

Keeps

The percentage and reset time of every reading, and token totals per hour and model, in %LOCALAPPDATA%\limitly\data. You choose how long: 30 days, 90 days, 1 year or forever. Settings can erase it all.

Sends

limitly itself only talks to GitHub: a check for a newer release, a HEAD request at most every 12 hours that shows GitHub your IP address and the limitly version, and the release download when you update. The tools it runs talk to their own vendors, as they always do.

Updates are automatic by default

limitly downloads the release, checks its SHA-256 against checksums.txt and, with limitly update, runs the new program's --version before it replaces the old one. Switch to notify only, or off, in Settings, or set LIMITLY_NO_UPDATE_CHECK=1.

This website

No cookies, no analytics and no third-party requests: the page can only load files from its own address.

04 / Install

Install in one line.

No administrator rights. Open a new terminal afterwards and run limitly.

Windows

irm https://raw.githubusercontent.com/MarkDev82/limitly/main/install.ps1 | iex

Downloads the release, verifies its SHA-256, installs it to %LOCALAPPDATA%\Programs\limitly and adds that folder to your user PATH. Run it again to update. Works in Windows PowerShell 5.1 and PowerShell 7.

Go

go install github.com/MarkDev82/limitly/cmd/limitly@latest

Needs Go 1.26 or newer.

Manual

Download the archive for your platform from Releases, check it against checksums.txt and put the binary on your PATH.

macOS and Linux: archives are built for amd64 and arm64, but only Windows is tested and has an installer so far. GitHub Copilot support is Windows only.

Update

limitly update installs the newest release; limitly update --check only looks. Updates are automatic by default: Settings lets you switch to notify only, or off.

Uninstall

Run the command below. It removes the program and its PATH entry and keeps your settings.

$env:LIMITLY_UNINSTALL=1; irm https://raw.githubusercontent.com/MarkDev82/limitly/main/install.ps1 | iex

05 / Keys

Keys and commands.

The panel needs no manual, but here is all of it.

In the panel

tab ← →
switch tab (shift+tab goes back; in Settings ← → change the value)
1 2 3 4
jump to a tab
[ ]
History: shorter or longer range
↑ ↓
scroll (also j k, pgup pgdn, home end)
space enter
change the selected setting
r
refresh everything now
v
switch between used and left
u
install the new version, when there is one
q
quit

On the command line

limitly
open the panel
limitly --json
fresh data as JSON (add --cached for the cache only)
limitly --once
a one-shot text summary
limitly update
install the newest release (--check only looks, --version vX.Y.Z picks one)
limitly doctor
what was detected, from where, and how long each source took
limitly config
print the path of the settings file

06 / FAQ

Questions.

Does it use my quota?

It only asks for usage numbers. For Claude Code, /usage is a local command, so there is no model call. GitHub Copilot's own -p "/usage" would cost a call, so limitly reads its interactive /usage screen instead.

What does it read from my computer?

Counters, the model name and the time of each request from your tools' own logs, and never a prompt, an answer or a path. See Privacy above.

Is it open source?

No: it is source available. The PolyForm Noncommercial License 1.0.0 lets you use, copy, modify and share it for noncommercial purposes (personal use, study, hobby projects, nonprofits, schools, research, public institutions), but not to make a profit.

Does it work on macOS and Linux?

Release archives are built for macOS and Linux, on amd64 and arm64, but only Windows is tested and has an installer so far. GitHub Copilot support needs Windows.

Why does a limit say "collecting data"?

The forecast needs a few readings. limitly records the percentage each time it refreshes, so it takes a little while after the first run.

How do I turn off the version check?

In Settings, set Install updates to off. Or set LIMITLY_NO_UPDATE_CHECK=1.

See your limits before the next prompt fails.

irm https://raw.githubusercontent.com/MarkDev82/limitly/main/install.ps1 | iex

PowerShell 5.1 or 7 · no administrator rights