codex-account-switcher
odrobnik 제작
Coding Agents & IDEs요약
Manage multiple OpenAI Codex accounts.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: switch to the account with the most available quota
- 1
Run
codex-accounts.py autoto initiate quota check - 2
Script reads auth tokens from ~/.codex/accounts/*.json for each saved account
- 3
Queries quota status per account and compares weekly usage
- 4
Writes the winning account's token to ~/.codex/auth.json
- 5
Reports the switched account and remaining quota percentage
Active account switched to the one with lowest weekly usage; confirmation printed with quota breakdown for all accounts
요구 사항
- OpenAI Codex account (one or more)
설치
clawhub install odrobnik/codex-account-switcherCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.