github-tools
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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/164149043/github-toolsWhat This Skill Does
The github-tools skill integrates the powerful GitHub CLI (gh) directly into your OpenClaw agent, enabling seamless automation of GitHub workflows. Instead of manually navigating the web interface, the agent can programmatically manage pull requests, investigate CI/CD failures, track issues, and execute complex API queries. By leveraging the underlying gh CLI, this skill ensures that all interactions are authenticated and follow standard GitHub best practices. It is designed to act as a bridge between your local environment or server and your remote GitHub repositories.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/164149043/github-tools
Ensure you have the gh CLI installed on your machine and that you have successfully authenticated using gh auth login before triggering the skill for the first time.
Use Cases
This skill is ideal for developers and DevOps engineers who want to automate repetitive tasks. Common use cases include:
- CI/CD Debugging: Automatically identify failed workflow runs and extract logs for specific steps when a build breaks.
- PR Triage: Bulk processing or querying of PR metadata to identify stalled tasks or pending reviews.
- Automated Reporting: Creating formatted lists of issues or PRs using the JSON output feature to integrate with other reporting tools.
- Advanced Data Retrieval: Querying the GitHub API for custom data points that are not exposed via standard CLI commands by using
gh apiwith specific JQ filters.
Example Prompts
- "Check the status of the CI checks for PR #55 in the openclaw/core repository and tell me if any steps failed."
- "List the last 5 workflow runs for our main repository and provide a summary of their status."
- "Fetch the title and author of all open issues in the current repo, formatted as a simple numbered list."
Tips & Limitations
- Permissions: Ensure the token used for
ghhas the necessary scopes (repo, read:org, etc.) for the tasks you wish to perform. - Targeting Repos: Always use the
--repo owner/repoflag unless you are currently inside a initialized git directory that points to the target repository. - Performance: For large datasets, utilize the
--jqflag to filter data on the server side rather than pulling large JSON blobs into the agent memory. - Rate Limiting: Be aware of GitHub API rate limits when running automated scripts that query many resources at once.
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-164149043-github-tools": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
obsidian-notes
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
mcporter-cli
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Tmux Remote
Skill by 164149043
Weather Tools
Skill by 164149043
Summarize Cli
Skill by 164149043