github-auth

Authenticate the Hermes Agent with GitHub via git or the gh CLI.

2|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/AlexiosBluffMara/mercury --skill github-auth-alexiosbluffmara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/AlexiosBluffMara/mercury/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/AlexiosBluffMara/mercury --skill github-auth-alexiosbluffmara

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill simplifies securely authenticating the Hermes Agent with GitHub, enabling repository access, PRs, and issues by automatically selecting between git-based credentials and the gh CLI flow.

Core Features & Use Cases

  • Detects available authentication methods (git HTTPS with tokens, SSH keys, or gh auth) and selects the best path for the current environment.
  • Supports HTTPS tokens, SSH keys, credential helpers, and gh authentication for seamless GitHub access in automated workflows.
  • Real-world use: enable the agent to push commits, manage PRs, and interact with GitHub APIs across multiple repositories without manual login.

Quick Start

Run the github-auth setup to configure GitHub authentication for the agent using git or the gh CLI.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I automate GitHub authentication for an agent using git or gh CLI?

To automate GitHub authentication, this Skill detects available methods like git HTTPS tokens, SSH keys, or gh CLI flows, and selects the best path to configure credentials for the Hermes Agent automatically.

What's the best way to configure GitHub credentials for SSH keys and HTTPS tokens?

Configuring GitHub credentials is handled by detecting and selecting between SSH keys, HTTPS tokens, and credential helpers, enabling the agent to access repositories and APIs without manual login.

Do I need the gh CLI installed to set up GitHub authentication, or is git enough?

You do not need the gh CLI installed; git is required, but gh CLI is optional. The Skill detects available methods and selects the appropriate authentication path based on your current environment.

Can I use this to manage GitHub PRs and issues across multiple repositories?

Yes, you can manage GitHub PRs and issues across multiple repositories. Once authentication is configured via SSH or gh CLI, the agent can push commits and interact with GitHub APIs seamlessly.

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

Automated git authentication can fail if the environment lacks valid credentials. This Skill solves this by detecting available SSH keys, HTTPS tokens, or gh auth states to select the correct method.

What dependencies are required to configure GitHub authentication with this approach?

Required dependencies to configure GitHub authentication include git, curl, python3, and optionally the gh CLI, along with access to a GitHub account to set up the necessary credentials.