Pular para o conteúdo
TakoAPI
Voltar às skills

codex-account-switcher

por odrobnik

Coding Agents & IDEs
2.6kDownloads informados pelo clawskills.sh
2Estrelas
0Visualizações
0 curtidaEntre para curtir esta skill
—Ainda sem avaliações
Sua avaliação

Resumo

Manage multiple OpenAI Codex accounts.

Descrição

O que esta skill faz

Manages multiple OpenAI Codex accounts by capturing and swapping authentication tokens stored in ~/.codex/. Supports listing accounts, adding new ones via browser login, switching by name, and auto-selecting the account with the most available weekly quota.

Avoids manual token file management and repeated browser logins when juggling multiple Codex accounts with separate quota limits.

Quando usá-la

  • Switching from personal to work Codex account before a project session
  • Auto-selecting the account with remaining quota when one is exhausted
  • Adding a new Codex identity without disrupting the current active login
  • Checking which account is active and how much weekly quota remains
  • Scripting account rotation in automated or non-interactive environments

Exemplo de fluxo de trabalho

ENTRADA

User asks: switch to the account with the most available quota

AGENTE
  1. 1

    Run codex-accounts.py auto to initiate quota check

  2. 2

    Script reads auth tokens from ~/.codex/accounts/*.json for each saved account

  3. 3

    Queries quota status per account and compares weekly usage

  4. 4

    Writes the winning account's token to ~/.codex/auth.json

  5. 5

    Reports the switched account and remaining quota percentage

SAÍDA

Active account switched to the one with lowest weekly usage; confirmation printed with quota breakdown for all accounts

Requisitos

  • OpenAI Codex account (one or more)

Instalação

clawhub install odrobnik/codex-account-switcher

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links