gh

Automate GitHub repository, issue, pull request, and workflow management via the gh CLI.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill gh-plurigrid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/plurigrid/asi/tree/main/skills/gh
Command: npx skills add https://github.com/plurigrid/asi --skill gh-plurigrid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables automating GitHub tasks from the command line, reducing context switches and manual clicks.

Core Features & Use Cases

  • Repo management: Clone, view, and create repositories.
  • Issue & PR workflows: Create, list, checkout, and merge issues and pull requests.
  • API & automation: Access GitHub APIs and GraphQL to automate data retrieval and actions.

Quick Start

Use the GitHub CLI to login, list repos, and manage pull requests from the terminal, e.g., gh auth login, gh repo list, gh pr create --title "Title" --body "Body"

Frequently Asked Questions about gh

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

FAQPage Schema
How do I automate GitHub pull request workflows from the command line?

Automate pull request workflows using gh CLI commands like gh pr create, gh pr list, and gh pr merge. The GitHub CLI streamlines creating, reviewing, and merging PRs without leaving your terminal, reducing context switching between GitHub and your editor.

Can I manage GitHub repositories and issues entirely through CLI commands?

Yes, gh CLI supports full repository and issue management: clone repos with gh repo clone, create issues with gh issue create, list and filter both across your account. This enables scripting repetitive GitHub tasks into automated workflows.

What do I need to set up before using GitHub CLI for automation?

Install the GitHub CLI, authenticate with gh auth login, and ensure network access to GitHub. Once authenticated, you can immediately execute commands for repos, PRs, issues, and workflows without additional configuration.

How can I integrate GitHub APIs and GraphQL queries into my command-line automation?

Use gh api to query GitHub's REST and GraphQL endpoints directly from the CLI. This enables retrieving custom data, automating complex workflows, and integrating GitHub operations into shell scripts and CI/CD pipelines.

Can I use GitHub CLI to automate release pipelines and GitHub Actions workflows?

Yes, gh CLI supports GitHub Actions automation through commands that list, trigger, and monitor workflows. Integrate these commands into release pipelines and maintenance tasks to automate deployment and testing workflows without manual intervention.