github-auth

Configures and validates GitHub authentication via gh CLI or credential helpers.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill resolves the friction of managing GitHub credentials, ensuring the agent can securely interact with repositories, pull requests, and issues without manual intervention.

Core Features & Use Cases

  • Multi-Method Auth: Supports both gh CLI for interactive workflows and Git-based HTTPS/SSH tokens for headless environments.
  • Automated Detection: Intelligently identifies the best available authentication method based on the local environment.
  • Use Case: When you need to push code or manage issues, this skill automatically detects your existing GitHub credentials or guides you through a secure setup process to ensure seamless API access.

Quick Start

Ask the agent to verify your current GitHub authentication status and configure the necessary credentials for your repository.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I configure GitHub authentication for an automated agent?

GitHub authentication for automated agents is configured by validating credentials via gh CLI or Git credential helpers. This skill implements robust detection logic to switch between token-based curl requests and native CLI methods for secure access.

What is the best way to manage GitHub credentials in headless environments?

The best way to manage GitHub credentials in headless environments is using Git-based HTTPS or SSH tokens. This skill intelligently detects your environment and switches to token-based curl requests when the interactive gh CLI is unavailable.

Does this GitHub authentication method require the gh CLI installed?

No, GitHub authentication does not strictly require the gh CLI installed. The skill supports multi-method auth, intelligently detecting and falling back to Git credential helpers for token-based curl requests if the CLI is missing.

How do I verify my current GitHub authentication status for repository management?

You verify your current GitHub authentication status by asking the agent to detect existing credentials or guide you through setup. This ensures seamless API access for pull request workflows and issue tracking.

Can I use Git credential helpers instead of gh CLI for GitHub API access?

Yes, you can use Git credential helpers instead of gh CLI for GitHub API access. The skill supports both methods, utilizing robust detection logic to switch to native Git-based HTTPS or SSH tokens when needed.