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.2.0.tar.gz (13.2 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.2.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_limit_checker-0.2.0.tar.gz.

File metadata

  • Download URL: ai_limit_checker-0.2.0.tar.gz
  • Upload date:
  • Size: 13.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 a1ab514b946f2be2ed32bbcf11a2f2ded8b20588e4dc6f1f7a9b31660df28ec2
MD5 c9ca920e75fb4ad1dc8460c4702580d5
BLAKE2b-256 1cd7abea4933fe7d076a0c07fabbc410131fec7118052e9e8651683d16039527

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ai_limit_checker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae43e58367f8746d03729c5b2e176f81961dfe0fc7a1439914a4a1cfc15b214e
MD5 64488f738fed0912c7b2ad6933d37af6
BLAKE2b-256 07249480511044d3f84df9d065fea0fcc48bb89a6dd4f1b2ed6a611f598d3a0c

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