Configure GitHub CLI authentication
Configure GitHub CLI authentication for API access. Use this when you need to set up `gh` commands or when GitHub operations fail due to missing authentication.
/plugin marketplace add fcakyon/claude-codex-settings/plugin install slack-tools@claude-settingsSource: github/github-mcp-server
Configure gh CLI for GitHub access.
Run gh auth status to check authentication state.
Report status:
Guide the user:
To authenticate with GitHub CLI:
gh auth login
This will open a browser for GitHub OAuth login.
Select: GitHub.com → HTTPS → Login with browser
After login, verify with:
gh auth status
gh api user --jq '.login'
If gh commands fail:
Common fixes:
1. Check authentication - gh auth status
2. Re-login - gh auth login
3. Missing scopes - re-auth with required permissions
4. Update gh CLI - brew upgrade gh (or equivalent)
5. Token expired - gh auth refresh