[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJZPE12MXW6NCWVTRT0AS3":3,"skill-same:01M6FJZPE12MXW6NCWVTRT0AS3":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FJZPE12MXW6NCWVTRT0AS3","openclaw-workspace",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwin4r\u002Fopenclaw-workspace\u002Fopenclaw-workspace\u002FSKILL.md",[],[18,19,20],"openclaw","workspace","openclaw workspace","2026-11-10 10:12:30",false,"# OpenClaw Workspace Skill\n\n## Overview\n\nOpenClaw workspace files form the agent's \"soul and memory\" — they are injected into the system prompt on every turn (or on relevant turns), giving the agent its identity, behavioral rules, environmental knowledge, and long-term memory. Managing these files well is critical: bloat wastes tokens, redundancy creates confusion, and stale content leads to bad decisions.\n\n**Token budget:** 20,000 chars per file, ~150,000 chars total across all bootstrap files.\n\n## File Inventory\n\n| File | Purpose | Loaded When | Sub-agents? |\n|------|---------|-------------|-------------|\n| `AGENTS.md` | Boot sequence, checklists, behavioral rules | Every turn (all agents) | Yes |\n| `SOUL.md` | Persona, tone, values, continuity philosophy | Every turn (all agents) | Yes |\n| `TOOLS.md` | Env-specific notes (SSH, TTS, cameras, devices) | On-demand reference (part of bootstrap set) | Yes |\n| `USER.md` | Human profile, preferences, relationship context | Every turn (all agents) | Yes |\n| `IDENTITY.md` | Name, emoji, avatar, self-description | Every turn | Yes |\n| `HEARTBEAT.md` | Periodic check tasks and health routines | Every heartbeat turn | Depends |\n| `BOOT.md` | Startup actions (requires `hooks.internal.enabled`) | On gateway startup | No |\n| `BOOTSTRAP.md` | First-time onboarding script — delete after use | New workspaces only | No |\n| `MEMORY.md` | Long-term curated facts and iron-law rules | Main sessions only | No |\n| `memory\u002FYYYY-MM-DD.md` | Daily session logs | Loaded per AGENTS.md boot sequence | No |\n| `checklists\u002F*.md` | Step-by-step ops guides | Referenced in AGENTS.md, loaded on demand | No |\n\n**Security rule:** MEMORY.md must NEVER be loaded in group chats or sub-agent sessions — it contains private context that should not leak.\n\nFor full details on each file's design, anti-patterns, and section structure, see [references\u002Fworkspace-files.md](references\u002Fworkspace-files.md).\n\n## Workspace Paths\n\n| Path | Purpose |\n|------|---------|\n| `~\u002F.openclaw\u002Fworkspace\u002F` | Default workspace for main agent |\n| `~\u002F.openclaw\u002Fworkspace-\u003Cprofile>\u002F` | Per-profile workspace (multiple agents) |\n| `~\u002F.openclaw\u002Fworkspace\u002Fvendor\u002FOpenClaw-Memory\u002F` | Vendor-managed base files (synced from upstream) |\n| `~\u002F.openclaw\u002Fworkspace\u002Fchecklists\u002F` | Checklist files referenced from AGENTS.md |\n| `~\u002F.openclaw\u002Fworkspace\u002Fmemory\u002F` | Daily session logs |\n| `~\u002F.openclaw\u002Fworkspace\u002Fdocs\u002F` | On-demand documentation (NOT auto-loaded) |\n\nConfig key: `agents.defaults.workspace` or per-agent `agents.list[].workspace`.\n\n## Workflow: Audit Existing Workspace\n\nUse when workspace files may be bloated, stale, or redundant.\n\n1. **Read all active files** — AGENTS.md, SOUL.md, TOOLS.md, USER.md, IDENTITY.md, HEARTBEAT.md, BOOT.md, MEMORY.md\n2. **Check character counts:**\n   ```bash\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FAGENTS.md\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FSOUL.md\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FTOOLS.md\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FUSER.md\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FIDENTITY.md\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002FMEMORY.md\n   # Or all at once:\n   wc -c ~\u002F.openclaw\u002Fworkspace\u002F*.md\n   ```\n3. **Flag files over 10,000 chars** — prime candidates for trimming or offloading to `docs\u002F`\n4. **Check for redundancy** — same fact in SOUL.md and AGENTS.md? Same tool note in TOOLS.md and MEMORY.md?\n5. **Check for staleness** — outdated SSH hosts, old tool names, deprecated rules, historical context that's no longer needed\n6. **Check MEMORY.md discipline** — should contain curated facts, lessons learned, decisions, and critical rules — not raw session summaries or task-specific notes\n7. **Propose targeted edits** — trim, move to docs\u002F, or restructure\n\nSee [references\u002Foptimization-guide.md](references\u002Foptimization-guide.md) for specific optimization strategies.\n\n## Workflow: Set Up New Workspace\n\nUse when creating a workspace for a new agent from scratch.\n\n**File creation order** (matters for boot sequence to work):\n\n1. `SOUL.md` — persona and values first; everything else follows from identity\n2. `AGENTS.md` — boot sequence, safety rules, checklist table\n3. `IDENTITY.md` — name, emoji, avatar\n4. `USER.md` — human profile and preferences (main agent only)\n5. `TOOLS.md` — environment-specific notes (add as you discover env details)\n6. `MEMORY.md` — start minimal; only truly universal iron laws\n7. `HEARTBEAT.md` — periodic health checks (optional, add when needed)\n8. `BOOT.md` — startup hooks (optional, only if `hooks.internal.enabled = true`)\n9. `BOOTSTRAP.md` — first-run onboarding (optional; delete after first successful startup)\n\n**Minimal viable workspace:** AGENTS.md + SOUL.md + TOOLS.md. Everything else is optional.\n\n**BOOTSTRAP.md note:** If creating a BOOTSTRAP.md, include a self-deletion instruction at the end:\n```\n## Final Step\nDelete this file: exec `rm ~\u002F.openclaw\u002Fworkspace\u002FBOOTSTRAP.md`\n```\n\n## Workflow: Memory Distillation\n\nUse periodically (weekly or monthly) to keep MEMORY.md lean.\n\n1. **Read all recent daily logs:** `memory\u002FYYYY-MM-DD.md` files from the past period\n2. **Identify candidates for promotion to MEMORY.md:**\n   - Rules violated more than once (recurring mistakes)\n   - Hard-won discoveries that aren't in skills docs\n   - Env-specific facts that should always be in context (not left to memory_search recall)\n3. **Check what's already in MEMORY.md** — avoid duplicates\n4. **Draft additions** — use iron-law format: concise, action-oriented, unambiguous\n5. **Archive old daily logs** — move files older than 30 days to `memory\u002Farchive\u002F` or delete\n6. **Check MEMORY.md total size** — keep under 10,000 chars; if larger, review for rules that are now stable enough to move to a skill's SKILL.md instead\n\n**Do NOT put in MEMORY.md:**\n- Long narratives or session summaries\n- Things already covered in skill docs\n- Anything specific to a single past task\n- Episodic or task-specific memories (store those via memory_search\u002FSQLite instead)\n\n## Workflow: Add or Update a Checklist\n\nUse when adding a new high-risk operation type or updating an existing checklist.\n\n1. **Create or edit** `checklists\u002F\u003Coperation-name>.md`\n2. **Structure:**\n   ```markdown\n   # Checklist: \u003COperation Name>\n\n   ## Pre-flight\n   - [ ] Step 1\n   - [ ] Step 2\n\n   ## Execution\n   - [ ] Step 3\n\n   ## Verification\n   - [ ] Confirm outcome\n   - [ ] Log result in memory\n   ```\n3. **Register in AGENTS.md** — add a row to the checklists table:\n   ```markdown\n   | \u003COperation description> | `checklists\u002F\u003Cfilename>.md` |\n   ```\n4. **Keep checklists short** — if a checklist exceeds ~50 lines, it's probably trying to be documentation; move narrative content to `docs\u002F` and keep only the actionable steps\n\n## Workflow: Update TOOLS.md\n\nUse when adding a new tool, device, or environment capability.\n\n**TOOLS.md = environment-specific cheat sheet.** It should contain:\n- SSH hosts and common commands for this specific machine\n- TTS provider, voice IDs, and any quirks\n- Camera IDs or device names for this setup\n- Node device IDs or names\n- Any local aliases or shortcuts that aren't obvious\n\n**Do NOT put in TOOLS.md:**\n- General skill documentation (use skill SKILL.md files)\n- Things that are the same across all environments\n- Installation instructions (use docs\u002F)\n\n**Format conventions:**\n```markdown\n# TOOLS.md - Local Notes\n\n## SSH\n- Main server: `ssh user@hostname`\n\n## TTS\n- Provider: Edge\n- Voice: zh-CN-XiaoxiaoNeural\n\n## Cameras\n- Living room: node-id `abc123`, device `camera-0`\n```\n\n## Common Issues\n\n### File exceeds token limit\n**Symptom:** File is over 20,000 chars; OpenClaw may truncate it.\n**Fix:** Audit for content that belongs in `docs\u002F` (loaded on demand) instead of the bootstrap file. Move detailed references, historical context, and long examples out. Keep only what needs to be on every turn.\n\n### MEMORY.md leaking to groups\n**Symptom:** Agent shares private context in group chats or Discord.\n**Fix:** Ensure MEMORY.md boot step in AGENTS.md is gated: \"Main session only: Read MEMORY.md\". Verify the agent's boot sequence explicitly checks session type before loading.\n\n### Boot sequence not loading files\n**Symptom:** Agent doesn't know about content in SOUL.md, USER.md, or MEMORY.md at session start.\n**Fix:** Check that AGENTS.md boot sequence explicitly names each file to read. The agent won't auto-load files — it follows the boot sequence instructions in AGENTS.md. Verify `hooks.internal.enabled = true` in config if using BOOT.md.\n\n### MEMORY.md growing too large\n**Symptom:** File approaches or exceeds 10,000 chars; reading it on every turn wastes significant context.\n**Fix:** Run memory distillation workflow. Move stable rules that have been incident-free for months into relevant skill SKILL.md files. Delete rules that are no longer relevant.\n\n### Workspace changes not taking effect\n**Symptom:** Agent still uses old content after editing a workspace file.\n**Fix:** Workspace files are read at session start per the boot sequence. Restart the gateway or start a new session for changes to take effect.\n\n## Reference Files\n\n| Reference | Coverage |\n|-----------|---------|\n| [workspace-files.md](references\u002Fworkspace-files.md) | Deep-dive on each file: purpose, design principles, anti-patterns, section structure |\n| [optimization-guide.md](references\u002Foptimization-guide.md) | Token efficiency strategies, audit commands, distillation process |\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fwin4r\u002Fopenclaw-workspace\u002Fopenclaw-workspace",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill openclaw-workspace",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill openclaw-workspace",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill openclaw-workspace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fwin4r\u002Fopenclaw-workspace\u002Fopenclaw-workspace\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]