← All skills
Tencent SkillHub · Developer Tools

Codex Account Switcher

Manage multiple OpenAI Codex accounts. Capture current login tokens and switch between them instantly. ⚠️ Reads and writes ~/.codex/auth.json and ~/.codex/accounts/*.json (sensitive authentication tokens).

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Manage multiple OpenAI Codex accounts. Capture current login tokens and switch between them instantly. ⚠️ Reads and writes ~/.codex/auth.json and ~/.codex/accounts/*.json (sensitive authentication tokens).

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SETUP.md, SKILL.md, codex-accounts.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.2.4

Documentation

ClawHub primary doc Primary doc: SKILL.md 6 sections Open source page

Codex Account Switcher

Manage multiple OpenAI Codex identities (e.g. personal vs. work) by swapping the authentication token file.

1. List Accounts

Show saved accounts (active one is marked with ACTIVE on the right). Default output is compact. --verbose includes refresh age + token TTL (debug) --json outputs the verbose info as JSON ./codex-accounts.py list To include emails/diagnostics: ./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. oliver from oliver@…). ./codex-accounts.py add

3. Switch Account

Instantly swap the active login. ./codex-accounts.py use work

4. Auto-Switch to Best Quota

Check all accounts and switch to the one with most weekly quota available. ./codex-accounts.py auto ./codex-accounts.py auto --json Output: 🔄 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.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts
  • SKILL.md Primary doc
  • SETUP.md Docs
  • codex-accounts.py Scripts