github-auth

Automate GitHub authentication and repository access via git, gh, or curl.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of setting up and managing GitHub authentication and repository access, ensuring smooth collaboration and automation.

Core Features & Use Cases

  • Authentication Setup: Automate the setup of GitHub authentication using either git or the gh CLI, covering HTTPS tokens, SSH keys, and credential helpers.
  • Method Detection: Automatically detect the best authentication method available on the user's system.
  • Multi-Method Support: Supports both git and gh CLI for GitHub API access and credential management.
  • API Access Without gh: Offers methods to use GitHub API with curl, even without the gh CLI installed.
  • Repository Access: Provides instructions to access and interact with GitHub repositories, PRs, issues, and CI.
  • Use Case: Ideal for users looking to automate repetitive GitHub-related tasks, such as repository setup, pull request creation, or issue tracking.

Quick Start

Use the github-auth skill to set up GitHub authentication on your system.

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 automated workflows?

GitHub authentication setup is automated by detecting the best available method on your system, supporting git and gh CLI for HTTPS tokens, SSH keys, and credential helpers.

Can I access the GitHub API with curl if the gh CLI is not installed?

You can access the GitHub API using curl as a fallback method when the gh CLI is not available, ensuring API access for repository and issue management without requiring the CLI.

What is the best way to manage GitHub repository access across different methods?

Managing GitHub repository access is handled by supporting both git and gh CLI methods, automatically detecting your system configuration to interact with repositories, PRs, and issues.

Do I need SSH keys configured to use GitHub authentication automation?

SSH keys are supported for authentication, but appropriate system configurations for either SSH or git token-based access are required depending on your chosen method.

Why does my GitHub authentication method matter for repository management?

GitHub authentication method detection ensures seamless repository management by selecting between git, gh CLI, or curl API access based on what is available on your system.

What GitHub administrative tasks can I automate after authentication is set up?

Automating repetitive GitHub-related tasks like repository setup, pull request creation, issue tracking, and CI interactions is supported once authentication is established.