Engineering
github avatar

github

Manage GitHub workflows, issues, and pull requests directly from your terminal using the gh CLI within OpenClaw.

Introduction

The GitHub skill provides a powerful interface for interacting with GitHub repositories through the official gh CLI. Designed for developers and automated agents, this skill streamlines software development lifecycles by enabling seamless management of collaborative tasks, CI/CD pipelines, and repository metadata without leaving the OpenClaw environment. It is an essential tool for maintaining high-velocity development workflows and ensuring consistent visibility into project health.

  • Perform comprehensive PR operations: list, view details, create, merge, and evaluate merge readiness.

  • Manage issue tracking: list open issues, triage new bugs, and close resolved tickets efficiently.

  • Monitor CI/CD pipelines: list workflow runs, inspect granular logs to diagnose failed steps, and trigger re-runs for failed jobs.

  • Execute custom API queries: leverage GitHub API endpoints with JQ filtering to extract specific repository data, labels, or contribution stats.

  • Utilize structured JSON output: transform raw GitHub API responses into actionable insights using advanced command-line filtering and templating.

  • Ensure the gh CLI is authenticated via 'gh auth login' before execution.

  • Always specify the repository target using the --repo owner/repo flag to prevent context errors in non-git directories.

  • Use this skill for administrative repository tasks, but rely on standard git commands for local version control operations like commits or pushes.

  • This skill is not intended for deep code analysis or multi-file diffing; please utilize the dedicated coding-agent for those tasks.

  • Be mindful of GitHub API rate limits; use the caching mechanisms provided by the gh CLI for high-frequency data retrieval tasks.

Repository Stats

Stars
366,106
Forks
75,067
Open Issues
6,962
Language
TypeScript
Default Branch
main
Sync Status
Idle
Last Synced
Apr 29, 2026, 09:15 AM
View on GitHub