setup-gh-cli

Install gh CLI and verify GitHub authentication status.

264|27|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/PacificStudio/openase --skill setup-gh-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-gh-cli
Source: https://github.com/PacificStudio/openase/tree/main/internal/builtin/skills/setup-gh-cli
Command: npx skills add https://github.com/PacificStudio/openase --skill setup-gh-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Install and verify the GitHub CLI (gh) on the target machine to ensure you can authenticate and interact with GitHub programmatically.

Core Features & Use Cases

  • Install or repair gh CLI on the target machine using official installation methods.
  • Authentication verification: confirm gh can reach GitHub and has valid authentication status.
  • Use Case: When provisioning developer machines, CI runners, or automation hosts, this skill ensures gh is ready for GitHub operations.

Quick Start

Install the gh CLI on the target machine and verify that authentication is working.

Frequently Asked Questions about setup-gh-cli

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

FAQPage Schema
How do I install and verify gh CLI on a new machine?

To install and verify gh CLI on a target machine, apply official installation methods and perform an authentication check to ensure gh is available and authenticated for GitHub operations.

What is the best way to automate GitHub CLI authentication for CI runners?

Automating GitHub CLI authentication for CI runners requires installing gh CLI using official methods and running authentication verification to confirm it can reach GitHub with valid credentials.

How do I repair a missing or corrupted gh CLI installation?

To repair a missing or corrupted gh CLI installation, enforce installation via official methods, perform authentication checks, and re-verify the authentication status after applying changes.

Do I need gh CLI to interact with GitHub programmatically on automation hosts?

Yes, installing and verifying gh CLI ensures you can authenticate and interact with GitHub programmatically on automation hosts, developer machines, and CI runners.

Why does my gh CLI authentication fail after installation?

GitHub CLI authentication may fail after installation if the setup did not use official methods or skipped re-verification, requiring you to perform authentication checks and re-verify after changes.