github-auth

Automate GitHub authentication setup for git and gh CLI workflows.

26|1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/TeamSloppy/Sloppy --skill github-auth-teamsloppy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/TeamSloppy/Sloppy/tree/main/Sources/sloppy/Resources/Skills/github-auth
Command: npx skills add https://github.com/TeamSloppy/Sloppy --skill github-auth-teamsloppy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

GitHub authentication is essential for agents to manage repositories, PRs, issues, and CI workflows securely. This skill provides flexible authentication setups that work with both Git and gh CLI, reducing manual setup and credential handling.

Core Features & Use Cases

  • Git authentication options: HTTPS with personal access tokens, or SSH keys, for universal Git operations.
  • gh CLI integration: If gh is installed, enables streamlined authentication and API access.
  • Detection and fallback flows: Detects existing authentication and automatically selects the best method, with fallbacks when components are missing.
  • Troubleshooting guidance: Provides clear steps for common authentication issues and credential storage.

Quick Start

Authenticate by choosing a method (gh login or git-based) and verify access to a repository to confirm credentials are active.

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?

GitHub authentication for agents is configured by detecting existing credentials and selecting the best available method, such as HTTPS tokens, SSH keys, or gh CLI login. The workflow automates setup across git and gh flows to enable secure repository management.

What's the best way to authenticate with Git when gh CLI is not installed?

Git authentication without gh CLI is handled using HTTPS with personal access tokens or SSH keys. The workflow detects that gh is missing and falls back to configuring git credentials directly for universal repository access.

Can I use SSH keys for GitHub authentication across different operating systems?

SSH keys for GitHub authentication are supported across Linux, macOS, and Windows. The workflow enforces detection of the current authentication state and configures SSH credential storage for universal Git operations on these platforms.

How do I troubleshoot GitHub credentials when git operations fail?

Troubleshooting GitHub credentials involves following guided steps for common authentication issues and credential storage. The workflow detects existing authentication states and provides fallback flows to resolve access problems.

Does GitHub authentication setup support both HTTPS tokens and gh CLI login workflows?

GitHub authentication supports both HTTPS personal access tokens and gh CLI login workflows. The setup automatically detects installed components and selects the optimal method, providing integration for API access alongside standard git operations.