GitHub 仓库协作管理
github
使用 `gh` 命令行工具与 GitHub 交互。通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 处理议题、PR、CI 运行和高级查询。
- License 许可
- MIT
- 最近更新
- 2026-02-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- github
- metadata
- { "openclaw": { "emoji": "?", "install": [ { "id": "brew", "bins": [ "gh" ], "kind": "brew", "label": "Install GitHub CLI (brew)", "formula": "gh" }, { "id": "apt", "bins": [ "gh" ], "kind": "apt", "label": "Install GitHub CLI (apt)", "package": "gh" } ], "requires": { "bins": [ "gh" ] } } }
- description
- 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.
03 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 <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)"'
04 同仓库更多 Skills
YouTube 转 Obsidian 笔记
youtube-to-obsidian
暂无简介
天气信息查询
weather
获取当前天气和天气预报(无需 API 密钥)。
WhatsApp 消息与历史管理
wacli
通过 wacli CLI 向他人发送 WhatsApp 消息,或搜索/同步 WhatsApp 历史记录(不适用于普通用户聊天)。
语音通话发起
voice-call
通过 OpenClaw 语音通话插件发起语音通话。
视频帧与片段提取
video-frames
使用 ffmpeg 从视频中提取画面帧或短片段。
Trello 看板与卡片管理
trello
通过 Trello REST API 管理 Trello 看板、列表和卡片。