← 返回
未分类 中文

Github Tools

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.
使用 `gh` CLI 与 GitHub 交互。使用 `gh issue`、`gh pr`、`gh run` 和 `gh api` 处理 issue、PR、CI 运行及高级查询。
164149043
未分类 clawhub v1.0.1 1 版本 99886 Key: 无需
★ 0
Stars
📥 876
下载
💾 21
安装
1
版本
#latest

概述

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 <run-id> --repo owner/repo

View logs for failed steps only:

gh run view <run-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)"'

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 04:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Tmux Remote

164149043
Tmux Remote 自动化技能
★ 0 📥 538

Obsidian Notes

164149043
使用 Obsidian 笔记库(纯 Markdown 笔记)并通过 obsidian-cli 实现自动化
★ 0 📥 626

Mcporter Cli

164149043
使用 mcporter CLI 列出、配置、认证并直接调用 MCP 服务器/工具(HTTP 或 stdio),包括临时服务器、配置编辑及 CLI/类型生成等。
★ 0 📥 694