What problem does it solve?
This Skill removes friction when granting an agent access to GitHub by automating detection and configuration of authentication methods so the agent can clone, push, create PRs, and call the GitHub API without manual troubleshooting.
Core Features & Use Cases
- Automatic detection of available tools and authentication state (git, gh, environment variables, and git credential stores).
- Multiple authentication flows with clear fallback: gh CLI interactive or token-based login, HTTPS personal access token saved via git credential helpers, and SSH key generation/registration.
- Verification and troubleshooting steps to validate auth, resolve common permission errors, and extract tokens when needed for API fallbacks.
- Use Case: Prepare a headless CI machine so an autonomous agent can push branches, open PRs, and call API endpoints even when gh is not installed.
Quick Start
Configure GitHub authentication for the current machine using the gh CLI if available otherwise fall back to git with a personal access token or SSH key.