github-auth

Automate GitHub authentication setup using git or gh CLI.

539|39|Updated May 1, 2026
One-click install
npx skills add https://github.com/Tommy-yw/RunbookHermes --skill github-auth-tommy-yw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/Tommy-yw/RunbookHermes/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/Tommy-yw/RunbookHermes --skill github-auth-tommy-yw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the complex challenge of setting up and maintaining GitHub authentication across multiple machines or scenarios, providing users with an intuitive, automatic solution for accessing GitHub repositories and services.

Core Features & Use Cases

  • Autodetect & Setup Authentication: Determines the most appropriate authentication method for GitHub, utilizing the user's git or gh CLI installations and prompts as necessary.
  • Authentication Path Flexibility: Supports authentication through git or gh CLI, with options for HTTPS tokens, SSH keys, and credential helpers.
  • Effortless Setup: Streamlines the process of setting up GitHub authentication, making it accessible even to users without advanced knowledge.

Quick Start

Run 'skills/github/github-auth'.

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 using git or the gh CLI?

To set up GitHub authentication, this Skill automates the process by detecting your installed git or gh CLI tools and configuring the appropriate credentials for seamless repository access.

What is the best way to manage SSH keys and tokens for GitHub repositories?

Managing SSH keys and tokens for GitHub is handled automatically by this Skill, which selects the optimal authentication path and configures credential helpers to reduce user error.

Do I need gh CLI installed to configure GitHub credentials automatically?

You do not strictly need gh CLI installed to configure GitHub credentials, as the Skill supports authentication through git directly, but it will utilize gh CLI if it is available.

Can I use git credential helpers to automate GitHub API access across different machines?

You can use git credential helpers to automate GitHub API access across machines, as this Skill streamlines credential management and handles token setup for various deployment scenarios.

Why does my GitHub authentication fail when switching between HTTPS and SSH?

GitHub authentication might fail during protocol switches due to misconfigured credentials, but this Skill simplifies the setup by automatically selecting the correct method between HTTPS tokens and SSH keys.

What are the limitations of using git instead of gh CLI for GitHub authentication setup?

Using git instead of gh CLI for GitHub authentication limits you to basic credential helper configurations, whereas gh CLI provides more integrated repository operations and API management features.