github-auth

Automate GitHub authentication setup using git or gh CLI methods.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/bailynlove/STARK-TOWER --skill github-auth-bailynlove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/bailynlove/STARK-TOWER/tree/main/opencrew/skills/github/github-auth
Command: npx skills add https://github.com/bailynlove/STARK-TOWER --skill github-auth-bailynlove

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the setup of GitHub authentication for agents, ensuring seamless integration with GitHub repositories, PRs, issues, and CI.

Core Features & Use Cases

  • Authentication Setup: Automates the setup of GitHub authentication using git or the gh CLI.
  • Detection Flow: Identifies the best authentication method based on available tools and credentials.
  • Git-Only Authentication: Provides options for HTTPS tokens and SSH key authentication without the gh CLI.
  • gh CLI Authentication: Offers interactive browser login and token-based login methods.
  • API Access: Allows access to the GitHub API without gh CLI using curl and personal access tokens.

Quick Start

Use 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 automate GitHub authentication setup for an agent?

GitHub authentication setup is automated by detecting available tools and configuring either git HTTPS tokens, SSH keys, or gh CLI credential helpers to provide seamless repository access.

How do I configure git authentication with SSH keys and HTTPS tokens without the gh CLI?

Git-only authentication is supported by providing options to manually configure HTTPS tokens and SSH keys, allowing repository access without needing the gh CLI installed.

Can I access the GitHub API using curl without installing the gh CLI?

Yes, API access is supported without the gh CLI by using curl and personal access tokens to authenticate and interact with GitHub endpoints directly.

Do I need git or gh CLI installed before setting up GitHub authentication?

Yes, either git or the gh CLI must be installed on your system, as these are required dependencies for the authentication setup process to function.

What is the best way to authenticate a GitHub agent using gh CLI?

Authenticating with the gh CLI is handled through interactive browser login or token-based login methods, depending on your environment and available credentials.