github-auth

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

228k|44.7k|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/NousResearch/hermes-agent --skill github-auth-nousresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/NousResearch/hermes-agent/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/NousResearch/hermes-agent --skill github-auth-nousresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures your agent can securely authenticate with GitHub, enabling it to interact with repositories, pull requests, and issues without manual intervention.

Core Features & Use Cases

  • Automated Authentication: Supports both git (HTTPS tokens, SSH keys) and gh CLI for seamless GitHub access.
  • Flexible Setup: Detects available authentication methods and guides the user through the setup process.
  • Use Case: When you ask the agent to create a pull request for a project, it will first ensure it has the necessary GitHub credentials configured using this skill.

Quick Start

Run the setup script to configure your GitHub authentication.

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 an automated agent?

To set up GitHub authentication, run the configuration script to detect available methods and guide the agent through connecting via HTTPS tokens, SSH keys, or the gh CLI.

Does this GitHub authentication method work in headless environments?

Yes, this GitHub authentication method supports headless environments by utilizing HTTPS tokens, SSH keys, and the gh CLI to securely interact with repositories without manual intervention.

What is the best way to configure SSH keys for GitHub CLI access?

The best way to configure SSH keys is using the setup script, which detects available authentication methods and securely connects the agent to GitHub repositories and APIs.

Can I use a git HTTPS token instead of SSH for repository access?

Yes, you can use an HTTPS token instead of SSH for repository access, as the system supports both HTTPS tokens and SSH keys for flexible git authentication.

Why does my agent need GitHub credentials to create a pull request?

Your agent needs GitHub credentials to create a pull request because this skill validates authentication status and ensures secure access to interact with repositories automatically.

What happens if gh CLI authentication fails during automated setup?

If gh CLI authentication fails during automated setup, the skill validates authentication status and provides fallback mechanisms for API access via curl.