gh-cli plugin
Intercepts GitHub URL fetches (WebFetch and MCP fetch tools) and curl/wget commands, redirecting to the authenticated gh CLI.
How to install the gh-cli plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add trailofbits/skills
/plugin install gh-cli@trailofbitsWhat's inside gh-cli
2 parts read from the plugin's own files.
Skills 1
Claude loads it when the task matches- gh-cli
Enforces authenticated GitHub CLI workflows for managing repositories, pull requests, issues, and API access.
Hooks 1
Runs on these events- hooks
No description in the file.
Using gh-cli in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update gh-cli@trailofbits
- Refresh the marketplace
- /plugin marketplace update trailofbits
- Turn it off for now
- /plugin disable gh-cli@trailofbits
- Remove it
- /plugin uninstall gh-cli@trailofbits
Skills in gh-cli
- gh-clitrailofbits/skills
Enforces authenticated GitHub CLI workflows for managing repositories, pull requests, issues, and API access.
3 files8.1Kstars
gh-cli plugin questions
How do I install the gh-cli plugin?
In Claude Code run /plugin marketplace add trailofbits/skills, then /plugin install gh-cli@trailofbits.
What does the gh-cli plugin include?
gh-cli bundles 1 skill, hooks.
How do I update or remove the gh-cli plugin?
Update it with claude plugin update gh-cli@trailofbits in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall gh-cli@trailofbits.