Stats
Actions
Tags
From cortex
Runs Python-based hooks for MCP server lifecycle management: session start/end, post-tool capture, context preemption, pipeline impact tracking, commit reindexing, compaction checkpointing, agent briefing, and auto-recall on user prompts.
6 events · 9 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined inline in plugin.json manifest
Event handlers and matchers — expand Raw Configuration for the full JSON
bash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.session_lifecycle'30msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.post_tool_capture'10msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.preemptive_context'5msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.pipeline_impact_bump'5msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.post_commit_reindex'10mscompactedbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.compaction_checkpoint'10msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.session_start'30msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.agent_briefing'5msbash -c 'PY=$(command -v python3 || command -v python) && ROOT="${CLAUDE_PLUGIN_ROOT:-$PWD}" && "$PY" "$ROOT/scripts/launcher.py" mcp_server.hooks.auto_recall'5msnpx claudepluginhub cdeust/cortex --plugin cortex