github-auth

Configure GitHub authentication for git and gh workflows.

3|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/twjarviszyra-web/hermes-unbound --skill github-auth-twjarviszyra-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/twjarviszyra-web/hermes-unbound/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/twjarviszyra-web/hermes-unbound --skill github-auth-twjarviszyra-web

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, curl, python3, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of setting up GitHub authentication so the agent can reliably work with repositories, pull requests, issues, and CI without manual guesswork.

Core Features & Use Cases

  • Automatic method selection: Detects whether gh, git credential storage, SSH keys, or a token-based fallback is the best option on the current machine.
  • Multiple authentication paths: Supports HTTPS personal access tokens, SSH key setup, and gh auth login for both interactive and headless environments.
  • Operational readiness: Verifies identity, configures git credentials, and exposes reusable environment variables for follow-on GitHub workflows.

Quick Start

Ask the agent to check your current GitHub login status and configure the safest working authentication method for this machine.

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 Git and gh-based workflows?

Configure GitHub authentication by detecting the environment and selecting the best method among HTTPS personal access tokens, SSH keys, credential helpers, or gh auth login for reliable repository access and CI tasks.

What is the best way to set up GitHub credentials on a machine without sudo access?

Setting up GitHub credentials without sudo access is handled by a token-based fallback or gh auth login, allowing you to configure HTTPS tokens or SSH keys without administrative privileges.

Does the authentication method support both SSH keys and HTTPS tokens for repository access?

Yes, GitHub authentication supports both SSH key setup and HTTPS personal access tokens, automatically detecting which method works best for your current machine and workflow.

Why does my Git credential helper fail in headless CI environments?

Git credential helpers may fail in headless CI environments if not configured for token-based authentication, but automatic environment detection provides a fallback using gh or curl tokens.

Can I use gh CLI to manage pull requests and issues after authentication?

Yes, after using gh auth login to verify your identity and configure git credentials, you can manage pull requests, issues, and CI tasks with reusable environment variables for follow-on GitHub workflows.