github

Automate GitHub repository management tasks using the gh CLI.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/stevengonsalvez/nanoclaw-standalone --skill github-stevengonsalvez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/stevengonsalvez/nanoclaw-standalone/tree/main/container/skills/github
Command: npx skills add https://github.com/stevengonsalvez/nanoclaw-standalone --skill github-stevengonsalvez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate routine GitHub tasks from the command line to save time switching between the web UI and terminal.

Core Features & Use Cases

  • Manage pull requests: list, view, create, merge
  • Manage issues: list, view, create, comment
  • CI and workflow runs: view status and logs
  • API queries: fetch repository data via gh api

Quick Start

Authenticate with GitHub using gh auth login, then list open PRs with gh pr 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 pull requests and issues from the command line?

Automate GitHub pull requests and issues from the command line by using the gh CLI to list, view, create, and merge PRs or comment on issues without switching to the web UI. It supports structured JSON output for easy parsing.

How can I check my CI workflow runs and PR status using gh CLI?

Check CI workflow runs and PR status using gh CLI by viewing workflow statuses and logs directly in the terminal. You can query CI checks across multiple repositories and format the output using --json and --jq flags.

What do I need to set up before using gh CLI to manage my repositories?

Before using gh CLI to manage repositories, you need to authenticate your account by running gh auth login. This setup step verifies your credentials and enables command-based access to GitHub features like PRs and issues.

Can I query repository data across multiple GitHub repos at once?

You can query repository data across multiple GitHub repos at once by executing API queries via gh api. This fetches structured repository data directly through the command line, supporting automated data extraction.

Does GitHub automation via gh CLI work with structured JSON output?

GitHub automation via gh CLI works with structured JSON output by utilizing the --json and --jq flags. This allows you to filter and format query results from PRs, issues, and API requests for downstream processing.