For the original Claude plugin implementation, see:
plugins/gh-cli/README.md
plugins/gh-cli/hooks/
1---2name: gh-cli-23description: gh-cli4---5# gh-cli67## When to Use89- Working with GitHub repositories, pull requests, issues, releases, or raw file URLs.10- You need authenticated access to private repositories or higher API rate limits.11- You are about to use `curl`, `wget`, or unauthenticated web fetches against GitHub.1213## When NOT to Use1415- The target is not GitHub.16- Plain local git operations already solve the task.1718## Guidance1920Prefer the authenticated `gh` CLI over raw HTTP fetches for GitHub content. In particular:2122- Prefer `gh repo view`, `gh pr view`, `gh pr list`, `gh issue view`, and `gh api` over unauthenticated `curl` or `wget`.23- Prefer cloning a repository and reading files locally over fetching `raw.githubusercontent.com` blobs directly.24- Avoid using GitHub API `/contents/` endpoints as a substitute for cloning and reading repository files.2526Examples:2728```sh29gh repo view owner/repo30gh pr view 123 --repo owner/repo31gh api repos/owner/repo/pulls32```3334For the original Claude plugin implementation, see:35- `plugins/gh-cli/README.md`36- `plugins/gh-cli/hooks/`
Run npx skillmds@latest add comeonoliver/gh-cli-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
gh-cli It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.