gh-cli

Guide read-only GitHub CLI operations for exploring repositories, issues, and PRs.

69|3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/PaulRBerg/agent-skills --skill gh-cli-paulrberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/PaulRBerg/agent-skills/tree/main/skills/gh-cli
Command: npx skills add https://github.com/PaulRBerg/agent-skills --skill gh-cli-paulrberg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides expert guidance for performing GitHub CLI tasks safely, focusing on read-only exploration and reversible actions to prevent destructive changes.

Core Features & Use Cases

  • Read-only exploration of repositories, issues, PRs, and workflows using gh
  • Safe guidance for common tasks such as listing PRs, viewing issues, and checking workflow status
  • Use Case: quickly audit a repository's activity without making changes or triggering actions

Quick Start

Ask for a quick overview: "Show me open PRs in owner/repo" and follow prompts to view information or perform non-destructive checks.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I safely explore a GitHub repository from the command line?

GitHub CLI (gh) lets you browse repositories, issues, and pull requests without making changes. Use read-only commands like `gh repo view`, `gh issue list`, and `gh pr list` to audit activity across organizations and personal projects safely.

Can I check pull request status and view issues using GitHub CLI?

Yes. GitHub CLI provides commands to list open and closed PRs, filter by status, view issue details, check labels, and monitor workflow runs—all without triggering destructive actions or modifying repository state.

What's the best way to audit repository activity without making changes?

Use GitHub CLI's read-only operations to list PRs, view issues, check workflow status, and inspect labels. This approach lets you quickly assess repository health and track activity across multiple projects without risk of accidental modifications.

Does GitHub CLI work for exploring multiple repositories and organizations?

Yes. GitHub CLI supports exploration across personal projects and organizational repositories. You can list and filter resources by owner and repository, making it practical for auditing activity at scale while enforcing safety policies.

What operations should I avoid with GitHub CLI to prevent destructive changes?

Avoid commands that modify state: creating, deleting, or editing issues and PRs; merging branches; deleting repositories; and triggering workflows. Stick to read-only actions like listing, viewing, and checking status for safe exploration.

How do I get started with GitHub CLI for quick repository checks?

Install GitHub CLI, authenticate with your GitHub account, then use commands like `gh pr list owner/repo` or `gh issue list owner/repo` to view activity. Follow prompts to explore information or perform non-destructive checks on demand.