github: Work with GitHub issues, PRs, CI runs and API via gh

By Peter SteinbergerClawHub

This skill tells an agent how to use the `gh` CLI to work with GitHub. It covers issues, pull requests, workflow runs, and the `gh api` command for data the other subcommands do not reach. It shows commands for checking CI, reading failed step logs, and filtering output with `--json` and `--jq`.

OfficialDevelopmentClawHub
Total downloads
206.5K
ClawHub
Last 7 days
757
▼ 9.7% vs the week before
Best 100 rank
#16
▲ 58 #74 7 days ago
Days in Best 100
104
out of 104 days tracked

What problem this skill solves

When you work on GitHub from a terminal, you often need to check PR status, find which CI step failed, or pull specific fields from the API. Doing this by hand means switching between the web UI and a shell, or writing API calls from memory.

With this skill, the agent runs `gh` commands for these tasks. It uses `--repo owner/repo` when no local git directory is set, and it can filter structured output so only the needed fields come back.

Good for

  • Checking CI status on a pull request
  • Finding which step failed in a workflow run and reading its logs
  • Listing issues or PRs and pulling specific fields as JSON

Not for

  • Repositories that are not hosted on GitHub
  • Tasks that do not involve GitHub data

Install this skill

github only

openclaw skills install @steipete/github

Trend

Growing steadily
05001K1.5K75708/2809/2510/3011/27
Daily downloads, last 30 days
120
Daily downloads, last 30 days vs the 30 days before
+2.6%

How this skill works

  1. 1Pass `--repo owner/repo` when you are not inside a git directory, or use a GitHub URL directly.
  2. 2Check CI status on a pull request with `gh pr checks <number>`.
  3. 3List recent workflow runs with `gh run list` and open one with `gh run view <run-id>`.
  4. 4Show only the logs for failed steps with `gh run view <run-id> --log-failed`.
  5. 5Query specific API fields with `gh api` and filter them with `--jq`.
  6. 6Get structured output from most commands with `--json`, and narrow it with `--jq`.

More skills by the same author

SkillWhat it doesTotal downloads
gogGoogle Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.200,682
weatherGet current weather and forecasts (no API key required).174,742
nano-pdfEdit PDFs with natural-language instructions using the nano-pdf CLI.124,153
obsidianWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.113,834

Are you the author of this skill? Add its rank to your GitHub repo

Best Skills #16

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/clawhub/github.svg)](https://linkly.ai/skills/s/clawhub/github)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md