GitHub Operations Skill for Openclaw

A powerful integration for managing GitHub repositories, pull requests, and CI/CD workflows using the GitHub CLI.

chuangyinbot-boop
v1.0.0
Apr 21, 2026
0
683
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cool-github-cli

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 cool-github-cli 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 Operations Skill?

The GitHub skill empowers AI agents to interact directly with the GitHub ecosystem via the official gh CLI. It provides a robust interface for performing administrative and collaborative tasks without needing a manual browser flow. By leveraging Openclaw Skills, your agent can effectively bridge the gap between local development and remote repository management.

This skill is designed for high-efficiency operations, allowing for the automation of pull request lifecycles, issue tracking, and workflow monitoring. It ensures that developers and automated agents can maintain a single source of truth within their version control system while utilizing the full power of GitHub's API and structured data outputs.

GitHub Operations Skill Use Cases

  • Automating the creation, merging, and status checking of pull requests.
  • Monitoring CI/CD pipeline health by retrieving workflow run logs and re-running failed jobs.
  • Triaging repository issues by listing, labeling, and commenting on bug reports or feature requests.
  • Programmatically querying the GitHub API to extract repository metadata and statistics.
  • Managing repository releases and collaborators through standardized CLI commands.

How GitHub Operations Skill Works

  1. The AI agent identifies a GitHub-related task such as checking a PR or creating an issue.
  2. The skill invokes the local gh CLI binary to communicate with the GitHub API.
  3. Authentication is handled via existing local credentials verified by gh auth status.
  4. Commands are executed with specific flags (like --json) to retrieve machine-readable data.
  5. The skill parses the response and provides the agent with structured information or confirms successful execution of an action.

GitHub Operations Skill Setup

To use this Openclaw Skills integration, ensure the GitHub CLI is installed and authenticated on your system.

# Install the gh CLI (if not present)
brew install gh

# Authenticate your account
gh auth login

# Verify the connection
gh auth status

GitHub Operations Skill Data Schema & Taxonomy

The skill utilizes structured JSON output from the GitHub CLI, often filtered with jq for precision. Data is typically organized as follows:

Object Key Fields Managed
Pull Request number, title, state, mergeable, author, additions, deletions
Issue number, title, labels, state, createdAt, body
Workflow Run id, status, conclusion, event, createdAt
Repository stargazers_count, forks_count, full_name

GitHub Operations Skill Advanced Features

  • Advanced API querying using the gh api command with custom --jq filtering for complex data extraction.
  • Automated PR review summaries that aggregate body content, diff stats, and CI check statuses into a single report.
  • Support for cross-repository operations by explicitly defining the --repo owner/repo flag.
  • Efficient issue triage workflows that combine multiple metadata fields into readable lists.
  • Cache management for API queries to stay within rate limits during intensive operations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*