본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

codex-multi-subscription-auth-fallbacks

markeljan 제작

Coding Agents & IDEs
511clawskills.sh가 보고한 다운로드 수
2스타
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Set up OpenClaw multi-provider auth with OpenAI Codex OAuth fallback profiles and automatic model switching.

설명

이 스킬이 하는 일

Configures multiple OpenAI Codex OAuth profiles in OpenClaw and sets up automatic failover between them when a provider hits a rate limit. Includes a script for device-flow login that imports tokens into OpenClaw's auth-profiles store without exposing them externally. An optional cron job can auto-switch the active model when a provider enters cooldown.

Eliminates manual account switching by letting OpenClaw fail over to a backup Codex profile automatically when one account is rate-limited.

사용 시점

  • Adding a second OpenAI Codex account to avoid rate limit interruptions
  • Rotating between Codex profiles during heavy coding sessions
  • Setting failover priority order across multiple OpenAI accounts
  • Automating model switching when a Codex session hits cooldown
  • Importing fresh OAuth tokens into OpenClaw without manual JSON editing

예시 워크플로

입력

User asks: add my second OpenAI account as a fallback Codex profile named 'work'

에이전트
  1. 1

    Runs codex-add-profile.sh work to start the import process

  2. 2

    Creates timestamped backups of ~/.codex/auth.json and auth-profiles.json

  3. 3

    Clears Codex CLI auth and triggers device-flow login via browser

  4. 4

    Extracts access token, refresh token, and expiry from the new session

  5. 5

    Writes the new 'work' profile into auth-profiles.json and restores original Codex auth

출력

OpenClaw auth-profiles.json updated with a second Codex OAuth profile named 'work', ready for failover

요구 사항

  • OpenAI account with Codex access
  • OpenAI Codex CLI installed (npm i -g @openai/codex)

설치

clawhub install markeljan/codex-multi-subscription-auth-fallbacks

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크