# GitHub Auth

> GitHub Auth is an Agent Skill for apps & automation published in the agentic-in/elephant-agent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Verify GitHub CLI or connector authentication, identify the active identity, and debug missing permissions before other GitHub operations.

- Skill name: `GitHub Auth`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/agentic-in/elephant-agent/blob/HEAD/packages/skills/builtin_packages/github/github-auth/SKILL.md
- Repository: agentic-in/elephant-agent (574 GitHub stars when collected)

## SKILL.md

# GitHub Auth

Use this skill when GitHub operations fail because identity, token, or repository access is unclear.

## Preferred Flow

1. Check the active identity first with the available GitHub connector or `gh auth status`.
2. Confirm whether the issue is missing auth, wrong account, or missing repo permission.
3. Re-run the smallest failing GitHub action after auth is fixed.

## Guardrails

- Never print secrets or copy tokens back into chat.
- Report whether the blocker is account, scope, installation, or repo permission.

---

Source: https://www.openparable.com/skill/apps-automation/github-auth-aa5df3c1 (OpenParable). Cite the canonical URL above.
