This skill should be used when the user asks "how to setup GitHub CLI", "configure gh", "gh auth not working", "GitHub CLI connection failed", "gh CLI error", or needs help with GitHub authentication.
Start a fresh conversation. Replace the highlighted placeholders.
Use setup to diagnose and configure GitHub CLI authentication for [GitHub account or repository access need], including guidance if login, scopes, or token refresh is required.
Required inputs
[GitHub account or repository access need]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: setupdescription: This skill should be used when the user asks "how to setup GitHub CLI", "configure gh", "gh auth not working", "GitHub CLI connection failed", "gh CLI error", or needs help with GitHub authentication.
GitHub CLI Setup
Configure gh CLI for GitHub access.
Check Current Status
gh auth status
Report one of these states:
gh is not authenticated and needs login
gh is authenticated, including the current username if available
Login Flow
If authentication is missing or broken, guide the user through: