Codex auth setup

From hashgraph-online/awesome-codex-plugins · View interactive version

Codex auth setup is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Install or refresh codex-multi-auth for the official Codex CLI, run first login, and verify account health and routing.

How to use this skill

Skill file

codex-auth-setup

Use this skill when the user wants to install, reinstall, upgrade, or troubleshoot codex-multi-auth for the official @openai/codex CLI.

Install

npm i -g @openai/codex
npm i -g codex-multi-auth

If the old scoped prerelease package is still installed:

npm uninstall -g @ndycode/codex-multi-auth
npm i -g codex-multi-auth

First login

codex-multi-auth login

Default flow:

  1. Open the account menu.
  2. Choose the browser-first OAuth path.
  3. Complete the official OAuth flow.
  4. Return to the terminal and confirm the account was saved.

Verify health and routing

codex-multi-auth status
codex-multi-auth list
codex-multi-auth check
codex-multi-auth forecast --live

Use these next when managing multiple accounts:

codex-multi-auth switch 2
codex-multi-auth verify-flagged
codex-multi-auth doctor --fix

Alternate login paths

Use these when browser launch is blocked or the shell is headless:

codex-multi-auth login --manual
CODEX_AUTH_NO_BROWSER=1 codex-multi-auth login

Troubleshooting

Usage boundaries

This project is for personal development use. For production or commercial workloads, use the OpenAI Platform API.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.