What problem does it solve? Setting up GitHub authentication for an AI agent is error-prone: tokens need the right scopes, git needs credential helpers, SSH keys need generation and registration, and headless servers lack browser login. This Skill provides a detection flow and step-by-step setup so the agent can push code, open PRs, and call the GitHub API without repeated credential prompts. ## Core Features & Use Cases - Automatic auth detection: Runs a decision tree that checks for an authenticated gh CLI, an existing GITHUB_TOKEN, entries in ~/.hermes/.env, or stored git credentials, then picks the right method. - Git-only setup without sudo: Configures HTTPS personal access tokens with credential helpers, or generates ed25519 SSH keys and rewrites HTTPS remotes to SSH. - gh CLI and curl fallback: Supports interactive or token-based gh auth login, plus direct GitHub API access via curl with an extracted token when gh is unavailable. - Use Case: On a fresh headless server, the agent detects no gh CLI, walks the user through creating a token with repo and workflow scopes, stores it via git credential helper, and verifies push access. ## Quick Start Set up GitHub authentication on this machine so you can clone, push, and use the GitHub API.