mcpField
C
codex-reset-credit

codex-reset-credit

github.com/liewcfAgent workflows1650 installsUpdated 11w ago
Repository

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

  1. 01Check reset credit status
  2. 02Run the bundled Python script
  3. 03Report readable results or errors
  4. 04Keep sensitive account details private
  5. 05Show expiry in local time

Use cases

  1. 01Checking Codex reset credit status on demand
  2. 02Reviewing credit expiry times
  3. 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-credit

After installing, type/codex-reset-creditin Claude Code to confirm it loaded.

Bundled filesREADME.mdscripts/check_reset_credits.py

Details

From the project README

Codex Reset Credit

Use the bundled script to check reset credit status on demand.

Workflow

  1. Run:
python3 scripts/check_reset_credits.py
  1. Report the readable output to the user.
  2. Do not print or reveal access tokens, account IDs, credit IDs, email addresses, or profile image URLs.
  3. 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