← Back to Skills Marketplace
Github
by
Peter Steinberger
· GitHub ↗
· v1.0.0
190178
Downloads
635
Stars
4334
Active Installs
1
Versions
Install in OpenClaw
/install 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.
README (SKILL.md)
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 \x3Crun-id> --repo owner/repo
View logs for failed steps only:
gh run view \x3Crun-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)"'
Usage Guidance
Install only if you are comfortable letting the agent use your local GitHub CLI. Check `gh auth status`, prefer least-privileged GitHub access, and review any command that posts, edits, merges, deletes, or uses `gh api` beyond simple read-only queries.
Capability Analysis
Type: OpenClaw Skill
Name: github
Version: 1.0.0
The skill bundle provides instructions for interacting with GitHub using the `gh` CLI. All examples provided in `SKILL.md` demonstrate read-only operations (e.g., checking PR status, listing runs, viewing API data). While the `gh api` command itself offers broad capabilities that could be misused if the agent's GitHub token has extensive permissions, the skill's instructions and examples do not show any intent for malicious behavior, data exfiltration, prompt injection, or other high-risk actions. The content is clearly aligned with its stated purpose.
Capability Assessment
Purpose & Capability
The skill's purpose and content are coherent: it teaches use of `gh` for PRs, workflow runs, issues, and API queries. The `gh api` capability is broad, but the included example is read-only and purpose-aligned.
Instruction Scope
The examples are read-oriented and encourage explicit `--repo owner/repo` scoping. The skill does not include destructive examples, but users should still review any generated write, merge, delete, or non-read API command.
Install Mechanism
The artifact contains only `SKILL.md`; there are no executable scripts or install hooks. It depends on a preinstalled GitHub CLI, which is not declared as a bundled dependency.
Credentials
Using the local `gh` CLI is proportionate for a GitHub skill, but commands will run under the user's existing GitHub CLI authentication and permissions.
Persistence & Privilege
No persistence, background process, privilege escalation, credential capture, stored state, or file mutation behavior appears in the artifact.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install github - After installation, invoke the skill by name or use
/github - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Metadata
More Skills