back to home

Loongphy / codex-auth

A local-only CLI tool to switch and manage Codex accounts

124 stars
10 forks
7 issues
ZigJavaScriptShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Loongphy/codex-auth in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Loongphy/codex-auth)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Codex Auth is a local-only command-line tool for switching Codex accounts. • It never calls OpenAI APIs; all operations happen locally on your machine. • It reads and updates local Codex files under (including and auth files). Install • npm: You can also run it without a global install: npm packages currently support Linux x64, macOS x64, macOS arm64, and Windows x64. • Linux/macOS/WSL2: The installer writes the install dir to your shell profile by default. Supported profiles: / / , / , . Use to skip profile updates. • Windows (PowerShell): The installer adds the install dir to current/user by default. Use to skip user persistence. Full Commands Compatibility note: is still accepted as a deprecated alias for . The old flag has been replaced by . Examples List accounts (default table with borders): Add the currently logged-in Codex account: Import an auth.json backup: Batch import from a folder: Switch accounts (interactive list shows email, 5h, weekly, last activity): Switch account non-interactively (for scripts/other CLIs): If multiple accounts match, interactive selection is shown. Remove accounts (interactive multi-select):