OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add trailofbits/skills --skill gh-cli
Enforces authenticated gh CLI workflows over unauthenticated curl, WebFetch, and MCP fetch patterns. Use when working with GitHub URLs, API access, pull requests, or issues.
npx skills add trailofbits/skills --skill gh-cli
curl, wget, WebFetch, or an MCP fetch tool 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:
For the hook implementation, see:
plugins/gh-cli/README.mdplugins/gh-cli/hooks/