AGENT SKILL
github
GitHub operations via the gh CLI
使用场景Skill与智能体开发
- License 许可
- MIT
- 所属仓库
- gebruder/wirken
- 最近更新
- 2026-11-14
- Stars
- ★ 213
- Forks
- 15
01 前言 Front Matter
- name
- github
- metadata
- { "wirken": { "requires": { "bins": [ "gh" ] } } }
- description
- GitHub operations via the gh CLI
- permissions
- { "tools": { "allow": [ "exec" ] }, "egress": { "mode": "deny" }, "inference": { "allow": [ "*" ] } }
- disable-model-invocation
- true
02 资源文件 3
- 其他SKILL.deleg128 B
- 其他SKILL.pub64 B
- 其他SKILL.sig128 B
03 SKILL.md 正文
GitHub
Use the gh CLI for GitHub operations. The user must be authenticated (gh auth login).
Common operations
- List repos:
gh repo list - View repo:
gh repo view owner/repo - List issues:
gh issue list -R owner/repo - Create issue:
gh issue create -R owner/repo --title "Title" --body "Body" - List PRs:
gh pr list -R owner/repo - View PR:
gh pr view 123 -R owner/repo - Create PR:
gh pr create --title "Title" --body "Body" - Check CI status:
gh run list -R owner/repo --limit 5 - View run logs:
gh run view <run-id> --log-failed - Star a repo:
gh repo star owner/repo - Clone:
gh repo clone owner/repo - Search code:
gh search code "pattern" -R owner/repo - Search issues:
gh search issues "query" -R owner/repo
Tips
- Use
--jsonflag for machine-readable output:gh issue list --json number,title,state - Use
--jqfor filtering:gh pr list --json title,url --jq '.[].url' - Most commands accept
-R owner/repoto target a specific repository
04 同仓库更多 Skills
web-fetch
Fetch and extract content from URLs
★ 213
weather
Get current weather and forecasts
★ 213
tmux
Manage tmux terminal sessions
★ 213
system-info
System information and monitoring
★ 213
ssh
SSH key management and remote connections
★ 213
process-manager
Monitor and manage system processes
★ 213