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 your GitHub workflow with the OpenClaw GitHub skill. Manage pull requests, monitor CI/CD pipelines, and query repository data using the gh CLI.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bobdevibecoder/bobagent-githubWhat This Skill Does
The GitHub skill enables your OpenClaw agent to interact directly with GitHub repositories using the powerful gh Command Line Interface. It serves as a bridge between your agent and the GitHub platform, allowing for automated issue tracking, pull request management, CI/CD pipeline monitoring, and advanced data extraction via the GitHub API. By leveraging the gh tool, the agent can perform complex administrative tasks, fetch logs from failed workflow runs, and parse JSON-formatted data directly from the GitHub servers, significantly reducing the manual overhead for developers and DevOps engineers.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/bobdevibecoder/bobagent-github
Ensure that the gh CLI is installed and configured on your machine before running this command, as the agent requires local access to authentication tokens stored by GitHub.
Use Cases
- DevOps Monitoring: Automatically monitor CI/CD pipeline health and alert team members when critical build steps fail.
- PR Triage: Bulk-list open pull requests and filter them by specific criteria to manage code review queues effectively.
- Automated Reporting: Generate custom reports using the
gh apicommand to extract specific repository data (e.g., contributor activity, issue labels, or milestone progress) in structured formats. - Troubleshooting: Rapidly fetch logs from failing workflows to identify the root cause without switching context from the command line.
Example Prompts
- "Check the current status of all open pull requests in the openclaw/skills repository and list their titles."
- "Show me the last 5 workflow runs for the repo openclaw/skills and let me know if any of them failed."
- "Fetch the details for issue #55 on the repository, specifically looking for the current state and the user who opened it."
Tips & Limitations
- Always specify the repo: Unless you are inside a directory that is already a git clone of the target repo, you must explicitly use the
--repo owner/repoflag. - Data Formatting: Utilize the
--jsonand--jqflags whenever possible to allow the agent to process output more accurately. Raw text output can be harder for the agent to parse than structured JSON. - Authentication: The skill relies on your existing
ghCLI authentication. If your token expires, the agent will report authorization errors; ensure your session is active by runninggh auth statusmanually if issues persist. - Permissions: The agent operates under your personal GitHub permissions. Be mindful that any command the agent executes (such as closing an issue) will be attributed to your GitHub account.
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-bobdevibecoder-bobagent-github": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
affiliate-master
Full-stack affiliate marketing automation for OpenClaw agents. Generate, track, and optimize affiliate links with FTC-compliant disclosures and multi-network support.
tweet-ideas-generator
Generates 60 high-impact tweet ideas from reference content across 5 categories. Use when someone wants to extract engaging short-form statements from content for Twitter/X, organized by harsh advice, quotes, pain points, counterintuitive truths, and key insights.
ai-discoverability-audit
Audit how a brand appears in AI-powered search (ChatGPT, Perplexity, Claude, Gemini). Use when user mentions "AI search," "how do I show up in ChatGPT," "AI discoverability," "AEO," "LLM visibility," or wants to understand their brand's AI presence.
positioning-basics
Help founders and marketers nail their positioning. Use when someone mentions "positioning," "value proposition," "who is this for," "how do I describe my product," "messaging," "ICP," "ideal customer," or is struggling to articulate what makes their product different.
polymarket-correlation
Detect mispriced correlations between Polymarket prediction markets. Cross-market arbitrage finder for AI agents.