GitHub CLI Skill for Openclaw

A powerful integration for Openclaw Skills that leverages the GitHub CLI to manage repositories, pull requests, and CI/CD pipelines directly via terminal commands.

huadafenqi
v1.0.0
Mar 15, 2026
0
946
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install huadafenqi-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 huadafenqi-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 enables AI agents and developers to interact seamlessly with the GitHub ecosystem using the official gh CLI. By wrapping core functionalities like issue tracking, pull request management, and workflow monitoring, this skill provides a robust interface for repository maintenance without leaving the command-line environment.

Designed for high-performance automation within the Openclaw Skills framework, it excels at fetching structured data via the GitHub API and processing JSON outputs with jq filters. Whether you are auditing code quality or managing complex release cycles, this skill bridges the gap between local development and remote repository state.

GitHub CLI Skill Use Cases

  • Monitoring GitHub Action CI/CD status for specific pull requests to ensure build stability.
  • Retrieving and filtering repository metadata using custom GitHub API queries.
  • Automating the management of issues and PRs across multiple repositories using structured JSON output.
  • Inspecting failed workflow logs to debug deployment issues remotely.

How GitHub CLI Skill Works

  1. The skill initializes the gh environment, ensuring authentication and repository context are established.
  2. It executes targeted CLI commands such as gh pr, gh issue, or gh run based on the agent's objective.
  3. Results are often requested in JSON format to ensure high-fidelity data parsing.
  4. Advanced queries are routed through the gh api endpoint for granular control over GitHub's REST or GraphQL resources.
  5. Output is filtered and formatted using jq patterns to provide actionable insights back to the Openclaw Skills agent.

GitHub CLI Skill Setup

To utilize this skill within the Openclaw Skills ecosystem, ensure the GitHub CLI is installed and authenticated:

# Install GitHub CLI
brew install gh

# Authenticate with your GitHub account
gh auth login

# Verify installation
gh --version

GitHub CLI Skill Data Schema & Taxonomy

The skill utilizes structured output formats to maintain consistency across technical workflows. Most operations leverage the following data organization:

Feature Command Flag Output Format
Issues/PRs --json Array of objects (e.g., number, title, state)
CI/CD Runs gh run view Log strings or structured workflow status
Custom Queries gh api Raw JSON response from GitHub REST API
Data Filtering --jq String-mapped or transformed JSON objects

GitHub CLI Skill Advanced Features

  • Direct API Access: Use gh api to reach endpoints not yet covered by standard CLI subcommands.
  • Granular CI Inspection: View specific failed steps in a workflow run using the --log-failed flag.
  • Multi-Repo Context: Explicitly target remote repositories using the --repo owner/repo flag for headless automation.
  • Lossless Data Transformation: Seamlessly pipe JSON output into complex jq filters for customized reporting within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*