What problem does it solve? Setting up GitHub authentication on a new machine is error-prone: password auth is disabled, tokens need the right scopes, SSH keys must be registered, and headless servers cannot use browser logins. This Skill walks an agent through detecting the current auth state and configuring a working method. ## Core Features & Use Cases - Auth Detection Flow: Checks git, gh CLI availability, existing credentials, and picks the right setup path automatically. - Git-Only Setup: Configures HTTPS personal access tokens with credential helpers or SSH keys with URL rewriting, requiring no sudo or extra installs. - gh CLI Login: Supports interactive browser login on desktops and token-based login on headless servers, plus gh auth setup-git. - API Fallback: Shows how to call the GitHub REST API with curl using a token extracted from the git credential store or a .env file. - Use Case: On a fresh Linux server without root access, use this Skill to create a personal access token, store it with the git credential helper, set the commit identity, and verify push access in minutes. ## Quick Start Set up GitHub authentication on this machine so I can clone, push, and open pull requests without being prompted for a password.