/plugin marketplace add leaf76/session-collab-mcp/plugin install leaf76-session-collab-plugin@leaf76/session-collab-mcpDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"systemMessage\": \"Save important findings: collab_memory_save (pinned=true). Then collab_session_end.\"}'"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"systemMessage\": \"Context compaction. Save critical info: collab_memory_save (pinned=true).\"}'"
}
],
"matcher": "auto|manual"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"systemMessage\": \"Context MCP ready. Use collab_session_start then collab_memory_active to restore context.\"}'"
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 3
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 3
}
}