github-auth

Authenticate Hermes Agent with GitHub using HTTPS tokens, SSH keys, or gh CLI.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Chris-Chai-Minjae/hermes-agent-r1-bridge --skill github-auth-chris-chai-minjae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/Chris-Chai-Minjae/hermes-agent-r1-bridge/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/Chris-Chai-Minjae/hermes-agent-r1-bridge --skill github-auth-chris-chai-minjae

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables the Hermes Agent to securely authenticate with GitHub so it can manage repositories, PRs, issues, and CI workflows via git (HTTPS/SSH) or the gh CLI, without manual login steps.

Core Features & Use Cases

  • Supports Git-based authentication using HTTPS tokens or SSH keys for universal Git access.
  • Supports gh CLI authentication for richer API access and streamlined credentials management.
  • Provides a detection flow to automatically choose the best authentication method based on environment and availability.

Quick Start

Initiate the GitHub authentication setup flow and provide your token or SSH key when prompted.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I authenticate an AI agent with GitHub for repository access?

GitHub authentication for an AI agent is configured by applying HTTPS tokens, SSH keys, or gh CLI credentials to enable repository operations, PRs, and CI workflows without manual login.

What's the best way to set up Git credentials using HTTPS tokens or SSH keys?

Setting up Git credentials involves choosing between HTTPS tokens for universal Git access or SSH keys for secure repository operations, using a detection flow to select the optimal method based on environment availability.

Can I use gh CLI authentication instead of standard Git credentials?

Yes, gh CLI authentication provides richer GitHub API access and streamlined credentials management compared to standard Git credentials, supporting repository operations, PRs, issues, and CI workflows.

Do I need git and gh installed to configure GitHub authentication?

You need git installed for Git-based authentication pathways using HTTPS or SSH, while gh CLI is required if you choose the gh CLI authentication pathway for richer API access and credentials management.

How does the GitHub auth detection flow choose between gh CLI and Git?

The GitHub auth detection flow automatically chooses the best authentication method by evaluating environment availability and whether git or gh is installed, then routing to either Git-only or gh CLI setup pathways.

Why does GitHub authentication setup fail when neither git nor gh is installed?

GitHub authentication setup requires either git or gh installed in the environment to configure HTTPS tokens, SSH keys, or gh credentials, and includes verification steps to confirm successful repository access.