codex-reset-creditlisted
Install: claude install-skill heyNag/charms
# codex-reset-credit
Use this skill only when a user explicitly asks about Codex reset credits,
available reset credits, reset-credit expiry, Codex quota usage, local
rate-limit windows, or when Codex limits reset.
This skill is read-only. It must not redeem or consume credits, change Codex
settings or usage-limit state, or modify auth/session files.
## Operating Rules
- Run the helper script from this skill directory.
- Never print access tokens, refresh tokens, account IDs, credit IDs, email
addresses, profile image URLs, or raw auth file contents.
- Do not show auth file paths. If a local file path is needed for debugging,
ask first and prefer redacted paths.
- Prefer the direct answer first: available reset credits, next reset-credit
expiry, and local rate-limit reset windows.
- State the evidence boundary:
- reset credits come from the live Codex/ChatGPT backend endpoint
- rate-limit windows come from local Codex session `token_count` snapshots
- local snapshots can be stale if Codex has not emitted recent token-count
events
- If auth/session state is missing or the endpoint fails, report the plain
safe error and any local-only rate-limit data that was still available.
## Invocation
From this skill directory:
```sh
python3 scripts/check_reset_credits.py
```
Useful options:
```sh
python3 scripts/check_reset_credits.py --json
python3 scripts/check_reset_credits.py --no-live
python3 scripts/check_reset_credits.py --thread-id THREAD_ID
python3 scri