github-auth

Authenticate Hermes Agent with GitHub via gh CLI or git tokens and SSH keys.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/gqf2008/hermez-ai --skill github-auth-gqf2008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/gqf2008/hermez-ai/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/gqf2008/hermez-ai --skill github-auth-gqf2008

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The Hermes Agent needs reliable GitHub authentication to perform repository operations, PRs, and CI interactions, and this skill provides a secure path using either git (HTTPS with tokens or SSH keys) or the gh CLI.

Core Features & Use Cases

  • Automatic method detection: prefer gh when authenticated, otherwise fall back to git with a token or SSH key
  • Supports two primary flows: Git-Only (HTTPS token or SSH) and gh CLI authentication
  • Includes troubleshooting guidance for varied environments (local, CI, and remote runners)

Quick Start

Configure GitHub authentication by selecting the best available method (gh if installed and authenticated, otherwise git with a token or SSH) and verify access with a test command.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I authenticate a Hermes Agent with GitHub for repository operations and CI workflows?

GitHub authentication for a Hermes Agent is handled by selecting the best available method, preferring gh CLI if authenticated, otherwise falling back to git with an HTTPS token or SSH key. This enables repository operations, PRs, and CI workflow interactions.

Does GitHub authentication work with both SSH keys and personal access tokens?

Yes, GitHub authentication supports both personal access tokens via HTTPS and SSH keys. It automatically detects the available credential method and implements safe fallbacks depending on your environment.

What's the best way to set up git credential helper for GitHub in CI environments?

The best way to set up git credential helper in CI environments is using the detection flow that prefers gh CLI when authenticated, otherwise falling back to git with a token or SSH key, including troubleshooting guidance for remote runners.

Why does gh CLI authentication fail when git HTTPS token access works?

gh CLI authentication may fail when it is not installed or authenticated, causing the detection flow to bypass it and fall back to git with an HTTPS token or SSH key for repository access.

Do I need python3 and curl to configure GitHub authentication via gh CLI?

Yes, python3 and curl are required dependencies to run the scripts that detect and configure GitHub authentication across git and gh CLI methods.

How can I verify GitHub access after setting up SSH or token authentication?

You can verify GitHub access by running a test command after the authentication method is selected, confirming that repository operations and CI interactions are properly enabled.