github-auth

Detect and configure GitHub authentication via git or gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The Hermes Agent often needs reliable GitHub access to manage repositories, pull requests, issues, and CI workflows. It provides flexible authentication methods (git HTTPS tokens, SSH keys, or gh CLI) with automatic detection and setup.

Core Features & Use Cases

  • Git-Only authentication via HTTPS with PAT or SSH keys for broad compatibility.
  • gh CLI authentication for richer API access and integrated git credential handling.
  • Automatic method detection and guided setup for environments with varying tool availability.

Quick Start

Initialize the authentication flow by letting the agent detect gh or git-based credentials and configure access to GitHub repositories and actions.

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 to access GitHub repositories and CI workflows?

To authenticate an agent to access GitHub repositories and CI workflows, you can use git HTTPS with personal access tokens, SSH keys, or the gh CLI. The skill automatically detects available methods and guides the setup and verification steps.

Does this GitHub authentication method work without the gh CLI installed?

Yes, this GitHub authentication method works without the gh CLI installed. It automatically scopes usage to environments with or without gh, selecting git-based HTTPS or SSH credential flows to ensure broad compatibility.

What is the best way to configure GitHub credentials for automated agents?

The best way to configure GitHub credentials for automated agents is using gh CLI for richer API access or git HTTPS with PATs. This skill detects existing credential helpers and tokens, guiding you through secure verification.

Why does my agent fail to access GitHub PRs and issues after setting up tokens?

If your agent fails to access GitHub PRs and issues after setting up tokens, it may be due to undetected credential helpers or missing gh CLI integration. This skill detects available tokens and guides proper setup to resolve access failures.

Do I need Python3 and curl to set up SSH authentication for GitHub?

Yes, you need Python3, curl, and git installed to set up SSH authentication for GitHub. These dependencies allow the skill to detect existing credentials, configure SSH keys, and verify secure access to your repositories.

Can I use git HTTPS tokens instead of gh CLI for agent authentication?

Yes, you can use git HTTPS tokens instead of gh CLI for agent authentication. The skill selects between git-based HTTPS PATs and gh auth flows based on your environment's tool availability, ensuring secure repository access.