gh-cli

Search GitHub repositories using gh CLI commands for issues, PRs, releases, and workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bugabinga/pi-ext --skill gh-cli-bugabinga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/bugabinga/pi-ext/tree/main/skills/gh-cli
Command: npx skills add https://github.com/bugabinga/pi-ext --skill gh-cli-bugabinga

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It helps you interact with GitHub—especially issues, pull requests, releases, comments, workflows, and code search—when Git operations alone can’t reach GitHub’s APIs or UI capabilities.

Core Features & Use Cases

  • GitHub API operations via gh CLI for issues, PRs, releases, comments, workflow inspection, and code search.
  • Python-enhanced helpers for advanced code search filtering/formatting, extracting error excerpts from failed GitHub Actions runs, and automating GitHub Pages workflows.
  • Troubleshooting & rate-limit guidance for common gh installation, authentication, and 403/rate-limit failure modes.

Quick Start

Use this skill to search for a pattern across repositories when you need results quickly and can’t access GitHub’s search UI directly.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I search for code patterns across GitHub repositories using the command line?

Search GitHub repositories for code patterns using the `gh` CLI code-search commands, allowing you to scan for specific signals across repos when you can't access the search UI directly.

Can I extract error logs from failed GitHub Actions workflows with gh CLI?

Yes, extract error excerpts from failed GitHub Actions runs using Python-enhanced helpers that run `gh` CLI workflow inspection commands to analyze CI failures.

What's the best way to triage GitHub issues and audit pull request status without the web interface?

Triage bugs and audit PR status by running `gh` CLI commands for issues and pull requests, which is ideal when pure git workflows are insufficient for GitHub operations.

Do I need Python installed to use gh CLI helpers for GitHub code search?

Yes, Python 3.8 or higher is required for the enhanced helpers that provide advanced code search filtering, formatting, and failure analysis alongside the authenticated `gh` CLI.

Why does my gh CLI search return a 403 error or rate limit failure?

GitHub CLI 403 errors and rate-limit failures often stem from authentication or installation issues, which can be resolved using the provided troubleshooting and rate-limit guidance.