github-auth

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill sets up authentication so the agent can work with GitHub repositories, PRs, issues, and CI pipelines. It covers two paths: git-based HTTPS tokens or SSH keys, and gh CLI authentication when gh is installed.

Core Features & Use Cases

  • Git-only authentication using HTTPS with personal access tokens (PAT) or SSH keys.
  • gh CLI authentication for API access and streamlined credential management when gh is present.
  • Verification and guided setup to ensure the agent can push, pull, and manage GitHub resources across local and CI environments.

Quick Start

Ask me to set up GitHub authentication using PAT/SSH or gh CLI, and I will guide you through the steps.

Frequently Asked Questions about github-auth

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

FAQPage Schema
How do I authenticate with GitHub using a personal access token or SSH key?▼

GitHub authentication using a personal access token (PAT) or SSH key configures git-based HTTPS or SSH credentials. This allows the agent to push, pull, and manage repositories by storing credentials and verifying access across local and CI environments.

Can I use gh CLI to configure GitHub authentication for automated workflows?▼

Yes, gh CLI handles GitHub authentication for automated workflows when the tool is installed. It detects gh availability to provide streamlined API access and credential management for both manual and CI contexts.

Do I need to install gh CLI to set up GitHub authentication for git operations?▼

No, installing gh CLI is optional for GitHub authentication. You can use git-only HTTPS with personal access tokens or SSH keys to manage repositories, while gh CLI provides an alternative path for API access when available.

What's the best way to verify GitHub access across local environments and CI pipelines?▼

The best way to verify GitHub access is by configuring credentials through HTTPS PATs, SSH keys, or gh CLI. This detects available tools, stores tokens, configures optional repo remotes, and verifies access for local environments and CI pipelines.

Why does GitHub authentication fail when switching between HTTPS and SSH remotes?▼

GitHub authentication fails when switching remotes if credentials are not properly stored or detected for the new protocol. Configuring optional repo remotes ensures the correct HTTPS PAT or SSH key is applied to verify access.