# Gh

> GitHub CLI for pull requests, issues, releases, workflows, and repository operations. Use for creating PRs, managing issues, viewing repository information, and accessing GitHub URLs. Use when this capability is needed.

- Skill: `tomevault-io/gh-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/gh-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/gh-5/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/gh-5

---


# gh - GitHub CLI

gh is the official GitHub command-line interface for interacting with GitHub repositories, issues, pull requests, and more.

## Triggers

pull request, PR, issue, GitHub API, release, workflow, repository info, GitHub operations, GitHub URL

## When to Use

Creating PRs, managing issues, viewing repository information, releases, accessing GitHub URLs

## Examples

<examples>
  <example>
    <user>Create a PR for this repository</user>
    <agent>I'll create a PR using gh command: `gh pr create --title "feat: add new feature" --body "Description of changes"`</agent>
  </example>
  <example>
    <user>Show me recent issues</user>
    <agent>I'll list issues with gh: `gh issue list --limit 10 --state all`</agent>
  </example>
  <example>
    <user>Check the review comments on this PR</user>
    <agent>I'll view PR comments with gh: `gh pr view --comments`</agent>
  </example>
  <example>
    <user>Read the discussion in https://github.com/owner/repo/issues/12345</user>
    <agent>I'll fetch the issue with gh: `gh issue view 12345 --repo owner/repo --comments`</agent>
  </example>
  <example>
    <user>Can you check what's in this PR? https://github.com/owner/repo/pull/42</user>
    <agent>I'll view the PR details with gh: `gh pr view 42 --repo owner/repo`</agent>
  </example>
  <example>
    <user>Check the workflows in this repository</user>
    <agent>I'll list workflows with gh: `gh workflow list`</agent>
  </example>
</examples>

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/natsukium) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

