askill
setup

setupSafety 95Repository

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.

572 stars
11.4k downloads
Updated 4/4/2026

Package Files

Loading files...
SKILL.md

GitHub CLI Setup

Configure gh CLI for GitHub access.

Check Current Status

gh auth status

Report one of these states:

  • gh is not authenticated and needs login
  • gh is authenticated, including the current username if available

Login Flow

If authentication is missing or broken, guide the user through:

gh auth login

Select: GitHub.com -> HTTPS -> Login with browser

Verify Authentication

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 the token has repo access
  4. Refresh auth - gh auth refresh
  5. Update gh - brew upgrade gh or equivalent

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

79/100Analyzed 2/25/2026

A well-structured skill for GitHub CLI setup with clear triggers, actionable commands, and troubleshooting steps. Located in a dedicated skills folder with proper tags. Covers basic auth flow but lacks some advanced options (SSH, detailed scopes). High reusability as it addresses generic gh CLI configuration.

95
85
85
65
80

Metadata

Licenseunknown
Version-
Updated4/4/2026
Publisherfcakyon

Tags

apigithubsecurity