Back to skills
SKILL.md
1178 Name Skill 03b68ec5
ASecurityThis skill should be used when the user asks "how to setup GitHub CLI", "configure gh", "gh auth not working", "GitHub CLI connection failed", "gh CLI error", or needs help with GitHub authentication.
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 1178-name-skill_03b68ec5 --agent claude-codeAre you the author of 1178 Name Skill 03b68ec5?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-1178-name-skill-03b68ec5)---
name: setup
description: This skill should be used when the user asks "how to setup GitHub CLI", "configure gh", "gh auth not working", "GitHub CLI connection failed", "gh CLI error", or needs help with GitHub authentication.
---
# GitHub CLI Setup
Configure `gh` CLI for GitHub access.
## Quick Setup
```bash
gh auth login
```
Select: GitHub.com → HTTPS → Login with browser
## Verify Authentication
```bash
gh auth status
gh api user --jq '.login'
```
## Troubleshooting
If `gh` commands fail:
1. **Check authentication** - `gh auth status`
2. **Re-login if needed** - `gh auth login`
3. **Check scopes** - Ensure token has repo access
4. **Update gh** - `brew upgrade gh` or equivalent
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.