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
Back to the full OpenClaw cheat sheet