Codex Reset Credits
Use this skill to report the user's available Codex rate-limit reset credits and their expiration dates from the local Codex auth session.
Invocation
When this skill is active, users can ask:
Use $codex-reset-credits to tell me when my Codex resets expire.
If this skill is not installed in the current runtime, point Codex at this skill folder in the repo and ask it to add the folder as a Codex skill.
Workflow
- Run
scripts/check_codex_reset_credits.py. - Do not print or expose tokens, account IDs, credit IDs, or user IDs.
- Report the available count and expiration times.
- Use friendly calendar dates in human answers, such as
12 July 2026, 03:44 CEST. Include UTC only when useful for exactness. - If the endpoint fails, explain the failure compactly and do not paste auth file contents.
The endpoint is an undocumented ChatGPT backend endpoint surfaced by community discussion, so treat the result as a direct account read rather than public API documentation.
Script Usage
From the repository root, run:
Default human-readable output:
python3 skills-source/owned/codex-reset-credits/scripts/check_codex_reset_credits.py
JSON output for programmatic follow-up:
python3 skills-source/owned/codex-reset-credits/scripts/check_codex_reset_credits.py --json
Use an explicit timezone when the user's location matters:
python3 skills-source/owned/codex-reset-credits/scripts/check_codex_reset_credits.py --timezone America/Los_Angeles
Example output:
4 reset credits available
Timezone shown: America/New_York
Full reset: expires 11 July 2026, 21:44 EDT / 12 July 2026, 01:44 UTC