Stats
Actions
Tags
From socrates
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
mkdir -p "$HOME/.local/bin" && chmod +x "${CLAUDE_PLUGIN_ROOT}/bin/socrates" "${CLAUDE_PLUGIN_ROOT}/skills/name/socreg.sh" && case "$(uname -s)" in MINGW*|MSYS*|CYGWIN*) for n in socrates soc; do printf '#!/bin/bash\nexec "%s/bin/socrates" "$@"\n' "${CLAUDE_PLUGIN_ROOT}" > "$HOME/.local/bin/$n"; chmod +x "$HOME/.local/bin/$n"; done ;; *) ln -sfn "${CLAUDE_PLUGIN_ROOT}/bin/socrates" "$HOME/.local/bin/socrates"; ln -sfn "${CLAUDE_PLUGIN_ROOT}/bin/socrates" "$HOME/.local/bin/soc" ;; esacnpx claudepluginhub beret21/socrates --plugin socrates