github-auth
Installation
SKILL.md
github-auth
Authenticate to GitHub and diagnose auth failures. This is a verify and
troubleshoot skill — the bundled create_github_issues.py already implements
both auth methods, so you are not writing new auth code here. You are confirming
a token works and the owner/repo point where the user expects, then unblocking
the create/query skills ([[github-create-issues]], [[findings-to-github-issues]]).
GitHub accepts two credential styles. Pick A unless the user has a reason to use a PAT.
Method A — gh CLI (recommended)
Why preferred: no long-lived secret to store, and it rides the user's existing gh
session. gh auth token returns a ready-to-use token.
gh auth login # one-time setup
$token = gh auth token # get the current token