forked from Selig/openclaw-skill
6 custom skills (assign-task, dispatch-webhook, daily-briefing, task-capture, qmd-brain, tts-voice) with technical documentation. Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
1.4 KiB
1.4 KiB
hooks
openclaw hooks
Manage event-driven automations for gateway commands and startup events.
Core Commands
Listing and Information:
openclaw hooks listdisplays all discovered hooks with readiness statusopenclaw hooks info <name>provides detailed information about specific hooksopenclaw hooks checkshows overall eligibility summary
Management:
openclaw hooks enable <name>activates a hook in your configopenclaw hooks disable <name>deactivates a hookopenclaw hooks install <path-or-spec>adds new hook packs from local directories, archives, or npmopenclaw hooks update <id>refreshes installed npm-based hook packs
Available Bundled Hooks
The system includes four pre-built hooks:
-
session-memory - Saves session context when
/newcommand executes, storing output to~/.openclaw/workspace/memory/ -
command-logger - Records all command events to a centralized audit file at
~/.openclaw/logs/commands.log -
soul-evil - Swaps
SOUL.mdcontent withSOUL_EVIL.mdduring specified windows or randomly -
boot-md - Executes
BOOT.mdupon gateway startup (triggered bygateway:startupevent)
Important Notes
After enabling or disabling hooks, restart your gateway for changes to take effect. Plugin-managed hooks cannot be toggled directly through these commands - manage the parent plugin instead.