npx claudepluginhub pleaseai/code-intelligence --plugin eslint-lspDefined inline in plugin.json manifest
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "diff -q \"${CLAUDE_PLUGIN_ROOT}/package.json\" \"${CLAUDE_PLUGIN_DATA}/package.json\" >/dev/null 2>&1 || (cd \"${CLAUDE_PLUGIN_DATA}\" && cp \"${CLAUDE_PLUGIN_ROOT}/package.json\" . && npm install --loglevel=error) || rm -f \"${CLAUDE_PLUGIN_DATA}/package.json\""
}
]
}
]
}"Executes bash script $CLAUDE_PLUGIN_ROOT/hooks/op-resolver-startup.sh on SessionStart for all sessions. Runs external bash commands with 30s timeout; no file writes."