一键导入
github
Full GitHub integration via gh CLI — issues, PRs, releases, CI, search
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full GitHub integration via gh CLI — issues, PRs, releases, CI, search
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Google Calendar — list, create, and manage events via gcal CLI
Manage HubSpot CRM — contacts, companies, deals, tickets
Manage Shopify store — products, orders, customers, inventory
Configure audio transcription and image/video understanding for channels
AWS CLI for S3, EC2, Lambda, CloudWatch, RDS, and ECS
Google Calendar — list, create, and manage events via gcal CLI
| name | github |
| version | 0.3.0 |
| author | devclaw |
| description | Full GitHub integration via gh CLI — issues, PRs, releases, CI, search |
| category | development |
| tags | ["github","git","issues","pull-requests","repositories","ci","releases"] |
| requires | {"bins":["gh"]} |
You have full access to GitHub using the gh CLI. Make sure gh auth status shows authenticated.
Check if installed:
command -v gh && gh --version
Install:
# macOS
brew install gh
# Ubuntu / Debian (see https://github.com/cli/cli/blob/trunk/docs/install_linux.md)
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update && sudo apt install -y gh
Auth:
# Interactive (browser)
gh auth login
# Non-interactive: store token in vault; auto-injects as GITHUB_TOKEN (UPPERCASE)
vault_save github_token "ghp_..."
echo $GITHUB_TOKEN | gh auth login --with-token
# List issues
gh issue list -R OWNER/REPO --limit 10
gh issue list -R OWNER/REPO --state closed --label "bug"
# View issue details
gh issue view NUMBER -R OWNER/REPO
# Create issue
gh issue create -R OWNER/REPO --title "TITLE" --body "BODY" --label "bug" --assignee "@me"
# Close issue
gh issue close NUMBER -R OWNER/REPO
# Comment on issue
gh issue comment NUMBER -R OWNER/REPO --body "Comment text"
# Structured output
gh issue list -R OWNER/REPO --json number,title,state,labels,assignees | jq '.'
# List PRs
gh pr list -R OWNER/REPO --limit 10
gh pr list -R OWNER/REPO --state merged
# View PR details
gh pr view NUMBER -R OWNER/REPO
# View diff
gh pr diff NUMBER -R OWNER/REPO
# Check CI status
gh pr checks NUMBER -R OWNER/REPO
# Merge PR (squash, merge, or rebase)
gh pr merge NUMBER -R OWNER/REPO --squash --delete-branch
# Create PR
gh pr create -R OWNER/REPO --title "TITLE" --body "BODY" --base main
# List recent workflow runs
gh run list -R OWNER/REPO --limit 5
gh run list -R OWNER/REPO --workflow "ci.yml"
# View run details and logs
gh run view RUN_ID -R OWNER/REPO
gh run view RUN_ID -R OWNER/REPO --log-failed
# Re-run a failed workflow
gh run rerun RUN_ID -R OWNER/REPO --failed
# List releases
gh release list -R OWNER/REPO --limit 5
# View latest release
gh release view --latest -R OWNER/REPO
# Create release
gh release create TAG -R OWNER/REPO --title "TITLE" --notes "Release notes" --generate-notes
# Upload assets to release
gh release upload TAG ./file.zip -R OWNER/REPO
# Search repos
gh search repos "QUERY" --limit 10
# Search code
gh search code "QUERY" -R OWNER/REPO --limit 10
# Raw API call (for anything not covered)
gh api repos/OWNER/REPO/commits --paginate | jq '.[0:5] | .[].commit.message'
gh api repos/OWNER/REPO/contributors | jq '.[] | {login, contributions}'
# Clone, fork
gh repo clone OWNER/REPO
gh repo fork OWNER/REPO
# View repo info
gh repo view OWNER/REPO
# Create repo
gh repo create NAME --public --description "DESC" --clone
-R OWNER/REPO to target the correct repository.--json flag for structured output, then filter with jq.--limit to cap results and avoid overwhelming output.gh auth status if you get permission errors.gh pr diff NUMBER | head -100.github, issue, pull request, PR, workflow, CI, release, create issue, check repo, merge PR, check CI