← 返回 Skills 市场
xiaomaju-888

Github Xiaoshu

作者 xiaomaju-888 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install github-xiaoshu
功能描述
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 helper for the GitHub 'gh' CLI. Before installing, ensure: 1) you have the 'gh' CLI installed on any agent runner where it will be used (the SKILL.md assumes it but the metadata doesn't declare it); 2) your 'gh' is authenticated (it will use your existing gh auth or environment GH_TOKEN), so be aware the agent will run commands with whatever repo permissions your configured credentials grant; 3) the SKILL.md examples are mostly read-only, but 'gh' can modify issues/PRs if the agent executes write commands — only enable or grant access if you trust the agent to run those operations. Also note a minor metadata mismatch (the included _meta.json owner differs from the package owner id), which is likely benign but worth verifying the skill source if provenance matters.
功能分析
Type: OpenClaw Skill Name: github-xiaoshu Version: 1.0.0 The skill bundle provides standard instructions and examples for using the official GitHub CLI (`gh`) to manage pull requests, issues, and workflow runs. The content in SKILL.md is purely informational and aligns with the stated purpose of interacting with GitHub without any signs of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill's description and SKILL.md consistently show usage of the 'gh' CLI for PRs, runs, issues, and gh api queries. However, the skill metadata lists no required binaries while the instructions assume the 'gh' CLI is available — a minor mismatch but not a substantive security concern.
Instruction Scope
SKILL.md only instructs running 'gh' commands against GitHub repos and using --repo or URLs; it does not direct reading unrelated files, accessing other environment variables, or exfiltrating data to external endpoints. Examples shown are primarily read/query commands.
Install Mechanism
There is no install specification (instruction-only), so nothing is written to disk by the skill itself. This is the lowest-risk installation model. It implicitly relies on the environment already having the 'gh' CLI installed.
Credentials
The skill declares no required environment variables or credentials. In practice, the 'gh' CLI requires authentication (e.g., gh auth login or GH_TOKEN in the environment) to perform authenticated operations; the skill correctly does not request secrets itself but will depend on whatever GitHub credentials the user has configured for 'gh'.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request persistent system privileges or modify other skills' configs. Autonomous invocation is allowed (platform default) but the skill doesn't request additional persistent presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-xiaoshu
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-xiaoshu 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the github skill. - Enables GitHub interaction via the `gh` CLI for issues, pull requests, and workflows. - Provides usage examples for common `gh` commands and advanced queries with `gh api`. - Documents best practices, including use of `--repo` and JSON/output filtering options.
元数据
Slug github-xiaoshu
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Github Xiaoshu 是什么?

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

如何安装 Github Xiaoshu?

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

Github Xiaoshu 是免费的吗?

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

Github Xiaoshu 支持哪些平台?

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

谁开发了 Github Xiaoshu?

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

💬 留言讨论