github

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

46.8k|8.3k|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/HKUDS/nanobot --skill github-hkuds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/HKUDS/nanobot/tree/main/nanobot/skills/github
Command: npx skills add https://github.com/HKUDS/nanobot --skill github-hkuds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with GitHub programmatically using the gh CLI to manage issues, pull requests, and workflow runs, reducing context switching and manual steps.

Core Features & Use Cases

  • Issue & PR Management: Create, comment, assign, and close issues and PRs with gh commands.
  • CI & Workflow Monitoring: Check workflow runs and statuses, view logs and artifacts via gh run commands.
  • Advanced Queries & API: Retrieve data using gh api and format outputs with --json/--jq for custom dashboards.

Quick Start

Use the github skill to list open issues in a repository: gh issue list --state open --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 manage GitHub issues and pull requests from the command line?

You can manage GitHub issues and pull requests from the command line by using the gh CLI to create, comment, assign, and close them programmatically. This reduces manual steps and context switching in software projects.

Can I check CI workflow run statuses and view logs without opening a browser?

Yes, you can monitor CI workflow runs and check statuses without a browser by invoking gh run commands. This allows you to view workflow logs and artifacts directly from your local agent.

What is the best way to retrieve custom GitHub data for dashboards?

The best way to retrieve custom GitHub data for dashboards is using the gh api command. You can format outputs with --json or --jq flags to extract specific data fields for your custom dashboards.

Do I need to be inside a git directory to run gh CLI commands?

No, you do not need to be inside a git directory to run gh CLI commands. You can scope your commands using the --repo flag or by providing a URL to operate on repositories outside your current directory.

Why does my GitHub automation fail when trying to access repository data?

Your GitHub automation fails if the gh CLI is not properly installed or authenticated. You must ensure the gh CLI is installed and successfully authenticated before attempting any automated interactions.