← 返回 Skills 市场
mrherojack

Github Custom

作者 MrHeroJack · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-custom
功能描述
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 appears to be a simple set of instructions for using the gh CLI, but there are some red flags you should consider before installing: - The SKILL.md assumes the gh CLI and authenticated GitHub access, but the skill metadata does not declare gh as a required binary nor does it declare any credential variables. Verify the runtime environment will have gh installed and authenticated (gh auth login or a valid GITHUB_TOKEN) before relying on this skill. - The included _meta.json ownerId and slug differ from the registry metadata shown; this mismatch suggests packaging or provenance issues. Prefer skills with a clear homepage or known publisher; contact the publisher or registry to confirm the origin. - Although the instructions are limited to gh commands, gh api and gh run view could access or transmit repository data; only install this skill if you trust the agent's ability to run commands and the repositories it will access. - If you want to reduce risk, restrict the skill to manual invocation (do not allow autonomous invocation) and confirm which repository names the skill will be allowed to operate on. If you can verify the publisher, ensure gh is installed and authenticated, and you accept that the agent may run gh commands against repositories, this skill is usable; otherwise treat it as untrusted until provenance and auth details are clarified.
功能分析
Type: OpenClaw Skill Name: github-custom Version: 1.0.0 The skill bundle provides standard instructions and examples for using the official GitHub CLI (gh) to interact with repositories, issues, and pull requests. There are no signs of malicious execution, data exfiltration, or prompt injection in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's name/description and SKILL.md consistently describe a gh CLI wrapper for GitHub operations — that purpose is coherent. However, the skill does not declare the gh CLI as a required binary or any authentication variables, which would normally be expected for a GitHub CLI skill.
Instruction Scope
SKILL.md only contains concrete gh CLI commands (pr/checks, run list/view, gh api usage, --json/--jq examples). It does not instruct reading unrelated files, contacting arbitrary external endpoints, or collecting extra system data.
Install Mechanism
This is instruction-only with no install spec and no code files — low install risk. Nothing will be downloaded or written by an installer.
Credentials
No env vars or primary credential are declared, but the gh CLI typically requires authentication (gh auth) or GITHUB_TOKEN/gh config. The absence of any auth guidance or declared credential is an omission. The skill does not request unrelated secrets.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent/system-wide modifications in its instructions or manifest.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-custom
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-custom 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the GitHub Skill. - Provides usage instructions for interacting with GitHub via the `gh` CLI. - Covers commands for managing issues, pull requests, CI runs, and using the GitHub API. - Includes examples for checking PR CI status, workflow runs, and advanced data queries. - Explains use of `--repo`, `--json`, and `--jq` options for structured and filtered outputs.
元数据
Slug github-custom
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Github Custom 是什么?

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 插件,目前累计下载 102 次。

如何安装 Github Custom?

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

Github Custom 是免费的吗?

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

Github Custom 支持哪些平台?

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

谁开发了 Github Custom?

由 MrHeroJack(@mrherojack)开发并维护,当前版本 v1.0.0。

💬 留言讨论