AnandChowdhary

Codex Usage — Development skill for Claude Code

Development community

See how much Codex and Claude Code usage is left across all your accounts, and switch to the one with the most left.

How to install Codex Usage

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AnandChowdhary/codex-usage and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codex Usage does

See how much Codex and Claude Code usage is left across all your accounts, and switch to the one with the most left.

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Cost Xray — See what Claude Code and Codex actually send to the API — and what each part costs 586 ★
  • Tmux Claude Session Manager — Run many Claude Code sessions across your projects, each in its own tmux session — then list them, see which a 380 ★

README

codex-usage

[![CI](https://github.com/AnandChowdhary/codex-usage/actions/workflows/ci.yml/badge.svg)](https://github.com/AnandChowdhary/codex-usage/actions/workflows/ci.yml) [![Go Reference](https://pkg.go.dev/badge/github.com/AnandChowdhary/codex-usage.svg)](https://pkg.go.dev/github.com/AnandChowdhary/codex-usage) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

**See how much Codex and Claude Code usage is left across all your accounts, in one command.**

If you use Codex with more than one ChatGPT account (a personal Plus plan, a Pro plan, a Team workspace), or Claude Code with more than one Claude plan, you can't see which one still has room without signing in to each. `codex-usage` signs in to all of them once, shows their limits side by side, and switches Codex or Claude Code to whichever has the most left.

$ codex-usage
ACCOUNT         PLAN  5H LEFT  RESETS  WEEKLY LEFT  RESETS       NOTES
work@acme.com   pro   -        -       81%          Mon 07:33
me@example.com  plus  0%       38m     12%          Oct 8 12:00  limit reached; 1 usage limit reset available (expires in 5h00m)
side@proton.me  plus  64%      4h02m   90%          Thu 18:10
  • Multiple accounts. Add as many ChatGPT accounts and workspaces as you like.
  • Codex's own sign-in. It uses Codex's device-code flow: open a link, type a code, done. This tool never sees your password, and there are no API keys.
  • Switch Codex between accounts. switch signs the Codex CLI in to any of your accounts, and rotate picks the one with the most usage left. Codex's login is only changed when you run one of these commands.
  • Claude Code too. Add Claude Pro and Max accounts as Claude Code profiles. Their usage appears next to your Codex accounts, and claude switch/claude rotate pick the profile new terminals use.
  • Usage limit resets. It shows which accounts have earned resets and when they expire. codex-usage redeem