What problem does it solve?
Agents need authenticated access to GitHub to clone repositories, create pull requests, and use the GitHub API, but setting up credentials manually can be error‑prone and varies between HTTPS tokens and SSH keys.
Core Features & Use Cases
- Automatic detection of available tools (git and gh) and existing authentication state.
- Two setup paths: a git‑only flow using HTTPS personal access tokens or SSH keys, and a richer gh CLI flow.
- Credential storage via Git credential helpers or environment variables for API calls.
- Troubleshooting guidance for common failures such as missing scopes or SSH connectivity issues.
- Applicable scenarios: initializing new agent environments, CI/CD runners, or any workstation that requires GitHub access without manual configuration.
Quick Start
Use the github-auth skill to automatically configure GitHub authentication for the current environment.