Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
steipete avatar

Github

  • 3.2k installs
  • 385k repo stars
  • Updated August 3, 2026
  • steipete/clawdis

github is an agent skill that guides GitHub CLI usage for issues, pull requests, CI runs, releases, and structured gh api queries with body-file patterns.

About

github is an agent skill for the GitHub CLI covering authentication, pull requests, issues, CI workflow runs, releases, and gh api queries. It directs agents to use gh for GitHub operations, git for local commits and branches, and code-reading tools for deep reviews. Auth commands include gh auth status and gh auth login, with GH_CONFIG_DIR guidance when gateway HOME differs from operator HOME. Pull request recipes list, view JSON metadata, inspect checks and diffs, create from body files, and squash merge. Issue workflows cover list, view, create, comment, and close with body-file patterns for backtick-heavy content. CI commands list runs, view status and failed logs, and rerun failed jobs. API examples fetch pull request fields, labels, and cached repository star and fork counts with jq filtering. The skill emphasizes --json plus --jq for structured output and --body-file for comments containing shell snippets or user text. Developers reach for it when automating PR review, issue triage, CI debugging, or GitHub API lookups from agent environments requiring gh.

  • Covers gh auth, pull requests, issues, CI runs, releases, and gh api structured queries.
  • Separates gh for GitHub remote operations from git for local commit and branch work.
  • Documents --json and --jq output patterns plus --body-file for complex comment bodies.
  • Includes PR checks, diff, squash merge, issue comment, and failed run rerun recipes.
  • Notes GH_CONFIG_DIR when gateway HOME differs from operator HOME for auth discovery.

Github by the numbers

  • 3,231 all-time installs (skills.sh)
  • +161 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #28 of 735 Git & Pull Requests skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
At a glance

github capabilities & compatibility

Capabilities
github pr management · issue triage commands · ci run inspection and rerun · structured gh api queries
Works with
github
Use cases
code review · ci cd · orchestration
From the docs

What github says it does

gh pr checks 55 --repo owner/repo
SKILL.md
npx skills add https://github.com/steipete/clawdis --skill github

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.2k
repo stars385k
Security audit2 / 3 scanners passed
Last updatedAugust 3, 2026
Repositorysteipete/clawdis

How do I list PRs, triage issues, inspect failed CI runs, or query GitHub API data from an agent using gh instead of ad-hoc curl?

Operate GitHub repositories with gh CLI for issues, pull requests, CI runs, releases, and structured gh api queries.

Who is it for?

Developers automating GitHub issue and PR workflows or debugging Actions runs through the gh CLI in agent environments.

Skip if: Skip for deep line-by-line code review without gh, or local-only git history work without remote GitHub operations.

When should I use this skill?

User manages GitHub PRs, issues, CI workflow runs, releases, or needs gh api queries with structured JSON output.

What you get

Structured gh commands for PR and issue management, CI log inspection, and jq-filtered API responses using body files where needed.

  • PR and issue updates
  • CI log summaries
  • Review comments and merge actions

By the numbers

  • Requires gh binary with brew and apt install options documented
  • Covers 7 operation areas: issues, PRs, CI logs, comments, reviews, releases, repos

Files

SKILL.mdMarkdownGitHub ↗

GitHub

Use gh for GitHub. Use git for local commits/branches/push/pull. Use code-reading tools for deep reviews.

Auth

gh auth status
gh auth login

Gateway HOME can differ from operator HOME. If gh auth exists elsewhere, set GH_CONFIG_DIR in the gateway service env and restart.

PRs

gh pr list --repo owner/repo --json number,title,state,author,url
gh pr view 55 --repo owner/repo --json title,body,author,files,commits,reviews,reviewDecision
gh pr checks 55 --repo owner/repo
gh pr diff 55 --repo owner/repo
gh pr create --repo owner/repo --title "feat: title" --body-file /tmp/pr.md
gh pr merge 55 --repo owner/repo --squash

URLs work directly: gh pr view https://github.com/owner/repo/pull/55.

Issues

gh issue list --repo owner/repo --state open --json number,title,labels,url
gh issue view 42 --repo owner/repo --json title,body,comments,labels,state
gh issue create --repo owner/repo --title "Bug: ..." --body-file /tmp/issue.md
gh issue comment 42 --repo owner/repo --body-file /tmp/comment.md
gh issue close 42 --repo owner/repo --comment "Fixed in ..."

CI/runs

gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --json status,conclusion,headSha,url
gh run view <run-id> --repo owner/repo --log-failed
gh run rerun <run-id> --repo owner/repo --failed

API

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
gh api repos/owner/repo/labels --jq '.[].name'
gh api --cache 1h repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'

Use --json + --jq for structured output. Use --body-file for comments/bodies containing backticks, shell snippets, env names, or user text.

Related skills

FAQ

When should agents use gh versus git?

Use gh for GitHub issues, PRs, CI runs, and API queries; use git for local commits, branches, push, and pull.

How should complex issue or PR bodies be submitted?

Use --body-file for comments and bodies containing backticks, shell snippets, or user-provided text.

Is Github safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Git & Pull Requestsgitintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.