github-auth

Automate GitHub authentication via git or gh CLI with HTTPS tokens or SSH keys.

4|Updated May 14, 2026
One-click install
npx skills add https://github.com/liumeixin/hermes-skills --skill github-auth-liumeixin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/liumeixin/hermes-skills/tree/main/github/github-auth
Command: npx skills add https://github.com/liumeixin/hermes-skills --skill github-auth-liumeixin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of setting up and managing GitHub authentication, ensuring seamless access to GitHub repositories, pull requests, issues, and continuous integration workflows.

Core Features & Use Cases

  • Automated Authentication: Configure GitHub authentication using git or the gh CLI with support for HTTPS tokens, SSH keys, and credential helpers.
  • Detection Flow: Automatically detects the optimal authentication method based on available tools and current authentication status.
  • Method Selection: Offers two main methods: Git-only with personal access tokens or SSH keys, and gh CLI for richer API access.
  • Quick Setup: Supports quick setup with GitHub.com and GitHub enterprise, simplifying the authentication process for both users and organizations.

Quick Start

Run the 'github-auth' skill to automatically configure GitHub authentication for your agent.

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 for my development environment?

GitHub authentication setup supports HTTPS tokens and SSH keys via git, or richer API access via gh CLI. It automatically detects the optimal method based on available tools and current status.

What's the difference between using git and gh CLI for GitHub authentication?

Using git for GitHub authentication relies on personal access tokens or SSH keys, while gh CLI provides richer API access. The optimal method is detected automatically based on your installed tools and current authentication status.

Do I need gh CLI installed to configure GitHub access?

No, you do not need gh CLI installed to configure GitHub access. You can use git-only with personal access tokens or SSH keys. The gh CLI is optional and offers richer API access for pull requests and issues.

Can I use this GitHub authentication setup with GitHub Enterprise?

Yes, you can use this GitHub authentication setup with GitHub Enterprise. It supports quick setup for both GitHub.com and GitHub Enterprise, simplifying the authentication process for both users and organizations.

Why does my automated GitHub authentication choose SSH over HTTPS tokens?

Automated GitHub authentication chooses SSH over HTTPS tokens based on a detection flow that evaluates available tools and current authentication status. It automatically selects the optimal method for your environment.