github-auth

Automate GitHub authentication across Git, gh CLI, and API access.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/anilcan-kara/nozich-agent --skill github-auth-anilcan-kara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/anilcan-kara/nozich-agent/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/anilcan-kara/nozich-agent --skill github-auth-anilcan-kara

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, curl, python3, grep, sed, cut, tr, head, and includes scripts (resource) components.

What problem does it solve?

This skill automates GitHub authentication across Git, gh CLI, and API access, enabling seamless repository access and automation without repeated logins.

Core Features & Use Cases

  • Git credential management: HTTPS tokens, SSH keys, and gh-based login flows.
  • Flexible authentication paths: use gh when available, otherwise fall back to git credentials.
  • Use Case: a CI bot needs to push PRs and manage issues across multiple repos without manual authentication.

Quick Start

Follow the setup to configure GitHub authentication using tokens, SSH keys, or gh login, and verify access with a test operation.

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 automated CI workflows?

GitHub authentication for CI workflows is automated by configuring git credential management, SSH keys, or gh CLI login flows. This enables bots to push PRs and manage issues across multiple repos without repeated manual logins.

What is the best way to manage GitHub tokens and SSH keys across different operating systems?

Managing GitHub tokens and SSH keys across Linux, macOS, and Windows is handled by applying flexible authentication paths using gh CLI when available, otherwise falling back to git credentials.

Does this GitHub authentication method support API access for repository automation?

Yes, GitHub API access is supported alongside Git and gh CLI authentication. It applies to workflows requiring repository access, PRs, issues, and CI integration on Linux, macOS, and Windows.

Do I need gh CLI installed to automate Git credentials and GitHub login?

No, gh CLI is not strictly required to automate Git credentials. The workflow uses gh when available, but otherwise falls back to standard git credential management and SSH key setup.

Why does my GitHub authentication fail when switching between HTTPS tokens and SSH keys?

GitHub authentication can fail during HTTPS and SSH key transitions if credentials are not properly managed. Automating secure GitHub access ensures correct token and SSH key configuration across Git and gh CLI.