codex-quota
Check OpenAI Codex CLI rate limit status (daily/weekly quotas) using local session logs. Portable Python script.
Best use case
codex-quota is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Check OpenAI Codex CLI rate limit status (daily/weekly quotas) using local session logs. Portable Python script.
Teams using codex-quota should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/codex-quota/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How codex-quota Compares
| Feature / Agent | codex-quota | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Check OpenAI Codex CLI rate limit status (daily/weekly quotas) using local session logs. Portable Python script.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Skill: codex-quota Check OpenAI Codex CLI rate limit status. ## Quick Reference ```bash # Run the included Python script ./codex-quota.py # Or if installed to PATH codex-quota ``` ## Options ```bash codex-quota # Show current quota (cached from latest session) codex-quota --fresh # Ping Codex first for live data codex-quota --all # Update all accounts, save to /tmp/codex-quota-all.json codex-quota --json # Output as JSON codex-quota --help # Show help ``` ## What It Shows - **Primary Window** (5 hours) — Short-term rate limit - **Secondary Window** (7 days) — Weekly rate limit - Reset times in local timezone with countdown - Source session file and age ## Installation Copy `codex-quota.py` to your path: ```bash cp skills/codex-quota/codex-quota.py ~/bin/codex-quota chmod +x ~/bin/codex-quota ``` ## How It Works Codex CLI logs rate limit info in every session file (`~/.codex/sessions/YYYY/MM/DD/*.jsonl`) as part of `token_count` events. This tool: 1. Finds the most recent session file 2. Extracts the last `rate_limits` object 3. Formats and displays it ## When to Use - Before starting heavy Codex work (check weekly quota) - When Codex seems slow (might be rate-limited) - Monitoring quota across multiple accounts
Related Skills
codexmonitor
List/inspect/watch local OpenAI Codex sessions (CLI + VS Code) using the CodexMonitor Homebrew formula.
codex-orchestration
General-purpose orchestration for Codex. Uses update_plan plus background PTY terminals to run parallel codex exec workers.
codex-cli
Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.
codex-account-switcher
Manage multiple OpenAI Codex accounts. Capture current login tokens and switch between them instantly.
antigravity-quota
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
portfolio-watcher
Monitor stock/crypto holdings, get price alerts, track portfolio performance
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
portable-tools
Build cross-device tools without hardcoding paths or account names
polymarket
Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.
polymarket-traiding-bot
No description provided.
polymarket-analysis
Analyze Polymarket prediction markets for trading edges. Pair Cost arbitrage, whale tracking, sentiment analysis, momentum signals, user profile tracking. No execution.
polymarket-agent
Autonomous prediction market agent - analyzes markets, researches news, and identifies trading opportunities