What problem does it solve? It provides the complete reference for the Microsoft account authentication chain in the GRID Craft Launcher, so changes to gcl-core auth code, token storage, or launch arguments follow the correct OAuth device-code flow without leaking secrets. ## Core Features & Use Cases - Device-Code Login Chain: Documents the six-step flow from device code through Xbox Live, XSTS, and Minecraft login to profile retrieval, including XErr error mapping. - Token Storage & Refresh: Covers refresh token rotation in the OS keyring or a 0600-permission file fallback, Minecraft token caching in accounts.json, and the five-minute refresh margin. - Offline Accounts & Launch Placeholders: Explains offline UUID derivation and the LaunchIdentity placeholders used for both Microsoft and offline accounts. - Use Case: Before modifying gcl-core/src/auth/ or adding account-related launch arguments, consult this Skill to handle cancellation, secret redaction, and error cases like Error::SignInAgain correctly. ## Quick Start Read this Skill before editing any code under gcl-core auth or account-related launch arguments in the launcher.