Stats
Actions
Tags
From litestar
Runs a shell script on session start to initialize the plugin environment. Executes bash commands.
1 event · 1 hook
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
startup|clear|compactr="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}"; if [ -n "$r" ] && [ ! -f "${r%/}/hooks/session-start.sh" ]; then r=""; fi; if [ -z "$r" ] && [ -d "$HOME/.claude/plugins/marketplaces" ]; then r="$(find -L "$HOME/.claude/plugins/marketplaces" -path "*/litestar/hooks/session-start.sh" -type f -print 2>/dev/null | sed 's#/hooks/session-start.sh$##' | head -n 1)"; fi; if [ -z "$r" ] && [ -f ./hooks/session-start.sh ]; then r="."; fi; [ -n "$r" ] || exit 0; CLAUDE_PLUGIN_ROOT="${r%/}" bash "${r%/}/hooks/session-start.sh"npx claudepluginhub litestar-org/litestar-skills --plugin litestar