What problem does it solve? Setting up GitHub authentication for an agent or developer environment is error-prone: password auth is disabled, tokens need correct scopes, SSH keys must be registered, and headless machines lack browser login. This Skill detects the available tooling and walks through the correct authentication path. ## Core Features & Use Cases - Multi-Method Authentication: Supports HTTPS personal access tokens with git credential helpers, SSH key generation and registration, and gh CLI login for both interactive and headless environments. - Environment Detection: Ships a shell script that detects the active auth method (gh, curl with token, or none), resolves the GitHub username, and extracts the current repo owner/name from git remotes. - API Fallback Access: Shows how to call the GitHub REST API with curl when the gh CLI is unavailable, including extracting tokens from the git credential store. - Use Case: On a fresh headless server with no sudo access, use this Skill to configure a personal access token with the git credential store, set git identity, and verify push access to a repository. ## Quick Start Set up GitHub authentication on this machine so I can clone, push, and open pull requests without being prompted for credentials.