Skip to content
Skillpedia
Deploy & cloud (DevOps)50k · #3597

github

What it does

It teaches your agent to use the GitHub command-line tool to look at issues, pull requests, and workflow runs. It is for developers who want their agent to check code status and repository data.

When to use it

  • ✓When you want to check whether the CI tests passed on a pull request.
  • ✓When you need the logs from a failed GitHub Actions run.
  • ✓When you want a list of recent issues or details from a repository's pull requests.

Skill link

https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/github/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/github/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check whether the tests passed on pull request 55 and show me any failed steps?”

5 new skills a week. 1 minute to read.

How it works

The agent runs gh commands that query GitHub for pull requests, runs, and issues. It can filter the results to just the fields you need.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

GitHub Skill

Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not in a git directory, or use URLs directly.

Pull Requests

Check CI status on a PR:

gh pr checks 55 --repo owner/repo

List recent workflow runs:

gh run list --repo owner/repo --limit 10

View a run and see which steps failed:

gh run view <run-id> --repo owner/repo

View logs for failed steps only:

gh run view <run-id> --repo owner/repo --log-failed

API for Advanced Queries

The gh api command is useful for accessing data not available through other subcommands.

Get PR with specific fields:

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'

JSON Output

Most commands support --json for structured output. You can use --jq to filter:

gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
FAQ

Does it need a special setup?

Yes. It uses the gh command-line tool, so that tool needs to be installed and set up first.

Can it change issues or pull requests?

Yes. The description says it manages issues and pull requests, not only reads them.

Do I need to be inside the repository folder?

No. The skill says to use --repo owner/repo when you are not in a git folder.

Details

Original description by the author

Manage GitHub issues and pull requests, inspect CI runs, and query repository data.

repo: HKUDS/nanobot

Popularity

GitHub stars
50k
Ranking position
#3597
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills