Skip to content
Back to skills

Codex Auth Setup

ASecurity

Install or refresh codex-multi-auth for the official Codex CLI, run first login, and verify account health and routing.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentsgoshellbashgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill codex-auth-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Auth Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Auth Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-codex-auth-setup/badge)](https://www.skillsdirectory.com/skills/thedixitjain-codex-auth-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-auth-setup
description: "Install or refresh codex-multi-auth for the official Codex CLI, run first login, and verify account health and routing."
category: ai-agents-and-harness
source_repo: hashgraph-online/awesome-codex-plugins
source_path: "plugins/ndycode/codex-multi-auth/skills/codex-auth-setup/SKILL.md"
source_url: https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/ndycode/codex-multi-auth/skills/codex-auth-setup/SKILL.md
---


# 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

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

If the old scoped prerelease package is still installed:

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

## First login

```bash
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

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

Use these next when managing multiple accounts:

```bash
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:

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

## Troubleshooting

- Run `where codex-multi-auth` if `codex-multi-auth` is not recognized.
- Free port `1455` and retry if the OAuth callback server cannot bind.
- Re-run `codex-multi-auth login` if the active account is stale or the wrong account was selected.
- Use `codex-multi-auth doctor --fix` followed by `codex-multi-auth check` for a fast recovery loop.
- See `docs/getting-started.md`, `docs/configuration.md`, `docs/troubleshooting.md`, and `docs/reference/commands.md` for the full command and config docs.

## Usage boundaries

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

---

**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/ndycode/codex-multi-auth/skills/codex-auth-setup/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.