Gh Cli
Plugin ActivePart of:Trailofbits
Intercepts GitHub URL fetches and curl/wget commands, redirecting to the authenticated gh CLI.
Purpose
Enhance Claude Code's ability to interact with GitHub by ensuring authenticated fetches and avoiding common pitfalls.
Features
- Intercepts GitHub URL fetches
- Redirects curl/wget to gh CLI
- Ensures authenticated GitHub access
- Manages session-scoped temporary files
- Blocks gh CLI anti-patterns
Use Cases
- Accessing private GitHub repositories from Claude Code
- Improving rate limits for GitHub API interactions
- Ensuring all GitHub fetches use authenticated credentials
- Automating cleanup of cloned GitHub repositories
Non-Goals
- Replacing the gh CLI entirely
- Handling non-GitHub URLs or non-authenticated git commands
- Providing direct file access to cloned repositories without further agent interaction
Trust
- warning:Issues AttentionIn the last 90 days, 13 issues were opened and 4 were closed, indicating a closure rate below 50% and potentially slow maintainer response.
Installation
First, add the marketplace
/plugin marketplace add trailofbits/skills/plugin install gh-cli@trailofbitsQuality Score
95 /100
Analyzed about 18 hours ago
Trust Signals
Last commit3 days ago
GitHub owner trailofbits (opens in new tab)
Stars5.2k
LicenseCC-BY-SA-4.0
Status
Similar Extensions
Msapps Github Health Check
99GitHub CLI health check — verify gh authentication, list repos, check API rate limits, and test connectivity
Plugin
davepoon
Worktrunk
99Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows. This plugin provides configuration guidance (LLM commit messages, project hooks, worktree paths) and automatic activity tracking (🤖/💬 indicators in `wt list` showing active Claude sessions).
Plugin
max-sixty