github-auth

Configure GitHub authentication for git and gh CLIs using tokens or SSH keys.

Updated May 11, 2026
One-click install
npx skills add https://github.com/richardnguyen0715/keep-it-real --skill github-auth-richardnguyen0715
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/richardnguyen0715/keep-it-real/tree/main/refer-projects/hermes-agent/skills/github/github-auth
Command: npx skills add https://github.com/richardnguyen0715/keep-it-real --skill github-auth-richardnguyen0715

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide for setting up GitHub authentication methods, ensuring seamless interaction with GitHub repositories, PRs, issues, and CI.

Core Features & Use Cases

  • Multiple Authentication Methods: Offers guidance on using both git and gh CLI for authentication.
  • Token Management: Detailed steps on creating and managing personal access tokens for HTTPS authentication.
  • SSH Key Setup: Instructions for generating SSH keys and configuring git to use SSH for GitHub.
  • gh CLI Login: Steps for using the gh CLI for authentication, suitable for headless servers and desktop environments.

Quick Start

Run the 'setup-auth' command to initiate the GitHub authentication setup process.

Frequently Asked Questions about github-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up GitHub authentication with a personal access token?

Setting up GitHub authentication with a personal access token involves creating the token in your GitHub settings and configuring git to use it over HTTPS. This Skill automates the token management setup process for interacting with repositories and pull requests.

What's the best way to configure SSH keys for GitHub repositories?

Configuring SSH keys for GitHub involves generating a key pair and adding the public key to your GitHub account. This Skill provides step-by-step instructions for generating SSH keys and configuring git to use SSH for repository access.

Can I use the gh CLI for GitHub authentication on a headless server?

Yes, the gh CLI supports GitHub authentication on a headless server. This Skill provides specific steps for using the gh CLI to log in, enabling interaction with repositories and CI on remote servers.

Do I need git and gh CLI installed to authenticate with GitHub?

Yes, both git and gh CLI are required dependencies to configure GitHub authentication using this Skill. You need them installed to execute the scripts that set up tokens, SSH keys, and gh CLI login.

Why use gh CLI login instead of HTTPS tokens or SSH keys for GitHub?

Using gh CLI login offers a unified authentication method for managing pull requests, issues, and CI, whereas HTTPS tokens and SSH keys are primarily for repository access. This Skill helps configure the method best suited for your workflow.