# Github Auth

> Set up, repair, and verify GitHub authentication with gh auth login, git credential helpers, SSH keys, and token scopes.

- Skill: `rycen7822/github-auth` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rycen7822/github-auth`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rycen7822/github-auth/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Rycen7822 (https://skillmd.com/u/rycen7822)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/rycen7822/github-auth

---

# GitHub Auth
## When to Use
Use when the user needs GitHub authentication, gh CLI login, credential helper repair, SSH key setup, token scope checks, or push permission diagnostics.
## Do Not Use When
Do not use when the user asks to review a pull request, create a repository, triage issues, or open a PR from code changes.
## Required Inputs
GitHub host, desired auth method, repository owner, permission scope, and whether network login is allowed.
## Workflow
1. Inspect current gh auth status and git credential configuration.
2. Choose HTTPS token or SSH key authentication.
3. Verify repository access, push permissions, and token scopes.
4. Report safe remediation steps without exposing secrets.

