{ "title": "Disable a hook", "content": "openclaw hooks disable command-logger\nmarkdown theme={null}", "code_samples": [ { "code": "## Bundled Hooks\n\n### session-memory\n\nSaves session context to memory when you issue `/new`.\n\n**Events**: `command:new`\n\n**Requirements**: `workspace.dir` must be configured\n\n**Output**: `/memory/YYYY-MM-DD-slug.md` (defaults to `~/.openclaw/workspace`)\n\n**What it does**:\n\n1. Uses the pre-reset session entry to locate the correct transcript\n2. Extracts the last 15 lines of conversation\n3. Uses LLM to generate a descriptive filename slug\n4. Saves session metadata to a dated memory file\n\n**Example output**:", "language": "unknown" } ], "headings": [ { "level": "h2", "text": "Bundled Hooks", "id": "bundled-hooks" }, { "level": "h3", "text": "session-memory", "id": "session-memory" } ], "url": "llms-txt#disable-a-hook", "links": [] }