From gh-cli
Before a tool call (WebFetch|mcp__.*([Ff]etch|[Ss]crape|[Cc]…): runs bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/intercept-github-fetch.sh". Before a tool call (Bash): runs bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/intercept-github-curl.sh". And 3 more.
3 events · 5 hooks
Ships in gh-cli. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
WebFetch|mcp__.*([Ff]etch|[Ss]crape|[Cc]rawl|[Ee]xtract)bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/intercept-github-fetch.sh"Bashbash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/intercept-github-curl.sh"bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/cleanup-clones.sh"bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/persist-session-id.sh"bash "${CLAUDE_PLUGIN_ROOT:-.}/hooks/setup-shims.sh"Where this hook configuration is defined
Defined in hooks/hooks.json
24 plugins ship this exact hooks config · first indexed Jan 29, 2026
Showing 6 of 24 plugins, one per repository first
npx claudepluginhub trailofbits/skills --plugin gh-cliOther plugins' hooks for the same job