← 返回 Skills 市场
yqghlx

GitHub

作者 Alex · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ suspicious
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-test
功能描述
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 appears to be a simple helper that tells the agent how to run the gh CLI, but there are a few red flags to check before installing: 1) Verify the skill's source/owner — registry metadata (owner/slug/version) does not match the _meta.json inside the package, which could indicate repackaging or mismatch. 2) Confirm you have the gh CLI and appropriate GitHub credentials available; the skill does not declare these but they are required to perform authenticated actions. 3) Prefer skills that explicitly declare required binaries and primary credentials (e.g., GH_TOKEN or gh auth). 4) Because this skill can run gh commands via the agent, avoid granting high-privilege GitHub tokens; use least privilege (scoped tokens) and consider read-only scopes if appropriate. If you cannot verify the publisher or the metadata discrepancy, treat the skill cautiously or request a corrected package that lists required binaries and credentials.
功能分析
Type: OpenClaw Skill Name: github-test Version: 0.0.1 The skill bundle provides standard instructions and examples for using the official GitHub CLI (gh) to interact with repositories, issues, and pull requests. The content in SKILL.md is purely educational and functional, with no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill's described purpose (driving GitHub via the gh CLI) matches the instructions. However the skill does not declare required binaries or a primary credential; using gh effectively typically requires the gh binary and GitHub authentication (gh auth / GH_TOKEN). The lack of declared requirements is an inconsistency.
Instruction Scope
SKILL.md only instructs running gh commands and using --repo or URLs. It does not request reading unrelated files, accessing other system paths, or transmitting data to unexpected endpoints. Instruction scope stays within the stated GitHub interactions.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so no downloads or installs are performed by the skill itself (lower surface area).
Credentials
The skill declares no required env vars or credentials, but practical use of gh typically requires authentication (interactive gh auth login or GH_TOKEN) and the gh binary on PATH. The omission could be benign (author assumed environment already prepared) or an oversight; it should be clarified before trusting the skill with authenticated operations.
Persistence & Privilege
The skill does not request always:true, no install, and no modifications to other skills or system-wide config are described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-test
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-test 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
test
元数据
Slug github-test
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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

如何安装 GitHub?

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

GitHub 是免费的吗?

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

GitHub 支持哪些平台?

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

谁开发了 GitHub?

由 Alex(@yqghlx)开发并维护,当前版本 v0.0.1。

💬 留言讨论