GitHub CLI Skill for Openclaw

Automate GitHub operations like PR management, issue tracking, and CI/CD monitoring using the official GitHub CLI.

lovefromio
v1.0.0
Apr 27, 2026
0
928
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install lovefromio-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 lovefromio-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 CLI Skill?

The GitHub Skill empowers your AI agent to interact natively with the GitHub ecosystem using the powerful gh CLI. By integrating this capability within Openclaw Skills, developers can automate repetitive repository tasks, query complex API data, and monitor continuous integration status without leaving their development environment. This skill bridges the gap between AI-driven coding and robust project management by providing a direct interface to GitHub's core features.

GitHub CLI Skill Use Cases

  • Monitoring CI/CD status on pull requests to ensure code quality within the Openclaw Skills ecosystem.
  • Automating issue triage and listing via structured queries for better project visibility.
  • Debugging failed workflow runs by inspecting logs programmatically through the agent.
  • Fetching specific repository metadata using the GitHub API for custom reporting.

How GitHub CLI Skill Works

  1. The AI agent invokes the gh CLI through the Openclaw Skills interface to execute repository commands.
  2. Commands are executed against the specified repository or the current working directory context.
  3. Structured data is captured via JSON output and filtered using jq for precise information extraction.
  4. The agent processes the filtered results to perform follow-up actions like commenting on PRs or identifying failing CI steps.

GitHub CLI Skill Setup

To use this capability within Openclaw Skills, ensure the GitHub CLI (gh) is installed on your local system and authenticated.

# Install GitHub CLI (example for macOS)
brew install gh

# Authenticate with your GitHub account
gh auth login

Ensure that the agent has the necessary permissions to execute shell commands and access your GitHub tokens.

GitHub CLI Skill Data Schema & Taxonomy

The skill relies on the standard GitHub CLI response formats, often transformed into JSON for agent consumption. Data is organized by resource type:

Entity Key Data Fields CLI Command Example
Pull Requests number, title, state, checks gh pr list --json number,title
Workflow Runs id, status, conclusion, logs gh run view --log-failed
Issues number, title, labels gh issue list --json number,title
Custom API Flexible JSON objects gh api repos/:owner/:repo/pulls

All commands in Openclaw Skills support the --json flag for structured data parsing.

GitHub CLI Skill Advanced Features

  • Full GitHub API access via the gh api subcommand for complex queries not covered by standard commands.
  • Granular CI/CD debugging with log-failed flags to pinpoint specific pipeline bottlenecks.
  • Advanced JSON filtering using integrated JQ syntax for data-driven automations within Openclaw Skills.
  • Support for cross-repository operations by explicitly passing the --repo flag.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*