github-auth

Automate GitHub authentication setup for tokens, SSH keys, and gh login.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/x-TheFox/Corvus --skill github-auth-x-thefox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/x-TheFox/Corvus/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/x-TheFox/Corvus --skill github-auth-x-thefox

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

GitHub authentication setup across HTTPS tokens, SSH keys, and gh CLI login can be error-prone and repetitive.

Core Features & Use Cases

  • Setup HTTPS token-based authentication for Git operations (git credential helper, token scopes)
  • Configure SSH keys for passwordless Git operations with GitHub
  • Install and log in via gh CLI for enhanced GitHub API access and workflow automation
  • Validate authentication state and provide fallback flows when gh is unavailable

Quick Start

Run the github-auth skill to configure HTTPS tokens, SSH keys, and gh CLI login for your environment.

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 tokens and SSH keys?

GitHub authentication setup is automated by configuring Git credential helpers for HTTPS tokens, provisioning SSH keys for passwordless Git operations, and logging into gh CLI. It applies to developer workstations and CI environments across Linux, macOS, and Windows shells.

Can I configure git authentication for CI environments without gh CLI installed?

Git authentication in CI environments works without gh CLI by configuring HTTPS tokens via Git credential helpers. The skill validates authentication state and provides fallback flows when gh is unavailable, requiring only Git, curl, python3, and internet access to GitHub.

What's the best way to automate gh CLI login and SSH key provisioning across different operating systems?

Automating gh CLI login and SSH key provisioning across Linux, macOS, and Windows shells is handled by outputting local configuration for git, ssh, and gh authentication. It covers token creation, SSH key provisioning, and gh authentication flows automatically across different operating systems.

Do I need gh CLI to use SSH keys for passwordless Git operations with GitHub?

SSH keys for passwordless Git operations with GitHub do not require gh CLI. The skill optionally uses gh CLI for enhanced API access, but core SSH key provisioning and Git configuration function with Git, curl, python3, and internet access to GitHub.

Why does GitHub token authentication fail in Git and how can I fix it?

GitHub token authentication in Git fails due to incorrect token scopes or misconfigured credential helpers. The skill resolves this by automating token creation, validating authentication state, and properly applying token scopes to Git credential helper configuration.