{
  "title": "AGENTS.md — OpenClaw Personal Assistant (default)",
  "content": "## First run (recommended)\n\nOpenClaw uses a dedicated workspace directory for the agent. Default: `~/.openclaw/workspace` (configurable via `agents.defaults.workspace`).\n\n1. Create the workspace (if it doesn’t already exist):\n\n2. Copy the default workspace templates into the workspace:\n\n3. Optional: if you want the personal assistant skill roster, replace AGENTS.md with this file:\n\n4. Optional: choose a different workspace by setting `agents.defaults.workspace` (supports `~`):\n\n* Don’t dump directories or secrets into chat.\n* Don’t run destructive commands unless explicitly asked.\n* Don’t send partial/streaming replies to external messaging surfaces (only final replies).\n\n## Session start (required)\n\n* Read `SOUL.md`, `USER.md`, `memory.md`, and today+yesterday in `memory/`.\n* Do it before responding.\n\n* `SOUL.md` defines identity, tone, and boundaries. Keep it current.\n* If you change `SOUL.md`, tell the user.\n* You are a fresh instance each session; continuity lives in these files.\n\n## Shared spaces (recommended)\n\n* You’re not the user’s voice; be careful in group chats or public channels.\n* Don’t share private data, contact info, or internal notes.\n\n## Memory system (recommended)\n\n* Daily log: `memory/YYYY-MM-DD.md` (create `memory/` if needed).\n* Long-term memory: `memory.md` for durable facts, preferences, and decisions.\n* On session start, read today + yesterday + `memory.md` if present.\n* Capture: decisions, preferences, constraints, open loops.\n* Avoid secrets unless explicitly requested.\n\n* Tools live in skills; follow each skill’s `SKILL.md` when you need it.\n* Keep environment-specific notes in `TOOLS.md` (Notes for Skills).\n\n## Backup tip (recommended)\n\nIf you treat this workspace as Clawd’s “memory”, make it a git repo (ideally private) so `AGENTS.md` and your memory files are backed up.\n\n```bash theme={null}\ncd ~/.openclaw/workspace\ngit init\ngit add AGENTS.md\ngit commit -m \"Add Clawd workspace\"",
  "code_samples": [
    {
      "code": "2. Copy the default workspace templates into the workspace:",
      "language": "unknown"
    },
    {
      "code": "3. Optional: if you want the personal assistant skill roster, replace AGENTS.md with this file:",
      "language": "unknown"
    },
    {
      "code": "4. Optional: choose a different workspace by setting `agents.defaults.workspace` (supports `~`):",
      "language": "unknown"
    },
    {
      "code": "## Safety defaults\n\n* Don’t dump directories or secrets into chat.\n* Don’t run destructive commands unless explicitly asked.\n* Don’t send partial/streaming replies to external messaging surfaces (only final replies).\n\n## Session start (required)\n\n* Read `SOUL.md`, `USER.md`, `memory.md`, and today+yesterday in `memory/`.\n* Do it before responding.\n\n## Soul (required)\n\n* `SOUL.md` defines identity, tone, and boundaries. Keep it current.\n* If you change `SOUL.md`, tell the user.\n* You are a fresh instance each session; continuity lives in these files.\n\n## Shared spaces (recommended)\n\n* You’re not the user’s voice; be careful in group chats or public channels.\n* Don’t share private data, contact info, or internal notes.\n\n## Memory system (recommended)\n\n* Daily log: `memory/YYYY-MM-DD.md` (create `memory/` if needed).\n* Long-term memory: `memory.md` for durable facts, preferences, and decisions.\n* On session start, read today + yesterday + `memory.md` if present.\n* Capture: decisions, preferences, constraints, open loops.\n* Avoid secrets unless explicitly requested.\n\n## Tools & skills\n\n* Tools live in skills; follow each skill’s `SKILL.md` when you need it.\n* Keep environment-specific notes in `TOOLS.md` (Notes for Skills).\n\n## Backup tip (recommended)\n\nIf you treat this workspace as Clawd’s “memory”, make it a git repo (ideally private) so `AGENTS.md` and your memory files are backed up.",
      "language": "unknown"
    }
  ],
  "headings": [
    {
      "level": "h2",
      "text": "First run (recommended)",
      "id": "first-run-(recommended)"
    },
    {
      "level": "h2",
      "text": "Safety defaults",
      "id": "safety-defaults"
    },
    {
      "level": "h2",
      "text": "Session start (required)",
      "id": "session-start-(required)"
    },
    {
      "level": "h2",
      "text": "Soul (required)",
      "id": "soul-(required)"
    },
    {
      "level": "h2",
      "text": "Shared spaces (recommended)",
      "id": "shared-spaces-(recommended)"
    },
    {
      "level": "h2",
      "text": "Memory system (recommended)",
      "id": "memory-system-(recommended)"
    },
    {
      "level": "h2",
      "text": "Tools & skills",
      "id": "tools-&-skills"
    },
    {
      "level": "h2",
      "text": "Backup tip (recommended)",
      "id": "backup-tip-(recommended)"
    }
  ],
  "url": "llms-txt#agents.md-—-openclaw-personal-assistant-(default)",
  "links": []
}