github

Queries GitHub issues, pull requests, and workflow runs via the gh CLI.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/dingdyan/openclaw-workspace-v2 --skill github-dingdyan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/dingdyan/openclaw-workspace-v2/tree/main/skills/github
Command: npx skills add https://github.com/dingdyan/openclaw-workspace-v2 --skill github-dingdyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you avoid manual browsing of GitHub by providing consistent CLI commands for inspecting issues, pull requests, and workflow runs.

Core Features & Use Cases

  • Pull request CI visibility: Check PR checks, list workflow runs, and view run details including failed steps to quickly diagnose pipeline issues.
  • Advanced GitHub queries via API: Use gh api to fetch specific PR fields or data that isn’t directly exposed in higher-level commands.
  • Structured output with JSON: Use --json and --jq to extract exactly the information you need for reporting or follow-up actions.

Quick Start

Use the github skill to list the most recent 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 PR CI checks and workflow runs from the command line?▼

To check PR CI runs from the command line, use the github skill to execute gh run list --repo owner/repo and gh pr checks to view workflow details and failed steps. This provides fast CLI visibility into pipeline issues without manual browsing.

Can I get structured JSON output from gh cli commands for reporting?▼

Yes, you can get structured JSON output from gh cli commands by applying --json with --jq filters. This allows you to extract exactly the specific pull request or issue fields needed for reporting and follow-up actions across repositories.

How do I fetch specific pull request fields using the GitHub API?▼

To fetch specific pull request fields using the GitHub API, use the gh api command. This allows you to query data that isn’t directly exposed in higher-level commands and retrieve structured results for your repository.

Do I need to specify a repository to troubleshoot GitHub workflow runs?▼

Yes, you need to specify a repository to troubleshoot GitHub workflow runs. You must provide an explicit --repo owner/repo argument or use a direct URL with the gh cli commands to query the correct workflow metadata.

What is the best way to list recent GitHub workflow runs without browsing manually?▼

The best way to list recent GitHub workflow runs without browsing manually is using the gh cli. Run gh run list --repo owner/repo --limit 10 to quickly retrieve and inspect pipeline run metadata directly from your terminal.

Why use gh cli for GitHub workflow troubleshooting instead of manual browsing?▼

Using gh cli for GitHub workflow troubleshooting avoids manual browsing by providing consistent command-line commands. You can inspect issues, pull requests, and workflow runs directly, extracting structured JSON to diagnose pipeline issues faster.