Account pooling. Running several sign-ins behind one gateway can conflict with the terms of the provider, so check what each provider allows before you pool accounts.
Credentials. OAuth sign-ins store tokens in the console's encrypted database, so keep the .env master key backed up and never share it.
Who it is forA person with Codex or Claude OAuth sign-ins who needs to know how much capacity each credential has left.
The problemQuota is spread across several sign-ins and windows, and checking each provider separately is slow.
The outcomeA per-credential view of quota readings and estimated window capacity, with refresh times set in OMC Settings.
What you need first
- Docker Engine with the Compose plugin and CLIProxyAPI v8.0.0 or later, or a native executable with CPA installed separately
- A Linux or macOS shell with curl and openssl for the Docker path
- A place to keep the .env file, since OMCPA_MASTER_KEY encrypts the database and cannot be recovered without it
Steps
- Install Oh My CPA from the Compose guide and sign in at
http://127.0.0.1:8080/omc/. - Open OAuth management and sign in for Codex or Claude from the console.
- Read the window capacity estimate and the previous cycle shown as a labelled reference for each credential.
- Adjust how often quota readings refresh in OMC Settings if the default six hours does not suit you.
Prompt for your agent
In the Oh My CPA console at http://127.0.0.1:8080/omc/, list each Codex and Claude OAuth credential with its estimated window capacity. Report the credentials that have less than half their window left. Verify each figure against the quota reading shown for that credential before you finish.
Caveat. The README calls window capacity an estimate, so treat it as guidance rather than an exact provider limit.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for WizisCool/oh-my-cpa and "Check Codex and Claude quota windows before a busy day"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer