From hypermnesia-mcp
On Setup: runs bash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUG…. And 10 more.
8 events · 12 hooks
Ships in hypermnesia-mcp. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
bash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" --setup'1800sEdit|Writebash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.decision_gate'bash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.no_deps_gate'bash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.session_lifecycle'30s*bash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.post_tool_capture'10sEdit|Write|Readbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.preemptive_context'5sEdit|Write|MultiEditbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.pipeline_impact_bump'5sBashbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.post_commit_reindex'10scompactedbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.compaction_checkpoint'10sbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.session_start'30sbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.agent_briefing'5sbash -c 'PY=$(command -v python3 || command -v python) && if [ -z "${CLAUDE_PLUGIN_ROOT:-}" ]; then echo "cortex hook: CLAUDE_PLUGIN_ROOT is unset; refusing to guess the plugin root" >&2; exit 1; fi; ROOT="$CLAUDE_PLUGIN_ROOT" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.auto_recall'5sWhere this hook configuration is defined
Defined inline in plugin.json or the marketplace entry
npx claudepluginhub cdeust/cortex --plugin hypermnesia-mcpOther plugins' hooks for the same job