github-auth

Configures GitHub authentication via credential, SSH key, or CLI options.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures your agent can securely interact with GitHub repositories, issues, and workflows by setting up the necessary authentication methods.

Core Features & Use Cases

  • Multiple Authentication Methods: Supports both Git's HTTPS (with PATs) and SSH key authentication.
  • gh CLI Integration: Leverages the GitHub CLI for a streamlined authentication experience when available.
  • Use Case: Before performing any GitHub operations like creating a pull request or cloning a repository, this skill is run to verify and establish the agent's credentials.

Quick Start

Set up GitHub authentication for the agent by running the 'github-auth' skill.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I set up GitHub authentication for my agent securely?

You can set up GitHub authentication by configuring Git's HTTPS using personal access tokens or SSH keys, and optionally leveraging the gh CLI for a streamlined credential verification process.

What is the best way to authenticate an agent for GitHub repository interactions?

The best way to authenticate an agent involves using detection logic to automatically select the most appropriate method between HTTPS personal access tokens, SSH keys, or the gh CLI for secure repository access.

Does this GitHub authentication method support both SSH keys and personal access tokens?

Yes, this authentication method supports both Git's HTTPS with personal access tokens and SSH key authentication, allowing flexible credential management for various GitHub operations.

Can I use the gh CLI to streamline GitHub authentication for my agent?

Yes, you can use the gh CLI to leverage a streamlined authentication experience, which is optionally integrated alongside standard HTTPS and SSH credential configuration methods.

Why does my agent fail to authenticate with GitHub before cloning a repository?

Your agent fails to authenticate with GitHub because credentials are unverified; this skill establishes necessary credentials and provides troubleshooting steps for common authentication issues.