Event Hooks in OpenClaw
From the OpenClaw cheat sheet ยท Hooks & Standing Orders ยท verified Jul 2026
Event Hooks
Scripts that run in response to gateway and agent events.
bash
# List available hooks
openclaw hooks list
# Enable a bundled hook
openclaw hooks enable session-memory
openclaw hooks enable command-logger
# Disable a hook
openclaw hooks disable command-logger
# Check hook status
openclaw hooks check
# Hook info
openclaw hooks info session-memory๐ก session-memory auto-saves context when you /new โ your agent remembers across sessions
โก boot-md runs BOOT.md at gateway startup โ use it for daily briefings or system checks
๐ Hooks are event-driven (fire on triggers), cron is time-driven (fire on schedule)
๐ข Use command-logger to audit everything the agent does โ useful for debugging
hooksautomationevents