gh-cli

Manage GitHub repositories, issues, pull requests, and Actions via command line.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill gh-cli-gabeujin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/gh-cli
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill gh-cli-gabeujin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive command-line interface for interacting with GitHub, enabling efficient management of repositories, issues, pull requests, Actions, and more, directly from your terminal.

Core Features & Use Cases

  • Repository Management: Create, clone, list, view, edit, and delete repositories.
  • Issue & PR Workflow: Create, list, view, edit, merge, and manage issues and pull requests.
  • GitHub Actions: Monitor, rerun, cancel, and manage workflow runs and secrets.
  • Use Case: Quickly create a new repository, set up its initial files, and push your local code with a single command sequence, streamlining project setup.

Quick Start

Use the gh-cli skill to create a new public repository named 'my-new-project' with a MIT license and a Python gitignore.

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 repositories from the command line?

To manage GitHub repositories from the command line, you can use the gh CLI to create, clone, list, view, edit, and delete repositories directly from your terminal. This streamlines project setup and code management workflows.

Can I monitor and manage GitHub Actions workflows via CLI?

Yes, you can monitor and manage GitHub Actions via CLI by using commands to view workflow runs, rerun failed jobs, cancel active workflows, and manage repository secrets for your CI/CD pipelines.

How do I create a new GitHub repository with specific settings like a license?

To create a new GitHub repository with specific settings, use the gh CLI to specify the repository name, visibility, license, and gitignore template in a single command sequence, then push your local code immediately.

Do I need to install and authenticate GitHub CLI before automating pull requests?

Yes, you need to install and authenticate the GitHub CLI before automating pull requests. The tool requires gh to be installed and authenticated to interact with issues, pull requests, and repository management securely.

What is the best way to automate code management tasks for GitHub?

The best way to automate code management tasks for GitHub is using the gh CLI to facilitate automated workflows for repository administration, issue tracking, and CI/CD pipeline monitoring directly from your terminal interface.

What are the limitations of managing pull requests from the terminal?

The limitations of managing pull requests from the terminal depend on the gh CLI's installed version and authentication scope. Complex visual diffs or extensive code review interactions may be constrained by the command-line interface format.