github

Automate GitHub issues, PRs, and CI tasks via the gh CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cgk-platform/cgk --skill github-cgk-platform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/cgk-platform/cgk/tree/main/openclaw-skills/github-1
Command: npx skills add https://github.com/cgk-platform/cgk --skill github-cgk-platform

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing GitHub tasks (issues, PRs, CI runs, and API data) can be repetitive and error-prone when done manually across multiple repos. This Skill automates those tasks using the gh CLI to save time and reduce mistakes.

Core Features & Use Cases

  • Issue & PR management: Create, update, and query issues and pull requests with consistent formatting.
  • CI & workflow visibility: Retrieve workflow run statuses and logs to monitor build health.
  • API-driven queries: Fetch repository data via gh api for custom reporting.

Quick Start

Ask the system to list open PRs in owner/repo and display their status and associated checks.

Frequently Asked Questions about github

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub issues and pull requests management across multiple repos?

Automate GitHub issues and PRs by using the gh CLI to create, update, and query tasks with consistent formatting. It operates across repos or URLs and supports --repo targeting for deterministic results outside a git directory.

How do I view GitHub workflow run statuses and CI logs from the command line?

View GitHub workflow run statuses and CI logs by executing targeted gh CLI commands. This Skill retrieves workflow run data and build logs to monitor CI health without navigating the web interface.

How can I fetch custom GitHub repository data using the API?

Fetch custom GitHub repository data by executing advanced `gh api` queries. This Skill automates API-driven data extraction for custom reporting, handling URL-based targeting when not in a local git directory.

Do I need the gh CLI installed and authenticated to manage GitHub tasks?

Yes, you need the gh CLI installed and authenticated to manage GitHub tasks. This Skill enforces --repo usage or URL-based targeting on top of that authentication to ensure deterministic results across repositories.

How do I list open pull requests and display their associated check statuses?

List open pull requests and display their statuses by asking the system to query a specific owner/repo. The Skill uses the gh CLI to retrieve PRs and their associated checks, ensuring consistent formatting.

Why does my GitHub automation fail when targeting a repository outside my current git directory?

GitHub automation fails outside a git directory if you do not specify a scope. You must use the --repo flag or URL-based targeting to enforce deterministic results when operating across multiple repositories.