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/zeronx798/demo-hermes-agent --skill github-auth-zeronx798
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/zeronx798/demo-hermes-agent/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/zeronx798/demo-hermes-agent --skill github-auth-zeronx798

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 credentials 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.
  • Environment Detection: Automatically identifies the best available authentication method based on the current system configuration.
  • Use Case: When starting a new project, use this skill to verify your GitHub connection status and automatically configure the necessary credentials for seamless git operations.

Quick Start

Run the github-auth skill to detect your current 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 automated git operations on a headless server?

GitHub authentication on a headless server is configured using HTTPS personal access tokens or SSH keys to enable automated git operations. This approach ensures secure credential persistence through standard system configuration files without manual intervention.

What is the best way to authenticate GitHub access across different environments?

Authenticating GitHub access across different environments is best handled by detecting the available system configuration and applying the optimal method. The skill evaluates gh CLI, HTTPS tokens, or SSH keys to establish secure repository and API management.

Does this GitHub authentication method require the gh CLI to work?

GitHub authentication does not strictly require the gh CLI. While gh CLI is supported for configuration, the skill also establishes secure access using HTTPS personal access tokens or SSH keys based on your current system environment.

How do I set up SSH keys for GitHub repository management?

Setting up SSH keys for GitHub repository management involves running a configuration process that persists credentials in standard system files. This enables secure agent interactions with repositories, issues, and pull requests without manual friction.

Can I use HTTPS tokens for GitHub API access on local machines?

Yes, HTTPS personal access tokens can be used for GitHub API access on local machines. The authentication configuration supports HTTPS tokens alongside gh CLI and SSH keys to satisfy requirements for secure automated git operations.

Why should I use an automated skill for GitHub credential persistence instead of manual configuration?

Using an automated skill for GitHub credential persistence resolves the friction of managing credentials across environments and prevents manual configuration errors. It ensures secure agent interactions with repositories, issues, and pull requests without manual friction.