github
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.
Install via CLI (Recommended)
clawhub install openclaw/openclaw/skills/githubWhat This Skill Does
The GitHub skill enables your OpenClaw AI agent to interface directly with GitHub repositories using the powerful gh CLI. By acting as a bridge between the agent and the GitHub platform, this skill allows for seamless automation of common developer workflows. Instead of manually navigating web interfaces to check on pull requests or monitor CI pipelines, the agent can execute commands to list issues, retrieve logs, query specific API endpoints, and manage PR lifecycles. It is designed for high-efficiency technical operations, allowing the agent to handle repetitive tasks such as triaging issues, checking build failures, and merging pull requests with structured precision.
Installation
To integrate this skill, use the following installation command in your terminal or within the OpenClaw management console:
clawhub install openclaw/openclaw/skills/github
After installation, you must ensure your environment is authenticated. Run gh auth login to link your GitHub account to the CLI. You can verify the connection at any time by running gh auth status.
Use Cases
This skill is highly effective for developers and DevOps engineers who want to automate their software delivery pipeline. Key use cases include:
- PR Management: Quickly listing pending reviews, checking merge status, and merging approved PRs.
- Continuous Integration Monitoring: Automatically identifying failed CI runs, fetching logs for specific steps, and re-running failed jobs without needing to open a browser.
- Issue Triage: Batch listing open issues, filtering by criteria, and updating issue statuses.
- API Data Retrieval: Extracting specific repository statistics, metadata, or contributor lists using JSON-formatted output and jq filtering.
Example Prompts
- "Check the current status of PR #55 in the openclaw/openclaw repo and tell me if the CI checks have passed."
- "List all open bugs in the repository that have the 'help-wanted' label and summarize them for me."
- "Find the latest failed workflow run in the repository and provide a summary of the error logs from the failed step."
Tips & Limitations
- Efficiency: Always use the
--jsonand--jqflags when querying large amounts of data to keep the context window clean. - Local vs. Remote: Remember that this skill interacts with the remote GitHub platform. It does not replace
gitfor local operations like staging files or committing changes. - Scope: This skill is strictly for GitHub. It will not work for GitLab, Bitbucket, or self-hosted Git services that do not support the GitHub API protocols.
- Security: Ensure that your
ghCLI is configured with the appropriate OAuth scopes to perform only the actions required by your agent workflows.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-openclaw-github": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
coding-agent
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), thread-bound ACP harness requests in chat (for example spawn/run Codex or Claude Code in a Discord thread; use sessions_spawn with runtime:"acp"), or any work in ~/clawd workspace (never spawn agents here). Claude Code: use --print --permission-mode bypassPermissions (no PTY). Codex/Pi/OpenCode: pty:true required.
blogwatcher
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
openai-whisper-api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
camsnap
Capture frames or clips from RTSP/ONVIF cameras.