What problem does it solve?
Manually configuring GitHub authentication for AI agents is time-consuming and error-prone, with different setup steps required for git HTTPS tokens, SSH keys, and the gh CLI that vary by operating system and environment. This Skill removes that friction with a universal, auto-detecting flow that works on any machine with git installed, no sudo access required.
Core Features & Use Cases
- Multi-Method Auth Support: Covers git HTTPS personal access tokens, SSH keys, and gh CLI authentication to fit any user preference or environment constraint.
- Auto-Detection Flow: Automatically checks for available tools (gh CLI, existing credentials) and selects the optimal authentication method without user intervention.
- Fallback API Access: Enables full GitHub API access via curl with a personal access token even when the gh CLI is not installed.
- Use Case: A software engineer can use this Skill to quickly configure their AI agent to push code, open pull requests, and manage GitHub issues across multiple repositories without repeating manual credential setup for each project or environment.
Quick Start
Use the github-auth skill to automatically detect and configure the correct GitHub authentication method for your agent's GitHub development workflow.