Manages GitHub CLI authentication via gh CLI including login, logout, token refresh, status checks, and scope management.
Ships in gh-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Login, logout, refresh, and check authentication status for GitHub CLI.
gh auth login (interactive) or gh auth login --hostname <hostname> --with-token < <token-file>gh auth login -p sshgh auth login -w (web-first flow)gh auth logout [--hostname <hostname>]gh auth refresh --scopes "<scope1,scope2>"gh auth status [--hostname <hostname>]gh auth token [--hostname <hostname>] (print the current auth token)gh auth setup-git (configure git to use gh as credential helper)gh auth switch [--hostname <hostname>]gh auth status shows all authenticated hostsCommon scopes for gh auth refresh: repo, read:org, admin:org, gist, project, workflow, write:packages, admin:repo_hook, admin:org_hook
Triggered when user says "auth", "login", "logout", "authentication", "gh token", "check auth".
Use gh auth status to verify authentication before running other commands.
Use gh auth refresh --scopes to add new permissions without re-logging in.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
github-cli, gh-auth, authentication, git-credentials, token-management
/gh-expert:gh-authfrom gh-expert
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin gh-expert18 skills in this plugin
/gh-copilotManage GitHub Copilot tasks via gh CLI.Other plugins' skills for the same job