gh-cli

Provide command references and templates for GitHub operations via gh CLI.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/ytqh/agent-skills --skill gh-cli-ytqh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/ytqh/agent-skills/tree/main/skills/gh-cli
Command: npx skills add https://github.com/ytqh/agent-skills --skill gh-cli-ytqh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill helps developers interact with GitHub from the command line by providing a comprehensive reference for the gh CLI.

Core Features & Use Cases

  • Repository, issue, and PR management via gh commands (e.g., gh repo list, gh pr create, gh issue status).
  • Workflow and Codespaces interaction, release and gist operations, and general GitHub administration from the terminal.
  • Use Case: Imagine you need to audit your org's repos, create a PR, and verify checks, all from a single shell session.

Quick Start

Use the gh-cli skill to view a list of repositories: gh repo list --limit 10 Or authenticate and list your organizations: gh auth login; gh org list

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I manage GitHub pull requests and issues from the command line?

The gh CLI provides commands like gh pr create and gh issue status to manage pull requests and issues directly from the terminal, streamlining repository operations without leaving your shell session.

What GitHub CLI commands are available for workflows and codespaces?

GitHub CLI commands for workflows and codespaces let you trigger and monitor GitHub Actions runs and manage cloud development environments directly from the terminal using provided command templates.

Do I need to authenticate before using gh CLI commands?

Yes, you must authenticate before using gh CLI commands by running gh auth login, which configures your credentials on the host and enables access to your repositories, issues, and workflows.

Can I audit organization repositories and create pull requests in a single shell session?

Yes, you can audit organization repositories with gh repo list, create a pull request with gh pr create, and verify CI checks all within a single shell session using the gh CLI.

What is the best way to manage releases and gists from the terminal?

The best way to manage releases and gists from the terminal is using the gh CLI, which provides dedicated commands like gh release create and gh gist create to administer these GitHub resources efficiently.