What problem does it solve? Setting up GitHub authentication on a new machine or headless server is error-prone: password auth is disabled, tokens need correct scopes, and SSH keys require manual configuration. This Skill walks through detecting the current auth state and configuring credentials so git operations, PRs, issues, and CI workflows work without repeated prompts. ## Core Features & Use Cases - Auth Detection Flow: Checks for git, gh CLI, existing credentials, and credential helpers, then follows a decision tree to pick the right setup method. - Git-Only Setup (No sudo): Configures HTTPS personal access tokens with credential helpers, or SSH ed25519 keys with URL rewriting — works on any machine with git installed. - gh CLI Login: Supports interactive browser login on desktops and token-based login for headless servers, plus gh auth setup-git integration. - API Access Without gh: Provides curl-based GitHub API patterns and a helper script (gh-env.sh) that detects the auth method, resolves the username, and exports repo context variables. - Use Case: You SSH into a fresh cloud VM with no root access and need to clone and push to a private repo. The Skill detects gh is missing, guides token creation with repo and workflow scopes, configures the credential store, and verifies push access. ## Quick Start Set up GitHub authentication on this machine so I can clone, push, and open pull requests without being prompted for credentials.