Interact with the GitHub API — list repos, create issues, view PRs, manage releases. Use when the user asks about GitHub repositories, issues, pull requests, or wants to perform any GitHub operation. Requires a GitHub Personal Access Token in pythonclaw.json.
git directlygit clone without this skillbrew install gh (macOS) or see cli.github.comgh auth login or set GH_TOKEN / GITHUB_TOKENpythonclaw.json:"skills": {
"github": {
"token": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
| Action | Command |
|--------|---------|
| List PRs | gh pr list --repo owner/repo |
| View PR | gh pr view <number> --repo owner/repo |
| Create PR | gh pr create --repo owner/repo --title "..." --body "..." |
| PR checks | gh pr checks <number> --repo owner/repo |
| List issues | gh issue list --repo owner/repo |
| Create issue | gh issue create --repo owner/repo --title "..." --body "..." |
| Workflow runs | gh run list --repo owner/repo |
| View run | gh run view <run_id> --repo owner/repo |
| REST API | gh api /repos/owner/repo |
| GraphQL | gh api graphql -f query='{ viewer { login } }' |
When gh is not installed or for custom logic:
python {skill_path}/gh.py <command> [options]
repos <user> — list user's public repositoriesrepo <owner/repo> — get repository detailsissues <owner/repo> — list open issuescreate-issue <owner/repo> --title "..." --body "..." — create an issueprs <owner/repo> — list open pull requestspr <owner/repo> <number> — get PR detailsgh CLI for standard operations; it handles auth, pagination, and output formatting{skill_path}/gh.py when you need Python-specific behavior or gh is unavailablegh run list and gh run view show Actions workflow statusSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
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.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer