Usage and reset control for Codex and Claude. A small, portable Windows tray app that redeems existing reset credits when usage reaches a threshold you choose. It can also watch your Claude plan usage and tell you when a Claude limit reset is worth using.
Download for Windows x64 · User guide · Report a bug
| Light | Dark |
|---|---|
![]() |
![]() |
Current interface with synthetic account data. Automatic resets start disabled.
Choose Settings → Appearance → Light, Dark, or Use Windows setting. Appearance changes take effect immediately and leave your reset rules untouched. Use F5 to refresh, Ctrl+Tab to move between pages, and Escape to return to the tray.
Watch the 37-second reset demo with original music. It shows the original v1.0 interface with synthetic data; the basic reset workflow is unchanged.
- Explicit opt-in: select allowed credits, choose your rules, then enable. New credits remain unchecked.
- Use earlier expiries first: automatically select the earliest-expiring allowed credit, or pin one specific credit.
- Choose your threshold and timing: watch weekly, 5-hour, or either usage window. Default: 95% used, reset at the threshold. Optional timings use the last few percent, or wait at 100% so a running turn can finish before the reset.
- Don't waste credits: skip a reset when the window resets on its own within 15 minutes (adjustable).
- Set a spending allowance: limit the enabled period and number of resets, and keep credits in reserve.
- Recover carefully: persist each request before sending, reuse its idempotency key on retries, and verify refreshed usage before considering another credit.
- Stay in the tray: native Windows UI, optional launch at sign-in, and no installer or administrator requirement.
- Claude alerts (optional): read-only Claude 5-hour and weekly usage, with an alert at your threshold (and optionally at 100%), and one-click access to Claude's own
/limit-resetor Settings → Usage.
This redeems reset credits you already have. It does not purchase credits, switch accounts, or resume interrupted tasks. It is an independent project, unaffiliated with OpenAI or Anthropic.
- Install the official Codex CLI 0.147.0 or newer and sign in with your ChatGPT account.
- Download and extract the release ZIP. Keep
ResetGuard.exeand its.configfile together, then open the executable. - In Credits, check which credits the app may use.
- In Automation, set the threshold, enabled period, maximum resets, and reserve. Click Enable automatic resets.
Defaults are off, 95% weekly usage, reset at the threshold, 12 hours, one reset maximum, and one credit in reserve. If you only have one credit and want it usable, set the reserve to zero. Close the window to keep the tray app running; choose Pause to stop automatic redemption.
Requires Windows 10/11 x64, .NET Framework 4.8+, and file-backed ChatGPT authentication in Codex's existing auth.json. Keyring-only and API-key accounts are not supported in this version. Your PC must be awake and the app running. The executable is unsigned.
Turn on Claude → Watch my Claude plan usage to see Claude's 5-hour, weekly, and per-model weekly usage on the Claude page, with the 5-hour and weekly figures in the tray. Each watched 5-hour or weekly window alerts once at your threshold and, if you keep that option on, again at 100%. Claude asks you to confirm every limit reset in its own apps, so Reset Guard opens Claude Code's /limit-reset or claude.ai Settings → Usage for you instead of claiming one. Usage is read with Claude Code's existing sign-in; Reset Guard never stores or refreshes that token.
Codex reports usage as whole percentages. 99.99% waits for a reported 100%, which may be too late for an active request. A 95% threshold leaves headroom; 98–99% uses more of the allowance but leaves less time to react. To keep 95% as a safety floor but use more of the window, choose Timing → Use the last few percent: it waits until Codex is about a minute from its limit. At the limit goes further and lets a running turn finish past 100% before resetting, but a new message sent meanwhile can be blocked. Polling cannot guarantee uninterrupted sessions, especially with large or concurrent requests. See timing, thresholds and recovery.
Only checked, available full-reset credits are eligible. A specific-credit selection never falls back to another credit. A pending request blocks use of another credit until it is reconciled. Account changes pause automation. Expiring credits and imminent natural resets are checked before redemption; the server makes the final eligibility decision.
The app starts its own hidden official codex app-server --listen stdio:// process and uses the account APIs to read usage and redeem the selected credit. It never starts a model turn or replaces the running Codex desktop app.
Formerly Codex Reset Guard. Existing settings, credit permissions, and pending recovery journals are retained. The data folder keeps its original name for compatibility. If launch at sign-in was enabled, turn it off in the old copy before replacing it, then enable it in the new copy.
Settings and the recovery journal stay in %LOCALAPPDATA%\CodexResetGuard\state.json. The existing Codex auth file is read in memory to bind automation to a hashed account identity. Reset Guard does not store tokens, send telemetry, or use a third-party account service. When Claude monitoring is turned on, it also reads Claude Code's sign-in (~\.claude\.credentials.json, plus the account email from ~\.claude.json) in memory and calls Anthropic's usage endpoint at api.anthropic.com directly. The official Codex process handles its normal authentication. See the privacy and recovery details.
No package restore or separate .NET SDK is required. From Windows PowerShell:
.\source\Build.ps1 -OutDir .\build
.\build\ResetGuard.Tests.exeThe build uses the C# compiler included with .NET Framework. Tests use an isolated fake reset service, including the actual stdio transport. They do not consume credits. To produce the tested portable ZIP and SHA-256 manifest:
.\scripts\Release.ps1 -Version 1.2.0UI verification uses --ui-smoke <directory> with synthetic data. Live connection verification uses --read-only-check <report.json> and cannot redeem credits. Details are in CONTRIBUTING.md.
- Codex app-server: earned rate-limit resets
- How banked Codex resets work
- Official rate-limit types and percentage rounding
- Win-CodexBar and CodexBar inspired the tray-tool approach. Reset Guard is a separate implementation focused on opt-in reset redemption.
The app-server interface may change between Codex versions. Please include the CLI version when reporting compatibility issues.
If this saves you a manual reset, consider starring the repository or sharing a reproducible bug report. Contributions are welcome under the MIT license.



