github

GitHub repository operations via gh CLI for issues, PRs, CI runs, and API queries. Covers PR and issue workflows: list, create, view, comment, merge, and close operations Includes CI/workflow run inspection with log filtering, status checks, and failed job re-runs Supports structured JSON output with --jq filtering for programmatic data extraction and querying Requires gh CLI authentication (one-time setup via gh auth login ) and works best within git directories or with explicit --repo owner/repo flags

INSTALLATION
npx skills add https://github.com/steipete/clawdis --skill github
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

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.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card