Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Enforces authenticated gh CLI workflows over unauthenticated curl/WebFetch patterns. Use when working with GitHub URLs, API access, pull requests, or issues.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -52% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-21 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-24 | ✗→✓ | ▲ Improved | -43% | 0% |
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:
shgh 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/Other measured skills in the registry, with their headline benchmark lift.