✓ Verified
💻 Development
✓ Enhanced Data
Codex Account Switcher
Manage multiple OpenAI Codex accounts.
- Rating
- 5 (430 reviews)
- Downloads
- 10,549 downloads
- Version
- 1.0.0
Overview
Manage multiple OpenAI Codex accounts.
Complete Documentation
View Source →
Codex Account Switcher
Manage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file.
Usage
1. List Accounts
Show saved accounts (active one is marked withACTIVE on the right). Default output is compact.
--verboseincludes refresh age + token TTL (debug)--jsonoutputs the verbose info as JSON
bash
./codex-accounts.py list
To include emails/diagnostics:
bash
./codex-accounts.py list --verbose
2. Add an Account
Interactive wizard to capture login(s).- Always starts a fresh browser login (
codex logout && codex login) so you explicitly choose the identity to capture. - After each login it saves a snapshot.
- In an interactive terminal it asks if you want to add another.
- When invoked non-interactively (e.g. via Moltbot), it runs single-shot (no "add another" prompt).
- When naming an account, press Enter to accept the default name (local-part of the detected email, e.g.
oliverfromoliver@…).
bash
./codex-accounts.py add
3. Switch Account
Instantly swap the active login.bash
./codex-accounts.py use work
4. Auto-Switch to Best Quota
Check all accounts and switch to the one with most weekly quota available.bash
./codex-accounts.py auto
./codex-accounts.py auto --json
Output:
text
🔄 Checking quota for 2 account(s)...
→ sylvia... weekly 27% used
→ oliver... weekly 100% used
✅ Switched to: sylvia
Weekly quota: 27% used (73% available)
All accounts:
sylvia: 27% weekly ←
oliver: 100% weekly
Setup
See SETUP.md for prerequisites and setup instructions.
Installation
Terminal bash
openclaw install codex-account-switcher
Copied!
💻Code Examples
./codex-accounts.py add
codex-accountspy-add.txt
### 3. Switch Account
Instantly swap the active login../codex-accounts.py use work
codex-accountspy-use-work.txt
### 4. Auto-Switch to Best Quota
Check all accounts and switch to the one with most weekly quota available.example.txt
🔄 Checking quota for 2 account(s)...
→ sylvia... weekly 27% used
→ oliver... weekly 100% used
✅ Switched to: sylvia
Weekly quota: 27% used (73% available)
All accounts:
sylvia: 27% weekly ←
oliver: 100% weeklyTags
#coding_agents-and-ides
#code
Quick Info
Category Development
Model GPT-4
Complexity One-Click
Author odrobnik
Last Updated 3/10/2026
🚀
Optimized for
GPT-4
Ready to Install?
Get started with this skill in seconds
openclaw install codex-account-switcher
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0