Skip to main content

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, calls api.anthropic.com/api/oauth/usage
  • Antigravity: Reads Windows Credential Manager (gemini:antigravity) or ~/.gemini/oauth_creds.json, calls cloudcode-pa.googleapis.com

No credentials are sent anywhere except the official API endpoints of each tool.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_limit_checker-0.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_limit_checker-0.1.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

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

Hashes for ai_limit_checker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 77b22b13e465b60c751b9e83be0e9558407422f2f9422206940e59154467270d
MD5 e7a2533107724f6e80253c7fc404dd86
BLAKE2b-256 b25d1a30bd21c744ec78e29c4191f0df856480bc12b187490a011e67eb830b90

See more details on using hashes here.

File details

Details for the file ai_limit_checker-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_limit_checker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3157b5fba9013bf5f29cd514385db0dcbd8c964d9af5015dc447f44f20e9514d
MD5 93a7cb4903a58b8c8a4a8a5b5c881505
BLAKE2b-256 6f8ec79ce1e5388ee6e2be680dcd11e362966425a20e3a892ee25091c4fa0257

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page