npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codex-multi-auth

v0.1.0

Published

Codex CLI-first multi-account OAuth rotation plugin for OpenCode

Readme

codex-multi-auth

npm version npm downloads

Codex CLI-first multi-account OAuth manager for the official Codex CLI.


Quick Start

Install from source (current project workflow):

npm install -g @openai/codex
git clone https://github.com/ndycode/codex-multi-auth.git
cd codex-multi-auth
npm install
npm run build
npm link

Add and verify accounts:

codex auth login
codex auth list
codex auth check

If browser opens during codex auth login, that is expected. Complete OAuth and return to the same terminal.


What You Get

  • codex auth ... commands for multi-account management.
  • Interactive beginner-friendly dashboard with hotkeys.
  • Health checks, forecasting, safe auto-fix, and diagnostics.
  • Live account sync and Codex CLI active-account state sync.

Most-Used Commands

| Command | Use it for | | --- | --- | | codex auth login | Add/manage accounts in the dashboard | | codex auth list | See saved accounts and current account | | codex auth switch <index> | Switch current account | | codex auth check | Quick health + live session checks | | codex auth forecast --live | Choose the best next account | | codex auth fix --dry-run | Preview safe fixes | | codex auth fix | Apply safe fixes | | codex auth doctor --fix | Diagnose and auto-repair common issues | | codex auth report --live --json | Full machine-readable report | | codex auth features | Print all implemented feature areas |

Complete command reference: docs/reference/commands.md


Dashboard Hotkeys

Main dashboard:

  • Up / Down: move
  • Enter: select
  • 1-9: quick switch account
  • /: search
  • ? or H: help
  • Q: back

Account detail menu:

  • S: set current
  • R: refresh login
  • E: enable/disable
  • D: delete account

Settings and Advanced Backend

Open:

codex auth login
# Settings

Settings are persisted in:

  • ~/.codex/multi-auth/settings.json
  • or CODEX_MULTI_AUTH_DIR/settings.json when custom root is set

Reference:


Documentation Map

Start here:

Maintainer docs:


Quick Troubleshooting

codex auth doctor --fix
codex auth list
codex auth forecast --live

If command routing is broken:

where codex
codex --version
codex auth status
codex multi auth status

Development

npm run typecheck
npm run lint
npm test
npm run build

Security and Usage Notice

This project is for personal development workflows. You are responsible for compliance with OpenAI policies.