Loading...
Loading...
Connect ChatGPT / Codex subscription via OAuth device-code login (NOT BYOK)
npx skill4agent add starchild-ai-agent/official-skills chatgpt-codex-onboardinggpt-5-codexgpt-5gpt-5-miniopenai_oauthskills/byok-custom-model/SKILL.mdconfig/context/references/model-onboarding.mdcustom_modelsopenai_oauth(action="status")openai_oauth(action="start")verification_urluser_codepending_idOpen this URL in your browser:
<verification_url>
And enter this code:
<user_code>pollopenai_oauth(action="poll", pending_id=<id from step 2>)openai-codex/gpt-5-codexopenai-codex/gpt-5openai-codex/gpt-5-mini/model openai-codex/gpt-5-codex| action | required | purpose |
|---|---|---|
| — | Current state, email, account_id, token expiry |
| — | Begin device-code flow → returns |
| | Check authorization status (call after user confirms approval) |
| — | Disconnect + remove credentials |
| — | Force-refresh access token (debug; normally automatic) |
| (optional | List available models from the OAuth endpoint |
| (optional | Subscription usage stats |
force=truemodelsusageopenai-codex/openai-codex/gpt-5-codexopenai-codex/gpt-5openai-codex/gpt-5-mini/model openai-codex/gpt-5-codexrefresh_tokenopenai_oauth(action="refresh")openai_oauth(action="logout")startstartpoll