codex-team is a small CLI for managing multiple Codex ChatGPT login snapshots on one machine.
It stores named snapshots under ~/.codex-team/, lets you switch the active ~/.codex/auth.json, and can cache quota usage including 5-hour and weekly window status.
npm install -g codex-teamAfter install, use the codexm command.
codexm --version
codexm current
codexm list [name]
codexm save <name>
codexm update
codexm switch <name>
codexm switch --auto --dry-run
codexm remove <name> --yes
codexm rename <old> <new>Use --json on query and mutation commands when you need machine-readable output.
- Log into a target account with the native Codex CLI.
- Save the current auth snapshot with
codexm save <name>. - Repeat for other accounts.
- Switch between saved accounts with
codexm switch <name>or let the tool choose withcodexm switch --auto. - Refresh and inspect quota usage with
codexm list.
pnpm install
pnpm typecheck
pnpm test
pnpm buildMIT