github

Manage GitHub issues, pull requests, and Actions runs via the gh CLI.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Polealpha/XINNIAN_PI --skill github-polealpha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/Polealpha/XINNIAN_PI/tree/main/app%20windows/vendor/openclaw-runtime/skills/github
Command: npx skills add https://github.com/Polealpha/XINNIAN_PI --skill github-polealpha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

Managing GitHub issues, pull requests, and workflow runs often requires switching between the web UI and multiple pages, which slows down reviews and troubleshooting.

Core Features & Use Cases

  • Issue and pull request workflows: check CI status, review run details, and inspect failed logs for a specific PR.
  • Workflow/run visibility: list and view GitHub Actions runs with structured context for debugging.
  • Advanced data access: use GitHub’s REST API through gh api for targeted fields and custom queries.
  • Structured outputs: use --json and --jq to produce filterable, machine-friendly results for reporting.

Quick Start

Use the github skill to list the last 10 workflow runs for a repository by running: gh run list --repo owner/repo --limit 10.

Frequently Asked Questions about github

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

FAQPage Schema
How do I check GitHub Actions CI status for a pull request from the command line?

To check GitHub Actions CI status for a pull request, use the gh CLI to retrieve workflow runs and inspect failed logs. You can run a command like `gh run list --repo owner/repo --limit 10` to view recent runs.

How do I retrieve and manage GitHub issues using gh?

You can retrieve and manage GitHub issues using the gh CLI issue subcommands. It allows you to list, view, and update issues directly from the terminal, replacing the need to manually navigate the GitHub web UI for repository maintenance.

Can I query the GitHub REST API with gh for specific fields and structured JSON output?

Yes, you can query the GitHub REST API using the `gh api` subcommand. It supports optional `--json` and `--jq` flags to filter targeted fields, producing machine-friendly structured JSON results for custom reporting and debugging.

Do I need the gh executable installed to manage pull requests and workflow runs?

Yes, you need the gh executable installed and authenticated to manage pull requests and workflow runs. The tool relies entirely on the gh CLI to execute repository maintenance workflows and interact with GitHub Actions.

What is the best way to debug failed GitHub Actions workflow runs without the web UI?

The best way to debug failed GitHub Actions workflow runs without the web UI is using the gh CLI run subcommands. You can list recent runs, view run details, and inspect failed logs directly in your terminal for faster troubleshooting.

Why should I use gh CLI for repository maintenance instead of the GitHub web UI?

Using the gh CLI for repository maintenance avoids switching between multiple web UI pages, which slows down reviews. It provides structured context and JSON-based reporting for issues, pull requests, and workflow runs, streamlining oversight and debugging.