From ocaml-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 ocaml-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 ocamllsp >/dev/null 2>&1 || ! command -v opam >/dev/null 2>&1 || opam exec -- ocamllsp --version >/dev/null 2>&1 || opam install -y ocaml-lsp-server || true ;; esac600sWhere this hook configuration is defined
Defined inline in plugin.json or the marketplace entry
npx claudepluginhub pleaseai/code-intelligence --plugin ocaml-lspOther plugins' hooks for the same job
4.4K plugins in 3.8K repositories ship this exact hooks config · first indexed Nov 28, 2025