About codex-reset-credit
A skill that runs a bundled script to check Codex reset credit status and report its readable output. It reads local Codex authentication data and instructs the workflow to keep sensitive account details and tokens private.
Key features
- 01Check reset credit status
- 02Run the bundled Python script
- 03Report readable results or errors
- 04Keep sensitive account details private
- 05Show expiry in local time
Use cases
- 01Checking Codex reset credit status on demand
- 02Reviewing credit expiry times
- 03Reporting authentication or endpoint errors
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ liewcf/ agent-skills --skill codex-reset-creditAfter installing, type/codex-reset-creditin Claude Code to confirm it loaded.
Bundled filesREADME.mdscripts/check_reset_credits.py
Details
From the project READMECodex Reset Credit
Use the bundled script to check reset credit status on demand.
Workflow
- Run:
python3 scripts/check_reset_credits.py
- Report the readable output to the user.
- Do not print or reveal access tokens, account IDs, credit IDs, email addresses, or profile image URLs.
- If auth is missing or the endpoint fails, report the plain error message.
Notes
- The script reads
~/.codex/auth.json. - The script calls the ChatGPT reset credit endpoint with the local Codex access token.
- Expiry times are shown in this machine's local timezone by default.
- Do not edit
Codex.app, bundled app files, auth files, or session files.
Comments
Markdown supported