github-auth

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

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

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 compatibility.
  • Automated Detection: Intelligently detects the best available authentication method based on the environment.
  • Use Case: When the agent needs to push code or manage issues on a remote server, this skill automatically configures the necessary git credentials or API tokens to ensure seamless connectivity.

Quick Start

Run the github-auth skill to detect and configure the optimal authentication method for your current environment.

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 on a headless server for automated git operations?

To configure GitHub authentication on a headless server, you can use the gh CLI, HTTPS personal access tokens, or SSH keys. This skill detects the optimal method to ensure seamless repository and API access for automated workflows.

What is the best way to automate GitHub API access for an agent workflow?

Automating GitHub API access is best achieved by configuring secure credentials like gh CLI or personal access tokens. This skill provides robust detection and fallback logic to satisfy API interaction requirements across diverse environments.

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

Yes, you can use SSH keys instead of personal access tokens. This skill supports multi-method authentication, allowing you to configure secure GitHub access using gh CLI, HTTPS tokens, or SSH keys based on your environment.

Do I need the gh CLI installed to set up git credentials automatically?

No, you do not need the gh CLI installed to set up git credentials. While gh CLI is supported, the skill also configures authentication using HTTPS personal access tokens or SSH keys through robust fallback logic.

Why does my automated git push fail with authentication errors on a remote machine?

Automated git push failures with authentication errors often occur when credentials are missing on remote machines. This skill resolves credential management friction by detecting and configuring the necessary git credentials or API tokens.