github-auth

Configures GitHub authentication for the Hermes agent via gh or git.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/danmartinez78/echo-ghost-backup --skill github-auth-danmartinez78
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/danmartinez78/echo-ghost-backup/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/danmartinez78/echo-ghost-backup --skill github-auth-danmartinez78

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Set up and manage GitHub authentication for the Hermes agent so it can access repositories, issues, pull requests, and CI pipelines without manual login.

Core Features & Use Cases

  • Multi-path authentication: supports git HTTPS tokens, SSH keys, and the gh CLI with automatic method selection.
  • Auto-detection: determines the best available method based on the environment and current auth state.
  • Use Case: when the agent needs to push changes or read repository data, it authenticates and continues without prompting the user.

Quick Start

Authenticate the agent with GitHub using the available method (gh or git) and proceed with repository operations.

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 automated agent to GitHub for repository access?▼

GitHub authentication for agents is configured by auto-detecting available methods like gh CLI, HTTPS tokens, or SSH keys, then applying the appropriate credential flow to access repositories and CI workflows without manual login.

What's the best way to manage GitHub credentials when gh CLI is unavailable?▼

When gh CLI is unavailable, GitHub credential management falls back to safe API access methods, utilizing git HTTPS tokens or SSH keys to authenticate repository operations and pipeline workflows automatically.

How does auto-detection work for choosing between SSH keys and HTTPS tokens?▼

Auto-detection for GitHub credentials evaluates the current environment and auth state to select the best available method, automatically applying SSH keys, HTTPS tokens, or gh auth flows for repository access.

Do I need to manually configure git credentials before running agent workflows?▼

Manual git credential configuration is not required for agent workflows; the authentication process auto-detects the available GitHub method and applies the appropriate flow, allowing operations to continue without prompting the user.

Can I use GitHub HTTPS tokens to authenticate CI pipelines and pull requests?▼

Yes, GitHub HTTPS tokens can authenticate agents to access repositories, issues, pull requests, and CI pipelines, with auto-detection applying the token flow when it is the most suitable available credential method.

Why does GitHub authentication fail when switching between local and CI environments?▼

GitHub authentication may fail across environments if credential methods are mismatched, but auto-detection resolves this by evaluating the current auth state and applying safe fallbacks for API access when gh CLI is missing.