github-auth

Configure GitHub authentication via git or gh CLI with automatic method detection.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/GarrettRoi/open-manus --skill github-auth-garrettroi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/GarrettRoi/open-manus/tree/main/skills/github/github-auth
Command: npx skills add https://github.com/GarrettRoi/open-manus --skill github-auth-garrettroi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures the agent can securely authenticate with GitHub, enabling it to perform repository operations, manage issues, and interact with GitHub Actions.

Core Features & Use Cases

  • Multiple Authentication Methods: Supports both git (HTTPS tokens, SSH keys) and the gh CLI.
  • Automatic Detection: Intelligently selects the best available authentication method.
  • Use Case: When asked to create a pull request for a private repository, this skill will first verify or set up the necessary GitHub credentials.

Quick Start

Use the github-auth skill to set up your GitHub credentials for the 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 automated workflow?

To set up GitHub authentication, this Skill configures secure credentials for git or the gh CLI using HTTPS tokens, SSH keys, or gh auth flows with automatic method detection for CI/CD environments.

What is the best way to authenticate with GitHub using SSH keys vs HTTPS tokens?

The best way to authenticate with GitHub is determined by automatic detection, which intelligently selects between available SSH keys and HTTPS tokens based on what is configured in your environment.

Can I use the gh CLI to access private GitHub repositories?

Yes, you can use the gh CLI to access private GitHub repositories. This Skill verifies or sets up the necessary gh auth credentials to enable programmatic access for development workflows.

Do I need to configure git credentials before creating a pull request for a private repository?

Yes, you need to configure git credentials before creating a pull request for a private repository. This Skill first verifies or sets up your GitHub credentials to enable secure repository interactions.

Why does GitHub authentication fail in CI/CD pipelines when using git?

GitHub authentication fails in CI/CD pipelines when using git if no valid credentials are detected. This Skill addresses this by automating the setup of HTTPS tokens or SSH keys for programmatic access.