gh-cli

Automate GitHub repository, issue, pull request, and workflow tasks via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables users to perform a wide array of GitHub operations directly from the command line, reducing the need to navigate web interfaces for routine tasks.

Core Features & Use Cases

  • Repository Management: Create, clone, view, or delete repositories efficiently.
  • Issue Tracking: Open, list, comment, and close issues seamlessly within local workflows.
  • Pull Request Handling: Manage reviews, merges, deployments, and comments for PRs from the terminal.
  • Use Case: A developer wants to quickly review pull requests, approve changes, and merge them without switching to the web interface, streamlining the code review process.

Quick Start

Use this Skill to list open issues in your project by typing "gh issue list --state open" and review some pull requests to expedite your development cycle.

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

You can manage GitHub pull requests from the command line by using CLI commands to handle reviews, merges, deployments, and comments directly within your local terminal workflow. This eliminates the need to switch to the web interface for routine code review tasks.

Can I create and delete GitHub repositories using the CLI?

Yes, you can create, clone, view, and delete GitHub repositories using the CLI. This allows developers and DevOps teams to handle repository management tasks efficiently directly from their local terminals.

Do I need to install GitHub CLI tools to automate issue tracking in my terminal?

Yes, automating issue tracking in your terminal requires the GitHub CLI tools and proper authentication setup. Once configured, you can open, list, comment, and close issues seamlessly within your local development workflows.

What is the best way to streamline version control and collaboration without a web interface?

The best way to streamline version control and collaboration without a web interface is using command line commands to automate GitHub operations. This approach covers repository, issue, pull request, and workflow management tasks directly locally.

Why switch to terminal commands for GitHub workflow management instead of using the web interface?

Switching to terminal commands for GitHub workflow management reduces the need to navigate web interfaces for routine tasks. It allows developers to quickly review pull requests, approve changes, and merge them without leaving their local development environment.

Can I list and close open issues in my project using local terminal commands?

Yes, you can list and close open issues in your project using local terminal commands. By typing commands like 'gh issue list --state open', you can seamlessly track and manage issues directly within your local workflows to expedite your development cycle.