Check usage limits for Claude Code and Antigravity CLI from terminal
Project description
AI Limit Checker
Check usage limits for Claude Code and Antigravity CLI from your terminal.
Install
pip install ai-limit-checker
Usage
# Show all limits (one-liner)
aichecker
# JSON output for AI agents
aichecker --json
# Compact one-liner
aichecker --oneline
Example Output
๐ AI CLI Usage Checker
2026-06-29 12:00:00
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Claude Code (Max Plan)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Connected
5h Window: 1.0% used (99.0% left) โ resets in 4h 56m
7d Window: 56.0% used (44.0% left) โ resets in 2d 17h
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Antigravity CLI
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Connected
Tier: Antigravity (free-tier)
Project: melodic-component-26v41
Gemini Models
Weekly Limit: 0.0% used โ resets in 6d 23h
Five Hour Limit: 0.0% used โ resets in 4h 59m
Claude and GPT models
Weekly Limit: 93.0% used โ resets in 2d 20h
Five Hour Limit: 95.0% used โ resets in 19m
Antigravity usage matches the desktop app's "Weekly Limit" / "Five Hour Limit" readouts. Models are grouped (Gemini vs. Claude/GPT); within a group the weekly and five-hour windows are shared. Reported as % used, like the app.
JSON Output (for AI agents)
aichecker --json
Returns structured JSON with all limits, remaining percentages, and reset times. AI agents (Hermes, Claude Code, etc.) can parse this to plan task delegation.
Supported Tools
| Tool | Metrics |
|---|---|
| Claude Code | 5h window, 7d window, Sonnet/Opus breakdown |
| Antigravity CLI | Per-group weekly + five-hour limits, % used, reset time |
How It Works
- Claude Code: Reads
~/.claude/.credentials.json(Windows/Linux) or macOS Keychain, callsapi.anthropic.com/api/oauth/usage - Antigravity: Reads Windows Credential Manager (
gemini:antigravity) or~/.gemini/oauth_creds.json, callscloudcode-pa.googleapis.com
No credentials are sent anywhere except the official API endpoints of each tool.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_limit_checker-0.3.0.tar.gz.
File metadata
- Download URL: ai_limit_checker-0.3.0.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a49407380604672c8977dc5b52c2c2a3053780e2a4d3510b8a521ed86f4403
|
|
| MD5 |
a44896a374410ea22f1487d0b970a3ec
|
|
| BLAKE2b-256 |
663684c61a1ba64bc046e746eb4f42b58b0241df1c72f3cc653a5e1b4ca354ef
|
File details
Details for the file ai_limit_checker-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ai_limit_checker-0.3.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23ecd2dd07278efc1979093e2536ff66282458197bd99108bdb014a986fc29e2
|
|
| MD5 |
fa275b5a314b6011a30b217ea59429a7
|
|
| BLAKE2b-256 |
919dc0cf234bc47ff81bccffbd086836673ff5a72d857baf9ba8566b13b31059
|