github

Automate GitHub repository management using the gh CLI.

1.7k|97|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/PhyAgentOS/PhyAgentOS --skill github-phyagentos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/PhyAgentOS/PhyAgentOS/tree/main/PhyAgentOS/skills/github
Command: npx skills add https://github.com/PhyAgentOS/PhyAgentOS --skill github-phyagentos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing GitHub repositories, issues, pull requests, and workflows manually can be tedious and error-prone. This skill enables automated interactions with GitHub using the gh CLI, streamlining common tasks across projects.

Core Features & Use Cases

  • Interact with issues, pull requests, runs, and API data using gh to query status, create issues, merge PRs, and fetch workflow information.
  • Script routine repository maintenance, such as listing open issues, opening/closing PRs, and inspecting CI runs across multiple repositories.
  • Use with automation pipelines to enforce consistency, gather metrics, and perform bulk actions without manual intervention.

Quick Start

List open issues for a repository by running gh issue list --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 repository management tasks like handling issues and pull requests?

You can automate GitHub repository management by using the gh CLI to script interactions with issues, PRs, and CI runs, streamlining routine maintenance across multiple repositories without manual intervention.

What do I need to configure before using gh CLI to query GitHub API data?

Before using the gh CLI to query GitHub API data, you need to ensure the gh command-line tool is installed and properly authenticated in your environment to enable scripted repository interactions.

Can I scope GitHub automation scripts to target a specific repository using gh?

Yes, you can scope GitHub automation scripts to a specific repository by using the --repo flag with the owner/repo format or by providing direct URLs to target exact project contexts.

What's the best way to fetch workflow and CI run information across multiple GitHub projects?

The best way to fetch workflow and CI run information across multiple projects is using the gh CLI to inspect CI runs, gather metrics, and enforce consistency within your automation pipelines.

Does this approach support bulk actions like opening and closing pull requests automatically?

Yes, this approach supports bulk actions like opening and closing pull requests automatically by scripting routine repository maintenance tasks through the gh CLI to enforce consistency across projects.