| name | codex-usage-reset |
| description | Check local Codex ChatGPT usage limits, reset-window times, banked reset-credit count, and reset-credit expiry times. Use when the user asks in natural language about Codex usage limit reset time, "when do my Codex resets expire", "three reset credits", "usage limit reset", "rate limit reset", "额度重置", "重置次数到期时间", "Codex reset credit", or similar account-limit status questions. |
Codex Usage Reset
Workflow
-
Run the bundled script from this skill:
python "$env:USERPROFILE\.codex\skills\codex-usage-reset\scripts\check_codex_usage_reset.py"
If CODEX_HOME is set, resolve the script relative to $env:CODEX_HOME\skills\codex-usage-reset\scripts\check_codex_usage_reset.py.
-
Read the script output and answer in the user's language.
-
Include:
- reset-credit available count
- each available reset credit's expiry time, if returned
- current usage windows and their reset times when present
- any warning the script prints, especially when expiry rows are missing or the internal endpoint fails
-
Do not print bearer tokens, raw auth.json, full account IDs, reset-credit IDs, or raw endpoint JSON.
-
Do not call any reset/consume/redeem endpoint. This skill is read-only.
Output Guidance
For a simple query, return a compact list like:
当前有 3 次 Codex reset credit:
1. 2026-07-12 12:09:53 +0800
2. 2026-07-27 08:12:36 +0800
3. 2026-08-01 04:37:09 +0800
当前窗口:5h 在 ... 重置,weekly 在 ... 重置。
If the script falls back to a path that cannot provide reset-credit expiry rows, say that only the count was available.
Safety Boundary
Read references/safety-boundary.md before modifying the script or changing endpoints.