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 (Ultra)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Connected
Project: melodic-component-26v41
Models: 8 | Tightest: 65% remaining
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-model quota, remaining fraction, 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.1.0.tar.gz.
File metadata
- Download URL: ai_limit_checker-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77b22b13e465b60c751b9e83be0e9558407422f2f9422206940e59154467270d
|
|
| MD5 |
e7a2533107724f6e80253c7fc404dd86
|
|
| BLAKE2b-256 |
b25d1a30bd21c744ec78e29c4191f0df856480bc12b187490a011e67eb830b90
|
File details
Details for the file ai_limit_checker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_limit_checker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.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 |
3157b5fba9013bf5f29cd514385db0dcbd8c964d9af5015dc447f44f20e9514d
|
|
| MD5 |
93a7cb4903a58b8c8a4a8a5b5c881505
|
|
| BLAKE2b-256 |
6f8ec79ce1e5388ee6e2be680dcd11e362966425a20e3a892ee25091c4fa0257
|