github-auth

Automate GitHub authentication setup using Git and gh CLI.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill github-auth-ashiqcodeleaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/ashiqcodeleaf/long-Run-Agents/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill github-auth-ashiqcodeleaf

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the setup of GitHub authentication, allowing users to quickly and securely access their repositories, pull requests, issues, and more.

Core Features & Use Cases

  • Git & gh CLI Authentication: Supports both Git and gh CLI authentication methods for seamless GitHub integration.
  • HTTPS Tokens & SSH Keys: Offers methods to authenticate using personal access tokens or SSH keys.
  • Setup Instructions: Provides detailed steps for setting up authentication on various platforms.

Quick Start

Run the github-auth skill to set up GitHub authentication for your agent.

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 using SSH keys and gh CLI?

GitHub authentication setup is automated using Git and gh CLI, supporting both SSH keys and HTTPS personal access tokens. This process grants secure access to repositories, pull requests, issues, and CI workflows.

What's the best way to authenticate a GitHub account for repository access?

The best way to authenticate a GitHub account is by using automated Git and gh CLI scripts that configure either HTTPS tokens or SSH keys, providing seamless integration and secure repository access.

Do I need gh CLI installed to configure GitHub authentication?

Git is required for GitHub authentication, while gh CLI is optional but recommended for enhanced API access to pull requests, issues, and CI workflows.

Can I use HTTPS tokens instead of SSH keys for GitHub authentication?

Yes, GitHub authentication supports both HTTPS personal access tokens and SSH keys, allowing you to choose your preferred method for secure repository integration.

Why does GitHub authentication fail when accessing private repositories?

GitHub authentication fails if Git is missing or credentials are improperly configured. Automating setup with Git and gh CLI ensures correct SSH key or HTTPS token configuration for repository access.

Does GitHub authentication work with CI workflows and pull requests?

Yes, once GitHub authentication is established using Git and gh CLI, it facilitates access to repositories, pull requests, issues, and CI workflows.