For the original Claude plugin implementation, see:
plugins/gh-cli/README.md
plugins/gh-cli/hooks/
1---2name: gh-cli3description: gh-cli4---56# gh-cli78## When to Use910- Working with GitHub repositories, pull requests, issues, releases, or raw file URLs.11- You need authenticated access to private repositories or higher API rate limits.12- You are about to use `curl`, `wget`, or unauthenticated web fetches against GitHub.1314## When NOT to Use1516- The target is not GitHub.17- Plain local git operations already solve the task.1819## Guidance2021Prefer the authenticated `gh` CLI over raw HTTP fetches for GitHub content. In particular:2223- Prefer `gh repo view`, `gh pr view`, `gh pr list`, `gh issue view`, and `gh api` over unauthenticated `curl` or `wget`.24- Prefer cloning a repository and reading files locally over fetching `raw.githubusercontent.com` blobs directly.25- Avoid using GitHub API `/contents/` endpoints as a substitute for cloning and reading repository files.2627Examples:2829```sh30gh repo view owner/repo31gh pr view 123 --repo owner/repo32gh api repos/owner/repo/pulls33```3435For the original Claude plugin implementation, see:36- `plugins/gh-cli/README.md`37- `plugins/gh-cli/hooks/`
Run npx skillmds@latest add dojogenesis/gh-cli 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. 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.
DojoGenesis (@dojogenesis) published this skill. Their other Agent Skills are listed on their SkillMD profile.