trailofbits/gh-cli
Enforces authenticated gh CLI workflows over unauthenticated curl/WebFetch patterns. Use when working with GitHub URLs, API access, pull requests, or issues.
npx skills add https://github.com/trailofbits/skills --skill gh-cli
curl, wget, or unauthenticated web fetches against GitHub.Prefer the authenticated gh CLI over raw HTTP fetches for GitHub content. In particular:
gh repo view, gh pr view, gh pr list, gh issue view, and gh api over unauthenticated curl or wget.raw.githubusercontent.com blobs directly./contents/ endpoints as a substitute for cloning and reading repository files.Examples:
gh repo view owner/repo
gh pr view 123 --repo owner/repo
gh api repos/owner/repo/pulls
For the hook implementation, see:
plugins/gh-cli/README.mdplugins/gh-cli/hooks/Take trailofbits/gh-cli from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.