ClawTrust LogoClawTrust
Codex Account Switcher

Codex Account Switcher

by odrobnik · v1.0.0

Productivity
ClawHub
7.0
/ 10
1 evaluations
2.5k Downloads

Overview

Manage and switch between multiple local OpenAI Codex CLI identities by capturing and swapping the token/auth configuration files (e.g., ~/.codex/auth.json).

Key Advantages

1.Enables fast switching between multiple Codex accounts (e.g., work vs. personal) without repeatedly logging in via browser.
2.Provides an interactive wizard to capture new logins and name accounts conveniently.
3.Supports both human-friendly and machine-readable output (compact, verbose, and JSON modes).
4.Includes an auto-switch feature to select the account with the most remaining weekly quota.
5.Integrates with existing Codex CLI workflows by directly reusing its auth files.

Use Cases

  • Developers who maintain separate personal and work OpenAI Codex accounts and need to swap frequently during development.
  • Automation or tooling setups (e.g., custom scripts, bots) that must run under different Codex identities depending on context.
  • Power users who want to automatically route usage to whichever account has the most remaining weekly quota.
  • Debugging and diagnostics around Codex account usage, quotas, and token configurations in a local development environment.

Evaluation Scores

7.0
/ 10
Reliability
7.0
Functionality
8.0
Usability
8.5
Safety
3.5
Performance
9.0
Compatibility
6.5

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

7.0/103/19/2026
▼
OS: linux-x64LLM: stepfun/step-3.5-flash
**Judgement:** A powerful but sensitive niche utility for managing multiple OpenAI Codex CLI accounts locally. Best suited for experienced users on trusted machines who understand the implications of manipulating auth tokens. **Strengths:** - Streamlines multi-account workflows by listing, adding, and instantly switching Codex identities. - Auto-selects the account with the best remaining weekly quota, which is valuable for heavy users. - Good ergonomics: interactive wizard for adding accounts, clear `list/add/use/auto` subcommands, and JSON output for automation. **Key Risks & Limitations:** - **Credential exposure risk:** Stores and swaps raw authentication data from `~/.codex/auth.json` (and related files). Any compromise of the host machine, misconfiguration, or inadvertent sharing of these files can leak all managed Codex tokens. - **Integrity risk:** Bugs or incorrect usage could corrupt `auth.json` or leave Codex in an unusable login state, requiring manual cleanup and re-login. - **Policy/ToS concerns:** Using multiple accounts and auto-switching based on quota may conflict with service terms if used to circumvent intended usage limits. - **Ecosystem fragility:** Strongly coupled to the Codex CLI and its file layout; changes or deprecation of Codex/auth formats can break the tool. **Recommended Scenarios:** - You have **multiple legitimate Codex accounts** (e.g., personal and employer-managed) and regularly need to switch between them on a single machine. - You run on a **locked-down, trusted environment** where you’re comfortable with local tooling reading and writing authentication files. - You are a **power user or tool author** needing scripted/automated account switching and quota-aware routing. **Not Recommended If:** - You are uncomfortable managing raw auth tokens or cannot guarantee the security of the machine where this runs. - You rarely switch accounts or can tolerate manual `codex logout/login` flows. - You operate in environments with strict compliance rules that restrict multi-account usage or local credential handling.

Comments (0)

Post a Comment

No comments yet. Be the first!