← 返回 Skills 市场
keyserkazi1

Github

作者 Keyserkazi1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
214
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-100
功能描述
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 an instructions-only wrapper for the gh CLI and appears coherent. Before installing: (1) confirm the skill source/origin because _meta.json owner/slug differ from registry metadata; (2) ensure the agent environment has the gh CLI installed and authenticated as you expect — the skill will use whatever GitHub credentials (gh auth or GH_TOKEN) are present, so verify those tokens' scopes to avoid unintended write/destructive actions; (3) if you do not trust the agent to act on your behalf, avoid enabling autonomous invocation or limit the agent's access to GitHub credentials. If any of these points are unclear, request the publisher clarify the metadata and provenance.
功能分析
Type: OpenClaw Skill Name: github-100 Version: 1.0.0 The skill bundle provides standard documentation and usage examples for the GitHub CLI (gh) to manage issues, pull requests, and CI runs. The instructions in SKILL.md are aligned with the stated purpose and do not contain any malicious commands, data exfiltration attempts, or prompt injection risks.
能力评估
Purpose & Capability
Name/description match the instructions: all commands are gh CLI usages for issues, PRs, and runs. Minor metadata inconsistency: registry metadata lists slug "github-100" and ownerId kn71x... while _meta.json contains slug "github" and a different ownerId (kn70p...). This is likely a publishing/packaging mismatch but worth checking the source/origin before trusting.
Instruction Scope
SKILL.md only instructs use of gh commands (gh pr, gh run, gh issue, gh api, --repo, --json/--jq). It does not ask the agent to read unrelated files, access unrelated env vars, or transmit data to external endpoints outside normal GitHub API usage.
Install Mechanism
No install spec and no code files — instruction-only. This minimizes risk because nothing is downloaded or written by the skill itself.
Credentials
The skill declares no required env vars, which is reasonable for a gh CLI helper because gh relies on existing user authentication (gh auth, GH_TOKEN, etc.). However the skill will implicitly use whatever GitHub credentials are available to the agent/environment; verify the scope and permissions of those credentials before allowing the skill to run.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. It does not request persistent installation or modify other skills/configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-100
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-100 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the GitHub skill. - Added documentation for using the `gh` CLI to manage issues, pull requests, CI runs, and perform advanced API queries. - Included usage examples for checking PR status, listing workflow runs, and fetching structured JSON data.
元数据
Slug github-100
版本 1.0.0
许可证 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 插件,目前累计下载 214 次。

如何安装 Github?

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

Github 是免费的吗?

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

Github 支持哪些平台?

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

谁开发了 Github?

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

💬 留言讨论