← 返回 Skills 市场
164149043

Github Tools

作者 zhangzhifeng · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
343
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (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)"'
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-tools
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-tools 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug github-tools
版本 1.0.1
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 2
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。

如何安装 Github Tools?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-tools」即可一键安装,无需额外配置。

Github Tools 是免费的吗?

是的,Github Tools 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Github Tools 支持哪些平台?

Github Tools 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Github Tools?

由 zhangzhifeng(@164149043)开发并维护,当前版本 v1.0.1。

💬 留言讨论