github

Automate GitHub data access and actions through the gh CLI.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Graffioh/dotfiles --skill github-graffioh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/Graffioh/dotfiles/tree/main/pi/agent/skills/github
Command: npx skills add https://github.com/Graffioh/dotfiles --skill github-graffioh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub project maintenance often requires repetitive CLI commands. This Skill uses the gh CLI to streamline common workflows and data access, reducing manual effort and context switching.

Core Features & Use Cases

  • Issue management: create, list, label, and close issues across repositories.
  • Pull request and CI workflow visibility: view checks, list workflows, inspect runs, and summarize statuses.
  • Advanced querying: fetch PRs and issues with specific fields using gh api, and customize output with --json and --jq.
  • Use Case: A maintainer wants to audit PR statuses and recent runs across a repository without opening the web UI, compiling results into a local report.

Quick Start

gh pr checks 55 --repo owner/repo

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub issue management across multiple repositories?

You can automate GitHub issue management by using the gh CLI to create, list, label, and close issues across multiple repositories. The tool supports using the --repo flag to manage issues from non-repo directories.

Can I check pull request and CI workflow statuses without opening the GitHub web UI?

Yes, you can check pull request and CI workflow statuses using gh pr checks to view checks, gh run list to list workflows, and gh run view to inspect runs. This allows you to audit statuses and compile local reports without the web UI.

How do I fetch specific fields from GitHub pull requests using the command line?

You can fetch specific fields from pull requests by using the gh api command with the --json and --jq flags. This allows you to perform advanced querying and customize the structured output directly in your terminal.

Does this GitHub automation approach work outside of a cloned repository directory?

Yes, this approach works outside of a cloned repository directory by utilizing the --repo flag. This allows you to execute GitHub data access and actions across multiple repositories and non-repo contexts.

What is the best way to compile a local report of recent CI runs and PR statuses?

The best way to compile a local report of CI runs and PR statuses is by using gh CLI commands like gh run list and gh pr checks. Combining these with gh api --json and --jq provides structured, customizable output for your audit.