← 返回 Skills 市场
khurramjamil12

Github 1

作者 khurramjamil12 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-1
功能描述
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)"'
安全使用建议
Install only if you want your agent to use your existing GitHub CLI access. Review the repositories and permissions available to `gh`, because future agent actions using this skill may read or change GitHub data if you ask for write operations.
能力评估
Purpose & Capability
The stated purpose is GitHub interaction through the `gh` CLI, and the artifact content is limited to matching examples for PR checks, workflow runs, API reads, and JSON output.
Instruction Scope
The skill mentions `gh api`, which can be powerful when used with an authenticated GitHub account, but the provided examples are scoped to explicit repositories and read-oriented queries.
Install Mechanism
The package contains only `SKILL.md` and `_meta.json`; there are no executable scripts, package installers, hooks, or hidden setup steps.
Credentials
Using `gh` normally relies on the user's local GitHub authentication and repository permissions; that access is expected for the skill's purpose but should be understood before use.
Persistence & Privilege
No persistence, background process, privilege escalation, credential capture, or local indexing behavior is present in the artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the GitHub skill. - Enables interaction with GitHub using the `gh` CLI. - Supports managing issues, pull requests, CI runs, and advanced queries via `gh issue`, `gh pr`, `gh run`, and `gh api`. - Provides usage examples for checking CI status, workflow runs, and advanced API queries. - Includes guidance on structured output with `--json` and filtering with `--jq`.
元数据
Slug github-1
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Github 1 是什么?

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

如何安装 Github 1?

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

Github 1 是免费的吗?

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

Github 1 支持哪些平台?

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

谁开发了 Github 1?

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

💬 留言讨论