github-auth

Automates GitHub authentication for AI agents using Git and gh CLI.

5|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill github-auth-lengoctuong2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/lengoctuong2005/Branding-Focused-Skills/tree/main/antigravity/skills/hermes-collection/github/github-auth
Command: npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill github-auth-lengoctuong2005

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill unit automates GitHub authentication setups using Git and the gh CLI, streamlining access for AI agents.

Core Features & Use Cases

  • Multiple Auth Methods: Supports both Git authentication using HTTPS tokens or SSH keys and the gh CLI for API access.
  • Interactive and Non-Interactive Setup: Allows users to authenticate using their GitHub token through a browser or through shell commands for automated systems.
  • Configuration: Includes scripts for checking the current setup, configuring git credentials, and verifying the authentication method.

Quick Start

Run 'skill github-auth setup' to initiate the GitHub authentication setup process for the AI 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 for an AI agent?

You can set up GitHub authentication for an AI agent by running the setup script, which automates credential storage and configures both Git and the gh CLI for repository access.

Can I use SSH keys for Git authentication with this setup?

Yes, GitHub authentication supports multiple methods including Git with SSH keys, Git with HTTPS tokens, and the gh CLI, allowing flexible access configuration for automated systems.

What is the best way to configure gh CLI credentials non-interactively?

Configuring gh CLI credentials non-interactively involves using shell commands to pass your GitHub token, bypassing the browser flow for automated or headless AI agent environments.

Does this GitHub auth setup support both browser and command line token configuration?

Yes, the GitHub auth setup supports interactive browser-based authentication as well as non-interactive shell command configuration to accommodate different system environments.

How do I verify if my Git credentials are configured correctly?

You can verify your Git credentials by running the included verification scripts, which check the current setup and confirm the active GitHub authentication method.

Why do I need to configure both Git and gh CLI for repository access?

Configuring both Git and gh CLI is necessary because Git handles repository cloning and pushing while gh CLI provides API access, ensuring complete GitHub workflow integration.