Github
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
$ openclaw install github --registry http://localhost:13001下载说明
--- name: github description: "Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries." ---
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:
bashgh pr checks 55 --repo owner/repoList recent workflow runs:
bashgh run list --repo owner/repo --limit 10View a run and see which steps failed:
bashgh run view <run-id> --repo owner/repoView logs for failed steps only:
bashgh run view <run-id> --repo owner/repo --log-failedAPI for Advanced Queries
The `gh api` command is useful for accessing data not available through other subcommands.
Get PR with specific fields:
bashgh 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:
bashgh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'安装解析
{
"artifact": {
"downloadUrl": "/api/v1/download?slug=github&version=1.0.0&ownerHandle=steipete",
"format": "zip",
"generated": true,
"kind": "skillArchive",
"sha256": "64268db6355d54bd3331f34cd2008b1f091acaf55e37e96991678923a043d003",
"size": 2352
},
"owner": {
"displayName": "Peter Steinberger",
"handle": "steipete",
"id": "48a27aaa-8614-42e1-9ff1-7d7c299012b4",
"verified": false
},
"skill": {
"displayName": "Github",
"latestVersion": "1.0.0",
"license": "unknown",
"name": "github",
"ownerHandle": "steipete",
"slug": "github",
"stats": {
"downloads": 192254,
"installs": 7621,
"stars": 648
},
"summary": "Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.",
"tags": [
"integrations",
"GitHub"
],
"type": "skill",
"updatedAt": "2026-07-06T10:48:14.828Z"
},
"sourceHandoff": null,
"version": {
"checksum": null,
"checksumAlgorithm": null,
"id": "8df788c3-0f31-4c5d-8115-7a986fd41b1c",
"publishedAt": "2026-01-04T16:49:04.344Z",
"size": null,
"version": "1.0.0",
"artifactStorageKey": null,
"changelog": "",
"manifest": {
"clawhub": {
"tags": {
"latest": "1.0.0"
},
"owner": "steipete",
"stats": {
"stars": 648,
"comments": 7,
"installs": 7621,
"versions": 1,
"downloads": 192254
},
"topics": [
"GitHub"
],
"categories": [
"integrations"
]
},
"install": "openclaw skills install @steipete/github"
},
"readme": "---\nname: github\ndescription: \"Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.\"\n---\n\n# GitHub Skill\n\nUse the `gh` CLI to interact with GitHub. Always specify `--repo owner/repo` when not in a git directory, or use URLs directly.\n\n## Pull Requests\n\nCheck CI status on a PR:\n```bash\ngh pr checks 55 --repo owner/repo\n```\n\nList recent workflow runs:\n```bash\ngh run list --repo owner/repo --limit 10\n```\n\nView a run and see which steps failed:\n```bash\ngh run view <run-id> --repo owner/repo\n```\n\nView logs for failed steps only:\n```bash\ngh run view <run-id> --repo owner/repo --log-failed\n```\n\n## API for Advanced Queries\n\nThe `gh api` command is useful for accessing data not available through other subcommands.\n\nGet PR with specific fields:\n```bash\ngh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'\n```\n\n## JSON Output\n\nMost commands support `--json` for structured output. You can use `--jq` to filter:\n\n```bash\ngh issue list --repo owner/repo --json number,title --jq '.[] | \"\\(.number): \\(.title)\"'\n```\n"
}
}