ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Community Verified developer tools Safety 4/5

github

GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/openclaw/skills/github
Or

What This Skill Does

The GitHub skill enables your OpenClaw AI agent to interface directly with GitHub repositories using the powerful gh CLI. By acting as a bridge between the agent and the GitHub platform, this skill allows for seamless automation of common developer workflows. Instead of manually navigating web interfaces to check on pull requests or monitor CI pipelines, the agent can execute commands to list issues, retrieve logs, query specific API endpoints, and manage PR lifecycles. It is designed for high-efficiency technical operations, allowing the agent to handle repetitive tasks such as triaging issues, checking build failures, and merging pull requests with structured precision.

Installation

To integrate this skill, use the following installation command in your terminal or within the OpenClaw management console: clawhub install openclaw/openclaw/skills/github

After installation, you must ensure your environment is authenticated. Run gh auth login to link your GitHub account to the CLI. You can verify the connection at any time by running gh auth status.

Use Cases

This skill is highly effective for developers and DevOps engineers who want to automate their software delivery pipeline. Key use cases include:

  • PR Management: Quickly listing pending reviews, checking merge status, and merging approved PRs.
  • Continuous Integration Monitoring: Automatically identifying failed CI runs, fetching logs for specific steps, and re-running failed jobs without needing to open a browser.
  • Issue Triage: Batch listing open issues, filtering by criteria, and updating issue statuses.
  • API Data Retrieval: Extracting specific repository statistics, metadata, or contributor lists using JSON-formatted output and jq filtering.

Example Prompts

  1. "Check the current status of PR #55 in the openclaw/openclaw repo and tell me if the CI checks have passed."
  2. "List all open bugs in the repository that have the 'help-wanted' label and summarize them for me."
  3. "Find the latest failed workflow run in the repository and provide a summary of the error logs from the failed step."

Tips & Limitations

  • Efficiency: Always use the --json and --jq flags when querying large amounts of data to keep the context window clean.
  • Local vs. Remote: Remember that this skill interacts with the remote GitHub platform. It does not replace git for local operations like staging files or committing changes.
  • Scope: This skill is strictly for GitHub. It will not work for GitLab, Bitbucket, or self-hosted Git services that do not support the GitHub API protocols.
  • Security: Ensure that your gh CLI is configured with the appropriate OAuth scopes to perform only the actions required by your agent workflows.

Metadata

Author@openclaw
Stars352183
Views12
Updated2026-04-08
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-openclaw-github": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#github#automation#devops#coding#cli
Safety Score: 4/5

Flags: external-api, code-execution