github-auth

Configure GitHub authentication via HTTPS tokens, SSH keys, or gh CLI sessions.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/ghufronbagaskara/agent-im --skill github-auth-ghufronbagaskara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/ghufronbagaskara/agent-im/tree/main/hermes-home/skills/github/github-auth
Command: npx skills add https://github.com/ghufronbagaskara/agent-im --skill github-auth-ghufronbagaskara

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill resolves the friction of managing GitHub credentials, ensuring the agent can securely interact with repositories, issues, and pull requests without manual intervention.

Core Features & Use Cases

  • Multi-Method Auth: Supports gh CLI, HTTPS personal access tokens, and SSH keys for maximum environment compatibility.
  • Automated Detection: Intelligently identifies the best available authentication method based on the current environment.
  • Use Case: When the agent needs to push code updates or manage CI workflows, it automatically detects if it should use an existing gh CLI session or a stored personal access token to authenticate securely.

Quick Start

Run the github-auth skill to detect and configure the optimal authentication method for your current environment.

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 agents on a headless server?

Automating GitHub authentication on a headless server requires configuring git credentials without manual input. This skill detects available gh CLI sessions or stored HTTPS tokens to enable secure repository interaction.

Can I use SSH keys and HTTPS personal access tokens for git credential persistence?

Yes, you can use SSH keys and HTTPS personal access tokens for git credential persistence. The skill identifies the best available method in your environment to manage secure repository access and API interactions.

Does the gh CLI work with automated fallback mechanisms for GitHub API interaction?

Yes, the gh CLI works with automated fallback mechanisms for GitHub API interaction. The skill detects existing gh CLI sessions and automatically falls back to HTTPS tokens or SSH keys when CLI is unavailable.

What's the best way to manage GitHub credentials across diverse deployment environments?

Managing GitHub credentials across diverse deployment environments is best handled by automated detection. This skill evaluates available gh CLI, HTTPS token, and SSH key methods to configure secure authentication with maximum compatibility.

Do I need curl and python3 to set up GitHub authentication for repository access?

Yes, curl and python3 are required dependencies to set up GitHub authentication for repository access. They execute the scripts that manage secure credential detection, automated fallback mechanisms, and git credential persistence.