github-auth

Authenticate Hermes Agent with GitHub using git HTTPS tokens or SSH keys.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/megaplan --skill github-auth-peteromallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-auth
Source: https://github.com/peteromallet/megaplan/tree/main/megaplan/agent/skills/github/github-auth
Command: npx skills add https://github.com/peteromallet/megaplan --skill github-auth-peteromallet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Hermes Agent requires reliable and secure access to GitHub repositories, PRs, and issues across multiple environments, and this skill unifies authentication flows.

Core Features & Use Cases

  • Detection and auto path selection between git HTTPS with tokens or SSH keys, plus gh CLI when installed
  • Flexible setup flows with safe credential handling and automatic fallbacks
  • Real-world use cases including repository access, PR management, and CI integration

Quick Start

Authenticate the Hermes Agent with GitHub across git and gh CLI methods to ensure secure access to repositories, PRs, and issues.

Frequently Asked Questions about github-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate an automated agent with GitHub using SSH keys or tokens?

GitHub authentication for automated agents unifies SSH key and HTTPS token methods. This skill automatically detects available credentials and configures secure access to repositories, PRs, and issues across local and CI environments.

What is the best way to set up GitHub CLI access for CI environments?

Setting up GitHub CLI access for CI environments requires configuring a GitHub token with safe credential handling. This skill provides automated setup flows with fallback options to ensure reliable gh CLI authentication during automated workflows.

Does this GitHub authentication method work with both git and gh CLI tools?

Yes, GitHub authentication works with both git and gh CLI tools. The skill automatically detects which tooling is installed and selects the appropriate authentication path, supporting HTTPS token-based access for git and gh CLI authentication simultaneously.

Why is my GitHub token authentication failing during automated repository access?

GitHub token authentication failures often stem from misconfigured environment access or unsafe credential handling. This skill troubleshoots authentication paths, enforces safe credential practices, and provides fallback options to resolve access issues to repositories and PRs.

Do I need a GitHub token or SSH key to automate PR management workflows?

Automating PR management workflows requires either a configured GitHub token for HTTPS or an SSH key for secure access. The skill detects your available authentication method and establishes the appropriate connection for managing PRs and issues.

Can I use SSH keys for GitHub authentication instead of HTTPS tokens in automation scripts?

Yes, you can use SSH keys for GitHub authentication instead of HTTPS tokens. This skill supports both methods, automatically detects your available authentication path, and provides flexible setup flows with safe credential handling and fallback options.