github-auth

Configure GitHub authentication workflows for HTTPS tokens, SSH keys, and gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the challenge of configuring GitHub authentication so agents and users can reliably access repositories, pull requests, issues, and APIs without repeated login failures.

Core Features & Use Cases

  • Authentication Setup: Guides HTTPS token, SSH key, and gh CLI authentication workflows for GitHub access.
  • Environment Detection: Identifies available authentication methods and resolves GitHub user and repository context.
  • Use Case: Configure a development machine or automation agent to securely clone, push, and manage GitHub repositories.

Quick Start

Use the github-auth skill to check my GitHub authentication status and configure the best available login method.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I configure GitHub authentication for secure repository access?

GitHub authentication is configured by guiding HTTPS token, SSH key, and gh CLI workflows to establish secure repository access. The skill detects available methods and resolves GitHub user context to enable cloning, pushing, and managing repositories without repeated login failures.

What's the best way to set up GitHub access for an automation agent?

Setting up GitHub access for an automation agent involves detecting available authentication methods and applying the best fit. The skill identifies HTTPS tokens, SSH keys, or API fallbacks, resolving repository context so agents can reliably perform pull request and issue operations.

Do I need gh CLI installed to authenticate with GitHub?

The gh CLI is an optional integration for GitHub authentication, not a strict requirement. The skill detects available login methods and supports HTTPS tokens and SSH keys independently, applying gh CLI workflows only when the tool is present in the environment.

How does GitHub credential management handle SSH keys versus HTTPS tokens?

GitHub credential management distinguishes SSH keys and HTTPS tokens through environment detection logic. The skill evaluates the development environment for existing SSH keys or HTTPS tokens, selecting the optimal available authentication method to establish secure repository access.

Can I check my GitHub authentication status before pushing to a repository?

Checking GitHub authentication status is supported by detecting configured credentials and resolving the active GitHub user context. The skill identifies whether HTTPS tokens, SSH keys, or gh CLI authentication is active, preventing login failures during repository push operations.

Why does GitHub authentication fail when cloning private repositories?

GitHub authentication fails during private repository cloning when no valid credentials are detected. The skill addresses this by applying authentication detection logic to identify and configure HTTPS tokens, SSH keys, or API fallbacks for secure repository access.