Event Hooks in OpenClaw
From the OpenClaw cheat sheet · Hooks & Standing Orders · verified Nov 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 eligibility
openclaw hooks check
# Hook info
openclaw hooks info session-memory💡 session-memory saves recent conversation text to memory/ on /new and /reset, so the agent remembers across sessions
⚡ boot-md runs BOOT.md when the Gateway starts; use it for a startup checklist
📌 Hooks are event-driven (fire on triggers), cron is time-driven (fire on schedule)
🟢 command-logger only records the /new, /reset and /stop events; it is not an audit of everything the agent does
hooksautomationevents
Continue with OpenClaw
Save the full cheat sheet or work through every related task.