GitHub Skill for Openclaw

A powerful integration for Openclaw Skills that enables AI agents to manage GitHub repositories, workflows, and pull requests using the official GitHub CLI.

steipete
v1.0.0
Jan 5, 2026
636
190.7k
4.5k

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Skill?

The GitHub skill provides a comprehensive bridge between AI agents and the GitHub ecosystem. By utilizing the official gh CLI, this skill allows agents to perform complex repository operations including managing pull requests, monitoring CI/CD pipelines, and querying repository data. It is a vital component for developers using Openclaw Skills who want to automate their software development lifecycle (SDLC) directly from their AI-powered environment.

This skill is designed for precision, supporting structured JSON output and advanced filtering via jq. Whether you are checking the status of a specific build or extracting metadata through the GitHub API, this skill ensures your agent has the high-fidelity data it needs to assist in code reviews and project management.

GitHub Skill Use Cases

  • Monitoring CI/CD health by checking pull request status and workflow runs.
  • Automating the retrieval of issue lists and pull request metadata for project tracking.
  • Debugging failed deployments by fetching logs for failed steps in GitHub Actions.
  • Performing custom data queries using the GitHub REST API for advanced repository analysis.

How GitHub Skill Works

  1. The AI agent initializes a command using the gh CLI interface integrated into Openclaw Skills.
  2. The skill targets specific repositories using the --repo flag or by identifying the active git directory.
  3. Commands like gh pr, gh issue, or gh run are executed to fetch or modify repository state.
  4. Resulting data is often requested in JSON format and processed through jq filters for clean, actionable responses.
  5. The agent interprets the structured output to provide status updates or perform follow-up actions.

GitHub Skill Setup

To use this skill within Openclaw Skills, you must have the GitHub CLI installed and authenticated on your machine.

# Install the GitHub CLI
brew install gh

# Authenticate with your GitHub account
gh auth login

Once authenticated, the agent can execute gh commands. Ensure the agent has the necessary permissions to access the target repositories.

GitHub Skill Data Schema & Taxonomy

The skill interacts with GitHub's data structures through the CLI. Common data schemas include:

Feature Data Source Output Format
Pull Requests gh pr list/view Structured JSON including state, title, and checks.
Workflow Runs gh run list/view Logs and status objects for GitHub Actions.
Issues gh issue list JSON arrays with number, title, and label metadata.
API Queries gh api Custom dynamic objects based on the specific REST endpoint.

GitHub Skill Advanced Features

  • Log Filtering: Retrieve logs only for failed steps in a workflow run for faster troubleshooting.
  • Custom API Access: Use the gh api command to access endpoints not covered by standard CLI subcommands.
  • Data Transformation: Leverage integrated jq support to pipe structured data directly into agent memory.
  • Multi-Repo Support: Explicitly target any repository globally by providing the owner/repo identifier.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*