From gopls-lsp
When a session starts: runs case "${CLAUDE_PLUGIN_OPTION_AUTO_INSTALL:-true}" in [fF][aA][lL][sS][eE]|0|[nN]….
1 event · 1 hook
Ships in gopls-lsp. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
case "${CLAUDE_PLUGIN_OPTION_AUTO_INSTALL:-true}" in [fF][aA][lL][sS][eE]|0|[nN][oO]|[oO][fF][fF]) ;; *) command -v gopls >/dev/null 2>&1 || { [ -n "${CLAUDE_PLUGIN_DATA:-}" ] && [ -x "${CLAUDE_PLUGIN_DATA}/bin/gopls" ]; } || ! command -v go >/dev/null 2>&1 || [ -z "${CLAUDE_PLUGIN_DATA:-}" ] || GOBIN="${CLAUDE_PLUGIN_DATA}/bin" go install golang.org/x/tools/gopls@latest || true ;; esac300sWhere this hook configuration is defined
Defined inline in plugin.json or the marketplace entry
npx claudepluginhub pleaseai/code-intelligence --plugin gopls-lspOther plugins' hooks for the same job
4.4K plugins in 3.8K repositories ship this exact hooks config · first indexed Nov 28, 2025