GitHub for Openclaw

A powerful integration enabling AI agents to manage GitHub repositories, pull requests, and CI/CD workflows via the official GitHub CLI.

makforce
v1.0.0
Feb 23, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-1-0-0

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-1-0-0 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?

The GitHub skill for Openclaw Skills brings the full power of the gh CLI to your automated workflows. It allows for deep interaction with GitHub repositories, enabling users to manage issues, monitor pull requests, and analyze GitHub Actions directly. By utilizing this skill within the Openclaw Skills ecosystem, developers can bridge the gap between their AI coding agents and their version control hosting platform, ensuring that every CI/CD run and PR review is accessible through a standardized interface.

GitHub Use Cases

  • Tracking CI/CD status for pull requests to ensure code quality before merging.
  • Debugging failed GitHub Action runs by retrieving specific error logs from failed steps.
  • Querying complex repository metadata via the GitHub API using custom JQ filters.
  • Listing and managing issues across various repositories within Openclaw Skills.

How GitHub Works

  1. The AI agent initiates commands through the gh CLI, ensuring the correct repository context is provided via the --repo flag.
  2. For standard tasks, it utilizes built-in subcommands like gh pr, gh issue, and gh run to interact with GitHub resources.
  3. For advanced data retrieval, the skill invokes gh api, which communicates with GitHub's REST or GraphQL endpoints.
  4. Resulting data is often piped through JQ for structured filtering, providing the Openclaw Skills agent with precise, actionable information.

GitHub Setup

To get started with this skill in Openclaw Skills, ensure the GitHub CLI is installed and you are authenticated with your account.

# Install gh CLI (if not present)
# See https://cli.github.com/ for OS-specific instructions

# Authenticate with your GitHub account
gh auth login

# Test the connection within Openclaw Skills
gh repo view --repo owner/repo

GitHub Data Schema & Taxonomy

The GitHub skill leverages structured JSON output to provide high-fidelity data to Openclaw Skills. Below is the mapping of common data interactions:

Functionality CLI Command Example Output Type
PR Status gh pr checks Text/Table
Workflow Logs gh run view --log-failed Log Streams
Custom Metadata gh api ... --json JSON/JQ Filtered
Issue Tracking gh issue list --json number,title JSON Array

GitHub Advanced Features

  • Intelligent CI failure detection using the --log-failed flag to pinpoint errors quickly.
  • Powerful data extraction using integrated JQ filtering within Openclaw Skills commands.
  • Cross-repository support allowing for multi-project management from a single agent session.
  • Full access to the GitHub REST API for advanced operations not covered by standard CLI subcommands.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*