codex-quota
Check OpenAI Codex CLI rate limit status (daily/weekly quotas) using local session logs. Portable Python script. Reads ~/.codex/sessions/ for quota data. When using --all --yes, it temporarily switches accounts by overwriting ~/.codex/auth.json (restored afterwards) to query each account. Uses the `codex` CLI for --fresh / --all.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/odrobnik/codex-quotaSkill: codex-quota
Check OpenAI Codex CLI rate limit status.
Quick Reference
# Run the included Python script
./codex-quota.py
# Or if installed to PATH
codex-quota
Options
codex-quota # Show current quota (cached from latest session)
codex-quota --fresh # Ping Codex first for live data
codex-quota --all --yes # Update all accounts, save to /tmp/codex-quota-all.json
codex-quota --json # Output as JSON
codex-quota --help # Show help
Setup
See SETUP.md for prerequisites and setup instructions.
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
When to Use
- Before starting heavy Codex work (check weekly quota)
- When Codex seems slow (might be rate-limited)
- Monitoring quota across multiple accounts
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-odrobnik-codex-quota": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
elevenlabs
Text-to-speech, sound effects, music generation, voice management, and quota checks via the ElevenLabs API. Use when generating audio with ElevenLabs or managing voices.
tesla-fleet-api
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.
unifi
Monitor UniFi network infrastructure via the UniFi Site Manager API. Use to list hosts/sites/devices/APs and get high-level client/device counts.
codexmonitor
List/inspect/watch local OpenAI Codex sessions (CLI + VS Code) using the CodexMonitor Homebrew formula. Reads sessions from ~/.codex/sessions by default (or via CODEX_SESSIONS_DIR / CODEX_HOME overrides). Requires the cocoanetics/tap Homebrew tap.
printer
Print images and PDFs to any CUPS printer. PPD-aware: reads paper sizes, margins, resolution, and duplex at runtime. Use when the user wants to print files (images like PNG/JPG or PDFs) or query printer capabilities.