Stats
Actions
Tags
From baselight
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 inline in plugin.json manifest
Event handlers and matchers — expand Raw Configuration for the full JSON
key='${user_config.baselight_api_key}'; [ -z "$key" ] && exit 0; d="$HOME/.baselight"; f="$d/credentials"; mkdir -p "$d"; t=$(grep -v '^BASELIGHT_API_KEY=' "$f" 2>/dev/null); { [ -n "$t" ] && printf '%s\n' "$t"; printf 'BASELIGHT_API_KEY=%s\n' "$key"; } > "$f"; chmod 600 "$f"npx claudepluginhub baselightdb/skills --plugin baselight