atlasomnia/donna-starter/github-auth
Claude Code and agent skill by atlasomnia/donna-starter
- community
Checking that the SKILL.md file is still in the repository.
github-auth — GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
Install
npx vskill@latest install atlasomnia/donna-starter/github-authSKILL.md
The same SKILL.md was published earlier as atlasomnia/donna-starter/github-auth.
GitHub Authentication Setup
This skill sets up authentication so the agent can work with GitHub repositories, PRs, issues, and CI. It covers two paths:
- `git` (always available) — uses HTTPS personal access tokens or SSH keys
- `gh` CLI (if installed) — richer GitHub API access with a simpler auth flow
Detection Flow
When a user asks you to work with GitHub, run this check first:
Decision tree:
- If
gh auth statusshows authenticated → you're good, useghfor everything - If
ghis installed but not authenticated → use "gh auth" method below - If
ghis not installed → use "git-only" method below (no sudo needed)
Method 1: Git-Only Authentication (No gh, No sudo)
This works on any machine with git installed. No root access needed.
Option A: HTTPS with Personal Access Token (Recommended)
This is the most portable method — works everywhere, no SSH config needed.
Step 1: Create a personal access token
Tell the user to go to: https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Give it a name like "hermes-agent"
- Select scopes:
repo(full repository access — read, write, push, PRs)workflow(trigger and manage GitHub Actions)read:org(if working with organization repos)- Set expiration (90 days is a good default)
- Copy the token — it won't be shown again
Step 2: Authenticate git — prefer the CLI or OS credential manager
These keep the token out of plaintext files and command history.
Step 3: Configure git identity
Step 4: Verify
Option B: SSH Key Authentication
Good for users who prefer SSH or already have keys set up.
Step 1: Check for existing SSH keys
Step 2: Generate a key if needed
Tell the user to add the public key at: https://github.com/settings/keys
- Click "New SSH key"
- Paste the public key content
- Give it a title like "hermes-agent-<machine-name>"
Step 3: Test the connection
Step 4: Configure git to use SSH for GitHub
Step 5: Configure git identity
Method 2: gh CLI Authentication
If gh is installed, it handles both API access and git credentials in one step.
Interactive Browser Login (Desktop)
Token-Based Login (Headless / SSH Servers)
Verify
Using the GitHub API Without gh
When gh is not available, you can still access the full GitHub API using curl with a personal access token. This is how the other GitHub skills implement their fallbacks.
Setting the Token for API Calls
Helper: Detect Auth Method
Use this pattern at the start of any GitHub workflow:
Troubleshooting
| Problem | Solution | |
|---|---|---|
git push asks for password | GitHub disabled password auth. Use a personal access token as the password, or switch to SSH | |
remote: Permission to X denied | Token may lack repo scope — regenerate with correct scopes | |
fatal: Authentication failed | Cached credentials may be stale — run git credential reject then re-authenticate | |
ssh: connect to host github.com port 22: Connection refused | Try SSH over HTTPS port: add Host github.com with Port 443 and Hostname ssh.github.com to ~/.ssh/config | |
| Credentials not persisting | Check git config --global credential.helper — must be store or cache | |
| Multiple GitHub accounts | Use SSH with different keys per host alias in ~/.ssh/config, or per-repo credential URLs | |
gh: command not found + no sudo | Use git-only Method 1 above — no installation needed |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/github/github-auth/SKILL.md
Popularity
- Repository stars
- 117
- Repository forks
- 9
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atlasomnia/donna-starter/github-auth)