github-auth

Configure GitHub authentication using gh CLI, HTTPS tokens, or SSH keys.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zangjeicy/Hermes --skill github-auth-zangjeicy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/zangjeicy/Hermes/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/zangjeicy/Hermes --skill github-auth-zangjeicy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

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

Core Features & Use Cases

  • Multi-Method Auth: Supports gh CLI, HTTPS personal access tokens, and SSH keys for maximum flexibility.
  • Automated Detection: Intelligently detects the best available authentication method based on the local environment.
  • Use Case: When starting a new project, use this skill to automatically configure your git credentials so you can push code and manage PRs without being prompted for a password every time.

Quick Start

Run the github-auth skill to detect and configure your current GitHub authentication method.

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 automated repository management?

GitHub authentication can be configured using gh CLI, HTTPS personal access tokens, or SSH keys. This skill intelligently detects the best available method based on your local environment to enable secure repository interactions.

What is the best way to set up git credentials for CI/CD operations?

Setting up git credentials for CI/CD operations is best handled by automated detection logic that selects the most appropriate credential storage method. It evaluates system availability to configure gh CLI, HTTPS tokens, or SSH keys.

Does this GitHub authentication method work with SSH keys and gh CLI simultaneously?

Yes, it supports multi-method authentication using both SSH keys and gh CLI. The detection logic evaluates your system availability to select the most appropriate credential storage method, ensuring maximum flexibility across diverse development environments.

Why does git keep asking for a password when I push code or manage pull requests?

Git asks for a password because your GitHub authentication is not configured for persistent access. Configuring secure credentials via gh CLI, HTTPS tokens, or SSH keys resolves this friction and allows automated repository management without manual intervention.

Do I need curl and python3 installed to automate GitHub authentication detection?

Yes, curl and python3 are required dependencies alongside git and gh to automate GitHub authentication detection. These tools facilitate the robust logic needed to evaluate system availability and select the most appropriate credential storage method.

Can I use HTTPS personal access tokens instead of SSH keys for GitHub interactions?

Yes, HTTPS personal access tokens are fully supported as an alternative to SSH keys for GitHub interactions. The skill supports multi-method authentication, intelligently detecting and configuring HTTPS tokens or SSH keys based on your local environment availability.