github-auth

Configure GitHub authentication for the Hermes agent via git or gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Configure GitHub authentication for the Hermes agent, enabling secure access to GitHub repositories and actions without exposing credentials.

Core Features & Use Cases

  • Supports two authentication paths: git-based HTTPS/SSH and the gh CLI, covering diverse environments.
  • Includes an automatic detection flow that selects the best available method based on system state and existing authentication.
  • Provides guidance for using HTTPS tokens, SSH keys, credential helpers, and gh auth to maintain secure, persistent access.

Quick Start

Authenticate the agent with GitHub using either git (HTTPS tokens or SSH keys) or the gh CLI and verify access works.

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 an automated agent?

To configure GitHub authentication for an agent, you can use git-based HTTPS tokens, SSH keys, or gh CLI credentials. An automatic detection script evaluates the current environment and system state to select the best available method.

What is the best way to authenticate with GitHub using SSH or HTTPS tokens?

The best way to authenticate depends on your environment, but using gh CLI or git credential helpers provides persistent access. You can configure HTTPS token scopes or set up SSH keys to maintain secure connections without exposing credentials.

Do I need gh CLI installed to set up GitHub authentication for git?

No, you do not need gh CLI if you use git-based HTTPS tokens or SSH keys. However, gh CLI is supported as a dependency and offers an alternative authentication path alongside standard git credential methods.

How does automatic GitHub authentication detection work?

Automatic detection works by running a script that checks the system state and existing authentication configurations. It evaluates whether HTTPS tokens, SSH keys, or gh CLI auth is available to seamlessly select the optimal method.

Why does my GitHub authentication fail when using SSH keys in a new environment?

GitHub authentication with SSH keys may fail if the keys are not properly configured or if the git identity is missing. The Skill provides guidance on setting up SSH keys and git identity to ensure secure, persistent repository access.