github-auth

Configure Git and gh CLI authentication for GitHub repositories.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up secure authentication for your agent to interact with GitHub repositories, ensuring seamless access for code management and collaboration tasks.

Core Features & Use Cases

  • Automated Authentication Setup: Configures both Git and the gh CLI for secure GitHub access.
  • Multiple Authentication Methods: Supports HTTPS tokens, SSH keys, and gh auth flows.
  • Use Case: When you need the agent to clone a private repository, create a pull request, or manage GitHub issues, this skill ensures the agent is properly authenticated first.

Quick Start

Use the github-auth skill to set up authentication for your GitHub account.

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 an agent to access private repositories?

To configure GitHub authentication for an agent, you can use HTTPS tokens, SSH keys, or the gh auth login flow. This setup validates authentication status and ensures seamless access to private repositories.

Can I use an SSH key instead of a personal access token for GitHub CLI authentication?

Yes, you can use SSH keys as an alternative to HTTPS tokens for GitHub authentication. The setup supports configuring both Git and the gh CLI to securely connect using your preferred method.

What is the best way to validate GitHub authentication status before cloning a repository?

The best way to validate GitHub authentication status is to use the built-in validation mechanism. It checks your active credentials and provides fallback API access via curl if standard authentication methods fail.

Does this GitHub authentication setup work with both Git and the gh CLI?

Yes, the authentication setup works with both Git and the gh CLI. It configures secure access for both tools, allowing you to clone repositories, create pull requests, and manage issues seamlessly.

What should I do if my GitHub API authentication fails during an agent task?

If your GitHub API authentication fails, this setup provides a fallback mechanism for API access via curl. This ensures your agent can still interact with GitHub repositories when standard methods encounter issues.