İçeriğe geç
TakoAPI
Becerilere dön

codex-account-switcher

odrobnik tarafından

Coding Agents & IDEs
2.6kİndirme sayıları clawskills.sh tarafından bildirilir
2Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Manage multiple OpenAI Codex accounts.

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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

ÇIKIŞ

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

Gereksinimler

  • OpenAI Codex account (one or more)

Kurulum

clawhub install odrobnik/codex-account-switcher

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar