github-cli

Fetch and manipulate GitHub pull requests, issues, releases, and repository metadata via authenticated CLI.

10|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill github-cli-dongzhuoyao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-cli
Source: https://github.com/dongzhuoyao/tao-research-skills/tree/main/github-cli
Command: npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill github-cli-dongzhuoyao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill makes terminal-first GitHub interactions reliable by replacing brittle HTML scraping with authenticated API calls and concise CLI patterns, allowing retrieval and manipulation of pull requests, issues, releases, and repository metadata.

Core Features & Use Cases

  • Authenticated API access: Run REST or GraphQL queries with automatic authentication, pagination, and structured JSON output for reliable data extraction.
  • Pull request and issue workflows: List, view, create, and inspect PRs and issues including checks, diffs, comments, and metadata for code review and CI troubleshooting.
  • Repository and release management: Inspect repository details, list and view releases, and clone repositories directly from the terminal for scripting and automation.
  • Use Case: Summarize open pull requests across a repository to triage reviews, surface failing CI checks, and gather author information for follow-up.

Quick Start

List open pull requests for the repository owner/repo and summarize their numbers, titles, and authors.

Frequently Asked Questions about github-cli

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

FAQPage Schema
How do I fetch pull request data from the terminal without scraping HTML?

Fetch pull request data from the terminal using authenticated API calls via gh CLI. This replaces brittle HTML scraping with structured JSON output, handling pagination automatically for reliable data extraction in your scripts.

Can I list and inspect open issues and PRs for CI troubleshooting using gh?

Yes, you can list and inspect open issues and PRs using gh to surface failing CI checks, view diffs, and gather metadata. This provides structured data for code review and CI troubleshooting directly in your terminal.

What is the best way to manage GitHub releases and repository metadata in automation scripts?

Manage GitHub releases and repository metadata in automation scripts by executing REST or GraphQL queries with gh. This returns structured JSON output for repository details and releases, enabling reliable terminal-first workflows.

Does this approach to GitHub API queries handle authentication and pagination automatically?

Yes, this approach to GitHub API queries handles authentication and pagination automatically. It runs REST or GraphQL queries with automatic authentication and pagination, returning concise JSON output for reliable data extraction.

How do I summarize open pull requests across a repository to triage reviews?

Summarize open pull requests across a repository by querying the authenticated API to list PR numbers, titles, and authors. This allows you to triage reviews and surface author information for follow-up directly from the terminal.