gh-cli

Automate GitHub operations using the gh CLI from the terminal.

1|Updated May 4, 2026
One-click install
npx skills add https://github.com/beel-collab/presets.dev --skill gh-cli-beel-collab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/beel-collab/presets.dev/tree/main/skills/gh-cli
Command: npx skills add https://github.com/beel-collab/presets.dev --skill gh-cli-beel-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The GitHub CLI (gh) enables developers to manage GitHub from the terminal, replacing repetitive UI tasks with fast, repeatable commands.

Core Features & Use Cases

  • Interact with repositories, issues, pull requests, actions, codespaces, and more directly from the command line.
  • Automate common workflows like creating PRs, managing issues, and querying status across multiple repos.
  • Real-world use: create a PR from a feature branch, list open issues, and trigger a workflow run without leaving the terminal.

Quick Start

Install gh, login to GitHub, then list repos with gh repo list and create a PR with gh pr create.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I automate GitHub repository management and PR creation from the command line?

You can automate GitHub repository management and PR creation from the command line by using the gh CLI to execute terminal commands for creating pull requests, managing issues, and handling repository operations without leaving the terminal.

Can I trigger GitHub Actions workflows and manage releases using command line tools?

Yes, you can trigger GitHub Actions workflows and manage releases using command line tools by running specific gh CLI commands that interact directly with your repository's automation pipelines and release lifecycle.

What is the best way to control GitHub issues and pull requests without using the web UI?

The best way to control GitHub issues and pull requests without the web UI is using the gh CLI, which replaces repetitive interface tasks with fast, repeatable terminal commands for querying status and listing open items.

Does the GitHub CLI support output formats for integration with automation pipelines?

Yes, the GitHub CLI supports various output formats designed for integration with automation pipelines, allowing you to parse gh command results and weave repository management operations directly into automated workflows.

How do I authenticate and quickly start running GitHub commands in the terminal?

To authenticate and quickly start running GitHub commands in the terminal, install the gh CLI, run the login command to authorize your GitHub account, then use commands like gh repo list to verify access.

Why use command line GitHub automation instead of the standard web interface?

Command line GitHub automation replaces repetitive web UI tasks with fast, repeatable commands, enabling developers to automate common workflows like creating PRs and managing issues across multiple repos efficiently.