Current Nexus hooks (in settings.local.json):
"hooks": {
"SessionStart": [{
"matcher": "startup|resume|compact",
"hooks": [{
"type": "command",
"command": "python3 /opt/mcp-servers/shared/hooks/session_start_hook.py",
"timeout": 10
}]
}],
"Stop": [{
"hooks": [{
"type": "command",
"command": "python3 /opt/mcp-servers/shared/hooks/stop_hook.py",
"timeout": 5
}]
}]
}
Hook script location: /opt/mcp-servers/shared/hooks/
Key insight: Hooks output context to Claude but don't force actions. The AI must read and act on the context. The session_start_hook.py outputs a reminder to call workflow.init.