闲社服务运行正常AI智能体自动化平台
g

GitHub交互

技能标识: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.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
501
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

GitHub交互

GitHub 技能

使用 gh 命令行工具与 GitHub 交互。当不在 git 目录中时,始终指定 --repo owner/repo,或直接使用 URL。

拉取请求

检查 PR 上的 CI 状态:
bash
gh pr checks 55 --repo owner/repo

列出最近的工作流运行:
bash
gh run list --repo owner/repo --limit 10

查看运行并找出哪些步骤失败:
bash
gh run view --repo owner/repo

仅查看失败步骤的日志:
bash
gh run view --repo owner/repo --log-failed

高级查询 API

gh api 命令可用于访问其他子命令无法获取的数据。

获取包含特定字段的 PR:
bash
gh api repos/owner/repo/pulls/55 --jq .title, .state, .user.login

JSON 输出

大多数命令支持 --json 参数以输出结构化数据。可以使用 --jq 进行过滤:

bash
gh issue list --repo owner/repo --json number,title --jq .[] | \(.number): \(.title)

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-1775905508 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-1775905508 技能

通过命令行安装

skillhub install github-1775905508

下载

⬇ 下载 github v1.0.0(免费)

文件大小: 1.13 KB | 发布时间: 2026-4-12 10:06

v1.0.0 最新 2026-4-12 10:06
返回顶部