Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By plindev1.0.1MITIn 1 marketplace
Lets Claude read GitHub PRs and issues through the gh CLI, since WebFetch fails on private repos. A hook blocks WebFetch on GitHub URLs and redirects raw gh api calls to gh subcommands. Needs the gh CLI installed and authenticated.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
github-cli, webfetch, gh-api, private-repos, pull-requests, pretooluse-hook, hooks, gh-cli
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that prevents WebFetch attempts on GitHub URLs and guides gh api usage toward proper CLI subcommands.
When Claude Code interacts with GitHub:
gh api bypasses better tools - Using gh api repos/owner/repo/pulls/123 when gh pr view 123 exists wastes the rich subcommand featuresThis plugin intercepts both:
gh CLI alternativesgh api repos/... calls → suggests proper gh subcommands (pr, issue, release, etc.)gh api repos/... to proper gh pr, gh issue, etc.Add the marketplace to Claude Code:
/plugin marketplace add plinde/claude-plugins
Install the plugin:
/plugin install github-webfetch-blocker@plinde-plugins
The plugin is automatically enabled. Verify with:
/plugin list
For local development or testing:
Clone the marketplace repository:
git clone https://github.com/plinde/claude-plugins.git
Add as a local marketplace:
cd claude-plugins
/plugin marketplace add .
Install the plugin:
/plugin install github-webfetch-blocker@plinde-plugins
Once installed and enabled, the plugin automatically intercepts:
gh api repos/... calls that have better subcommand alternativesBefore (fails with 404):
⏺ Fetch(https://github.com/mycompany/myrepo/pull/123/)
⎿ Error: Request failed with status code 404
After (blocked with smart suggestions):
⏺ Fetch(https://github.com/mycompany/myrepo/pull/123/)
⎿ ❌ BLOCKED: WebFetch on GitHub URLs
GitHub URLs require authentication and will return 404 errors for private repositories.
✅ Use gh CLI instead with authenticated access:
Suggested commands for this PR:
gh pr view 123 --repo mycompany/myrepo --json title,body,state,author
gh pr diff 123 --repo mycompany/myrepo
gh pr view 123 --repo mycompany/myrepo --comments
Before (works but misses better tooling):
⏺ Bash(gh api repos/mycompany/myrepo/pulls/123)
After (guided to proper subcommand):
⏺ Bash(gh api repos/mycompany/myrepo/pulls/123)
⎿ ⚠️ GUIDANCE: Prefer gh CLI subcommands over gh api
Detected: gh api repos/mycompany/myrepo/pulls/123
✅ Use gh pr subcommand instead:
# View PR details
gh pr view 123 --repo mycompany/myrepo
# Get structured JSON output
gh pr view 123 --repo mycompany/myrepo --json title,body,state,author,comments
# View PR diff
gh pr diff 123 --repo mycompany/myrepo
Why prefer subcommands?
• Better error handling and user-friendly output
• Automatic pagination where applicable
• Structured --json output with --jq filtering
| gh api endpoint | Suggested subcommand |
|---|---|
repos/O/R/pulls/N | gh pr view N --repo O/R |
repos/O/R/pulls | gh pr list --repo O/R |
repos/O/R/issues/N | gh issue view N --repo O/R |
repos/O/R/issues | gh issue list --repo O/R |
repos/O/R/releases | gh release list --repo O/R |
repos/O/R/releases/latest | gh release view --repo O/R |
repos/O/R/contents/... | Clone repo + Read tool |
repos/O/R/actions/runs | gh run list --repo O/R |
repos/O/R/actions/workflows | gh workflow list --repo O/R |
repos/O/R | gh repo view O/R |
The plugin registers two PreToolUse hooks:
github.comgh CLI commands tailored to that URLBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub plinde/claude-plugins --plugin github-webfetch-blockerPlugins from other owners that cover similar ground