← 返回 Skills 市场
nidhov01

Github

作者 nidhov01 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
244
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install nidhov01-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.
使用说明 (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 instruction-only wrapper for the gh CLI. Before installing: ensure the machine running the agent has the gh CLI and is authenticated to GitHub (gh auth or GH_TOKEN). If you don't want the agent to access your GitHub account, don't install it or provide credentials. Prefer using a token with minimal scopes (repo/read or narrower) and consider a dedicated account or limited-scope token for automation. Note the skill omitted declaring the gh binary and auth requirements, which is likely an oversight rather than malicious behavior.
功能分析
Type: OpenClaw Skill Name: nidhov01-github 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. The content in SKILL.md is purely educational and functional, containing no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
The name/description (GitHub via gh CLI) align with the runtime instructions. However, the metadata does not declare the gh binary as a required dependency nor does it mention authentication (e.g., GH_TOKEN or gh auth), which is a likely omission rather than a mismatch in purpose.
Instruction Scope
SKILL.md only instructs running gh commands and using gh api/--json/--jq for queries; it does not direct the agent to read unrelated files, send data to third-party endpoints, or access unrelated environment variables.
Install Mechanism
No install spec is provided (instruction-only), which is the lowest-risk pattern — nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables, but practical use requires GitHub authentication (gh uses local auth or GH_TOKEN). The absence of declared credential requirements is an omission the user should be aware of; the skill will operate with whatever GitHub credentials are available to the environment.
Persistence & Privilege
always is false and the skill is user-invocable/autonomous invocation is allowed (the platform default). The skill does not request persistent system-wide privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nidhov01-github
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nidhov01-github 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Fork - 2026.3.16
元数据
Slug nidhov01-github
版本 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 插件,目前累计下载 244 次。

如何安装 Github?

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

Github 是免费的吗?

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

Github 支持哪些平台?

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

谁开发了 Github?

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

💬 留言讨论