github

Interact with GitHub issues, pull requests, and CI runs using the gh CLI.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/qiushido/picoclaw-lite --skill github-qiushido
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/qiushido/picoclaw-lite/tree/main/workspace/skills/github
Command: npx skills add https://github.com/qiushido/picoclaw-lite --skill github-qiushido

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing GitHub repositories often requires switching between the web UI and terminal to check PR status, inspect CI failures, or query issues. This Skill lets you perform those tasks directly through the gh CLI with structured, scriptable commands. ## Core Features & Use Cases - Pull Request & CI Inspection: Check PR status with gh pr checks, list workflow runs with gh run list, and view failed step logs via gh run view --log-failed. - Advanced API Queries: Use gh api to access GitHub REST endpoints and extract specific fields with --jq filtering. - Structured JSON Output: Most commands support --json and --jq for machine-readable output, enabling automation and reporting. - Use Case: When a pull request fails CI, run gh run view <run-id> --repo owner/repo --log-failed to see only the failed step logs and diagnose the issue without opening a browser. ## Quick Start Ask the assistant to check the CI status of pull request 55 in the repository owner/repo using the gh CLI.

Frequently Asked Questions about github

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

FAQPage Schema
How do I check CI status on a GitHub pull request from the terminal?

Run gh pr checks <pr-number> --repo owner/repo to see the status of all CI checks on a pull request. You can also use gh run list --repo owner/repo to view recent workflow runs.

How to view failed CI logs with the GitHub CLI?

Use gh run view <run-id> --repo owner/repo --log-failed to display logs only for failed steps. Without the flag, gh run view shows which steps failed in the run summary.

How do I query the GitHub API for specific pull request fields?

Use gh api repos/owner/repo/pulls/<number> with the --jq flag to filter fields, for example --jq '.title, .state, .user.login'. This accesses data not available through standard subcommands.

Does the gh CLI work outside a git repository directory?

Yes, but you must specify the target repository with the --repo owner/repo flag on each command. Alternatively, you can pass full GitHub URLs directly to commands.

How do I install the GitHub CLI on my system?

Install gh via Homebrew with brew install gh on macOS, or via apt with apt install gh on Debian-based Linux. The Skill metadata declares both installation methods.