{
  "title": "Link a local directory without copying",
  "content": "openclaw hooks install -l ./my-hook-pack\nbash theme={null}\nopenclaw hooks update <id>\nopenclaw hooks update --all\nbash theme={null}\nopenclaw hooks enable session-memory\nbash theme={null}\nopenclaw hooks enable command-logger\nbash theme={null}",
  "code_samples": [
    {
      "code": "## Update Hooks",
      "language": "unknown"
    },
    {
      "code": "Update installed hook packs (npm installs only).\n\n**Options:**\n\n* `--all`: Update all tracked hook packs\n* `--dry-run`: Show what would change without writing\n\n## Bundled Hooks\n\n### session-memory\n\nSaves session context to memory when you issue `/new`.\n\n**Enable:**",
      "language": "unknown"
    },
    {
      "code": "**Output:** `~/.openclaw/workspace/memory/YYYY-MM-DD-slug.md`\n\n**See:** [session-memory documentation](/hooks#session-memory)\n\n### command-logger\n\nLogs all command events to a centralized audit file.\n\n**Enable:**",
      "language": "unknown"
    },
    {
      "code": "**Output:** `~/.openclaw/logs/commands.log`\n\n**View logs:**",
      "language": "unknown"
    }
  ],
  "headings": [
    {
      "level": "h2",
      "text": "Update Hooks",
      "id": "update-hooks"
    },
    {
      "level": "h2",
      "text": "Bundled Hooks",
      "id": "bundled-hooks"
    },
    {
      "level": "h3",
      "text": "session-memory",
      "id": "session-memory"
    },
    {
      "level": "h3",
      "text": "command-logger",
      "id": "command-logger"
    }
  ],
  "url": "llms-txt#link-a-local-directory-without-copying",
  "links": []
}