github

Automate GitHub repository interactions using the gh CLI.

1|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/phillipgan/myagent --skill github-phillipgan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/phillipgan/myagent/tree/main/skills/github
Command: npx skills add https://github.com/phillipgan/myagent --skill github-phillipgan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, python, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies interacting with GitHub repositories through the gh CLI, streamlining tasks related to Pull Requests, CI Runs, and advanced API queries.

Core Features & Use Cases

  • Pull Requests: Check CI status, list recent workflow runs, view a run and failed steps, and access data with JSON output.
  • Advanced Queries: Access and retrieve specific PR fields and data through the gh api command.
  • JSON Output: Retrieve structured data in JSON format for programmatic handling.
  • Use Case: A developer can quickly check the CI status of a PR, view detailed logs of a run, or retrieve the title and state of a PR using specific fields.

Quick Start

Use the GitHub Skill to check the CI status of PR #123 in your repository by running gh pr checks 123.

Frequently Asked Questions about github

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

FAQPage Schema
How do I check the CI status of a GitHub Pull Request?

To check the CI status of a GitHub Pull Request, you can run the `gh pr checks` command to list recent workflow runs and view failed steps. This retrieves the CI run data directly through the GitHub CLI.

How do I retrieve specific fields from a GitHub PR using the API?

You can retrieve specific fields from a GitHub PR using the `gh api` command for advanced queries. This approach accesses and extracts structured data directly from the repository for programmatic handling.

Do I need to install jq to process GitHub API JSON output?

You need jq to process GitHub API JSON output if you require advanced JSON parsing. The Skill requires the `gh` CLI and Python, while jq is possibly needed to format the structured data retrieved from the API.

What is the best way to list recent GitHub workflow runs for a repository?

The best way to list recent GitHub workflow runs is by using the `gh` CLI to automate repository interactions. This allows you to view runs, check CI status, and access the output in JSON format.

Can I retrieve GitHub repository data in JSON format for programmatic handling?

Yes, you can retrieve GitHub repository data in JSON format for programmatic handling. By using the `gh api` command, the Skill outputs structured JSON data from Pull Requests and CI runs for downstream processing.