github-auth

Configure GitHub API and Git authentication using gh CLI or personal access tokens.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/cxnaive/hermes-agent-llbot --skill github-auth-cxnaive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/cxnaive/hermes-agent-llbot/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/cxnaive/hermes-agent-llbot --skill github-auth-cxnaive

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 environments and Git-based HTTPS/SSH tokens for headless or server-side setups.
  • Automated Detection: Intelligently detects the best available authentication method and provides clear fallback paths.
  • Use Case: When the agent needs to push code changes to a repository, it uses this skill to verify its identity and configure the necessary credentials automatically.

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 authenticate an agent for GitHub API and Git operations?

To authenticate an agent for GitHub API and Git operations, configure secure credentials using either the gh CLI or personal access tokens. This skill implements detection logic to switch between token-based curl requests and native CLI authentication.

What is the best way to manage GitHub credentials in headless or server-side setups?

For headless or server-side setups, the best way to manage GitHub credentials is using Git-based HTTPS or SSH tokens. This method provides a clear fallback path when interactive gh CLI authentication is not available in your environment.

Do I need Python3 to configure GitHub authentication with SSH or gh CLI?

Yes, you need Python3 installed as a dependency to run the scripts that configure GitHub authentication. These scripts intelligently detect the best available method between gh CLI and personal access tokens.

Does this GitHub authentication method support automated repository management?

Yes, this GitHub authentication method supports automated repository management, pull request workflows, and CI/CD interactions. It establishes secure identity verification to allow pushing code changes without manual intervention.

Why does GitHub authentication fail when switching between gh CLI and personal access tokens?

GitHub authentication can fail if the detection logic cannot find valid gh CLI credentials or personal access tokens. This skill resolves the friction by verifying identity and providing clear fallback paths for automated repository workflows.