
Using Gh Cli
This teaches Claude to use the GitHub CLI instead of falling back to curl or wget when interacting with GitHub. The key win is automatic authentication, so you're not hitting rate limits or dealing with token management when viewing PRs, issues, releases, or API data. Trail of Bits put this together to stop agents from making unnecessary unauthenticated requests to public repos. One caveat: it explicitly tells you not to use this for GitHub Pages sites, since those are just regular web content. If you're doing any repo browsing or GitHub API work, this will save you from a lot of 403s and make your workflows cleaner.
- skills.sh installs
- 212
- GitHub stars
- 8.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add trailofbits/skills --skill using-gh-cli --agent claude-codeInstalls into .claude/skills of the current project.
Files
This teaches Claude to use the GitHub CLI instead of falling back to curl or wget when interacting with GitHub. The key win is automatic authentication, so you're not hitting rate limits or dealing with token management when viewing PRs, issues, releases, or API data. Trail of Bits put this together to stop agents from making unnecessary unauthenticated requests to public repos. One caveat: it explicitly tells you not to use this for GitHub Pages sites, since those are just regular web content. If you're doing any repo browsing or GitHub API work, this will save you from a lot of 403s and make your workflows cleaner.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/trailofbits/skills
- Categories
- Backend & APIs, Git & Pull Requests, CLI & Terminal
- First seen
- Jun 3, 2026
More from trailofbits/skills
All 82- Semgrep10.3K
- Differential Review10K
- Modern Python9.3K
- Supply Chain Risk Auditor9K
- Codeql8.8K
- Secure Workflow Guide7.8K
- Property Based Testing7.7K
- Sharp Edges7.6K
- Fp Check7.5K
- Code Maturity Assessor7.5K
- Audit Context Building7.4K
- Agentic Actions Auditor7.1K
- Gh Cli7.1K
- Variant Analysis7K
- Ask Questions If Underspecified6.8K
- Insecure Defaults6.5K
- Sarif Parsing6.4K
- Spec To Code Compliance6.3K
- Semgrep Rule Creator6.2K
- Entry Point Analyzer6.2K
- Audit Prep Assistant6.1K
- Solana Vulnerability Scanner6K
- Token Integration Analyzer5.8K
- Firebase Apk Scanner5.8K