← Back to Skills Marketplace
164149043

Github Tools

by zhangzhifeng · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
343
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install github-tools
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
This skill is a set of `gh` CLI usage examples and is coherent with its stated purpose. Before installing/using it: (1) ensure the `gh` CLI is installed and you understand which GitHub account is authenticated (the skill does not provide or require credentials but will use whatever `gh` is configured with), (2) be aware that if you let the agent invoke the skill autonomously it can run any `gh` command allowed by that account (including reading or modifying repositories), and (3) verify repository names and permissions to avoid accidental changes to sensitive org repos. Note: the registry metadata ownerId differs slightly from the _meta.json ownerId in the package — this is a minor inconsistency to be aware of but does not change the functional assessment.
Capability Analysis
Type: OpenClaw Skill Name: github-tools Version: 1.0.1 The github-tools skill provides standard documentation and usage examples for the GitHub CLI (gh) to manage issues, pull requests, and workflow runs. The instructions in SKILL.md are well-aligned with the stated purpose and do not contain any malicious commands, data exfiltration attempts, or prompt injection risks.
Capability Assessment
Purpose & Capability
The name/description (GitHub `gh` CLI helper) matches the SKILL.md instructions (examples for `gh pr`, `gh run`, `gh api`, etc.). The skill does not request unrelated binaries or credentials.
Instruction Scope
The instructions are limited to invoking `gh` commands with --repo or URLs and using --json/--jq for output. They do not instruct reading arbitrary files, accessing unrelated environment variables, or transmitting data to external endpoints outside of GitHub.
Install Mechanism
No install spec or code is included (instruction-only), so nothing is written to disk by the skill itself. Risk from installation is minimal — the user must have the `gh` CLI available separately.
Credentials
The skill declares no required environment variables or credentials. This is proportionate: `gh` itself requires authentication but that is managed outside the skill (e.g., `gh auth`).
Persistence & Privilege
always:false (not force-included). disable-model-invocation is false (normal), so the agent could call the skill autonomously — expected for skills. There is no request to modify other skills or system-wide config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install github-tools
  3. After installation, invoke the skill by name or use /github-tools
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Metadata updated in _meta.json. - No changes to skill functionality or documentation.
v1.0.0
Initial release of github-tools skill - Interact with GitHub via the `gh` CLI for issues, pull requests, CI runs, and advanced API queries. - Includes usage examples for common GitHub CLI commands. - Documents structured output with `--json` and filtering with `--jq`. - Encourages specifying `--repo owner/repo` for commands outside git directories.
Metadata
Slug github-tools
Version 1.0.1
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is Github Tools?

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. It is an AI Agent Skill for Claude Code / OpenClaw, with 343 downloads so far.

How do I install Github Tools?

Run "/install github-tools" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Github Tools free?

Yes, Github Tools is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Github Tools support?

Github Tools is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Github Tools?

It is built and maintained by zhangzhifeng (@164149043); the current version is v1.0.1.

💬 Comments