Handles OAuth 2.0 device flow authentication for the OKX CLI across three regional sites (global, EEA, US). The skill enforces a strict pre-flight gate that's worth noting: it will always ask you to pick a site before login, even if upstream context seems to imply one, because the auth binary emits a placeholder default that doesn't reflect actual user choice. It also checks for existing API key configurations first, since the CLI prefers API keys over OAuth and won't fall back. The documentation is unusually detailed about failure modes, which suggests this flow has sharp edges around session state and site persistence. Use this before any trading, portfolio, or earn operations on your first run.
npx skills add https://github.com/okx/agent-skills --skill okx-cex-auth