Skip to content
Back to skills

964 Setup 00d64d36

ASecurity

Configure GitHub CLI authentication

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolsbashgitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 964-setup_00d64d36 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 964 Setup 00d64d36?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 964 Setup 00d64d36
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-964-setup-00d64d36/badge)](https://www.skillsdirectory.com/skills/tools-only-964-setup-00d64d36)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
description: Configure GitHub CLI authentication
---

# GitHub CLI Setup

**Source:** [github/github-mcp-server](https://github.com/github/github-mcp-server)

Configure `gh` CLI for GitHub access.

## Step 1: Check Current Status

Run `gh auth status` to check authentication state.

Report status:

- "GitHub CLI is not authenticated - needs login"
- OR "GitHub CLI is authenticated as <username>"

## Step 2: If Not Authenticated

Guide the user:

```
To authenticate with GitHub CLI:

gh auth login

This will open a browser for GitHub OAuth login.
Select: GitHub.com → HTTPS → Login with browser
```

## Step 3: Verify Setup

After login, verify with:

```bash
gh auth status
gh api user --jq '.login'
```

## Troubleshooting

If `gh` commands fail:

```
Common fixes:
1. Check authentication - gh auth status
2. Re-login - gh auth login
3. Missing scopes - re-auth with required permissions
4. Update gh CLI - brew upgrade gh (or equivalent)
5. Token expired - gh auth refresh
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.