github
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.
Why use this skill?
Automate GitHub repository tasks, manage pull requests, and monitor CI workflows directly through your OpenClaw agent using the powerful gh CLI integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/steipete/githubWhat This Skill Does
The GitHub skill enables your OpenClaw agent to interact directly with GitHub repositories via the robust gh CLI. By bridging the gap between natural language requests and command-line execution, the agent can perform complex repository management tasks without requiring you to switch contexts or manually use a browser. It supports full repository interaction including issue management, pull request monitoring, workflow investigation, and raw API access for granular data retrieval. Whether you need to triage bugs, check build statuses, or query specific metadata about your codebase, this skill provides a seamless, programmatic interface to your development environment.
Installation
To integrate this skill into your environment, use the OpenClaw installation command:
clawhub install openclaw/skills/skills/steipete/github
Ensure that the gh CLI is authenticated and configured correctly on the host machine before use, as the agent relies on the existing local credentials to access private repositories.
Use Cases
- Continuous Integration Monitoring: Automatically investigate failed CI runs to identify specific failing jobs without navigating the GitHub web UI.
- PR Triage and Management: Quickly list open pull requests, verify build check statuses, and format metadata for team reports using the JSON filtering capabilities.
- Advanced Data Queries: Extract specific fields like PR authors, labels, or custom metadata using
gh apifor internal tracking or auditing purposes. - Automated Reporting: Use shell output to feed data into other tools or agents, facilitating automated workflows for project management.
Example Prompts
- "Check the status of PR 55 in the openclaw/skills repository and tell me if the tests passed."
- "List the last 5 workflow runs for our main repository and show me the logs for any failed steps."
- "Get the title and author of all open issues in our repo and format them as a bulleted list for my daily update."
Tips & Limitations
- Authentication: Always ensure your local
ghCLI is logged in viagh auth loginbefore invoking the skill. - Repository Scoping: If you are not operating inside a git-initialized directory, the
--repo owner/repoflag is mandatory for every command to prevent errors. - Power User tip: Leverage the
--jqfilter flag combined with--jsonoutput to reduce token consumption when asking the agent to process large amounts of data; it is more efficient to perform the filtering via the CLI than to pass massive raw JSON objects to the LLM. - Safety: Use caution when performing destructive operations, such as closing issues or deleting branches, as these actions cannot be easily undone via the CLI.
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-steipete-github": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
swiftui-liquid-glass
Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.
qmd
Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
songsee
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
summarize
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
bird
X/Twitter CLI for reading, searching, and posting via cookies or Sweetistics.