# Loongphy/codex-auth

A CLI tool to switch and manage Codex accounts

Repository: https://github.com/Loongphy/codex-auth
Canonical: https://ross.abutalabs.com/products/codex-auth
Language: Zig
License: MIT
License Family: permissive
Topics: codex, zig
Last push: 2026-07-23T08:31:34+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 86, longevity 14
- inputs: {"age_days": 204, "days_push": 41, "days_rel": 92, "gap_med": 2.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2547, forks 147 (observed 2026-08-28T04:07:00.325147+00:00)

## What it is
codex-auth is a command-line tool for switching between and managing multiple Codex accounts across the Codex CLI, VS Code extension, and Codex App. It stores accounts locally and provides commands to log in, list, switch, alias, and remove them.

## Use cases
- switch between multiple Codex accounts
- change the active Codex account without logging in again
- manage several OpenAI Codex accounts from the terminal
- list stored Codex accounts and their usage state
- add a Codex account via device auth
- remove or alias stored Codex accounts

## When to choose
- you maintain multiple Codex identities (e.g., work and personal) and switch between them
- you use Codex CLI, the VS Code extension, or Codex App and want faster account switching
- you want a small CLI utility distributed via npm to manage Codex login state

## When to avoid
- you do not use OpenAI's Codex tooling
- you need automatic account switching without restarting the client - the README points to its codext fork for that
- you expect stable Codex App integration - the README marks that path as not stable

## Facets
- artifact type: cli-tool
- maturity: active
- function: auth, cli, developer-tools
- domain: developer-tools, artificial-intelligence
- platform: cli, windows
- tags: codex, openai, account-switcher, multi-account, account-management, credential-switching, command-line, nodejs, macos, linux

## Member repositories
- Loongphy/codex-auth (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.325147+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:24:34.357382+00:00, confidence not recorded.
  - readme: https://github.com/Loongphy/codex-auth (fetched 2026-08-28T04:07:00.325147+00:00, sha 7bcbfa0d1470)
- Data as of 2026-08-30T08:39:29.467469+00:00.
