What problem does it solve?
This Skill prevents Git/GitHub API operations from failing by guiding you to set up reliable GitHub authentication for repository work, PRs, and CI access.
Core Features & Use Cases
- Git-Only Authentication (HTTPS/SSH): Configure credential helpers for HTTPS personal access tokens or set up SSH keys and rewrite GitHub URLs to use SSH.
- gh CLI Authentication (if available): Use
gh auth login and optionally gh auth setup-git to unify API and git credential handling.
- Token Fallback for API calls: Support workflows that use
curl with a personal access token when gh is not available, including detection from ~/.gengar/.env or ~/.git-credentials.
- Use Case: When you need to automate PR creation and issue triage on a GitHub repo from a fresh machine, follow this Skill so git pushes and GitHub API calls succeed without repeated logins.
Quick Start
Ask the agent to set up GitHub authentication for your workflow using the method best suited to your environment (gh CLI if installed, otherwise HTTPS token or SSH keys) and verify it works.