Install
openclaw skills install shared-memory-osShared memory governance for multi-agent OpenClaw workspaces — with tiered memory, learnings capture, promotion review, lifecycle management, self-maintaining reports, cross-skill collaboration, and bilingual ClawHub-friendly docs.
openclaw skills install shared-memory-osEnglish and 中文 are on the same page below. In ClawHub, read the language section directly instead of relying on anchor-jump behavior.
Shared Memory OS turns workspace memory into a governed system instead of a pile of notes.
.learnings/references/governance-guide.mdreferences/pattern-harvesting.mdreferences/archive-strategy.mdreferences/learnings-template.mdreferences/health-check.mdreferences/self-improving-loop.mdreferences/health-score-model.mdreferences/conflict-template.mdreferences/migration-guide.mdreferences/policy-profiles.mdreferences/workspace-profiles.mdreferences/cross-skill-collaboration.mdreferences/multi-agent-governance.mdreferences/maintenance-day.mdreferences/zh-cn-guide.mdscripts/bootstrap-shared-memory-os.jsscripts/ensure-shared-memory-crons.jsscripts/init-shared-memory-os.jsscripts/migrate-notes-into-memory.jsscripts/run-shared-memory-maintenance.jsscripts/check-memory-health.jsscripts/rebuild-learnings-index.jsscripts/find-duplicate-learnings.jsscripts/find-promotion-candidates.jsscripts/find-stale-durable-memory.jsscripts/find-validated-rules.jsscripts/find-low-value-learnings.jsscripts/build-workflow-optimization-suggestions.jsscripts/log-memory-conflict.jsscripts/build-conflict-review-report.jsscripts/build-weekly-review.jsscripts/record-health-snapshot.jsscripts/build-promotion-suggestions.jsscripts/build-learning-merge-suggestions.jsscripts/find-skill-upgrade-candidates.jsscripts/build-memory-patch-candidates.jsscripts/build-audit-report.jsscripts/build-dashboard.jsFor first-time setup in an OpenClaw agent session, prefer the built-in cron tool instead of shelling out to openclaw cron ... commands.
When this skill is used to initialize a workspace, immediately ensure these three recurring jobs exist (create missing ones, update same-name jobs if they already exist):
shared-memory-os daily maintenance — daily light maintenanceshared-memory-os weekly review — weekly full maintenance + dashboard/audit summaryshared-memory-os monthly deep maintenance — monthly deep cleanup and reviewRecommended default schedules (Asia/Shanghai):
15 3 * * *30 3 * * 145 3 1 * *Recommended job shape:
sessionTarget: "isolated"payload.kind: "agentTurn"payload.toolsAllow: ["exec", "read"]delivery.mode: "none"After cron jobs are ensured, run one full maintenance pass so reports exist immediately.
For first-time setup from a terminal instead of an agent session, run node skills/shared-memory-os/scripts/bootstrap-shared-memory-os.js or bash skills/shared-memory-os/scripts/bootstrap-shared-memory-os.sh from the workspace root. These are fallback entrypoints for manual/bootstrap use.
If you only need to repair or reapply automation from a terminal, run node skills/shared-memory-os/scripts/ensure-shared-memory-crons.js or bash skills/shared-memory-os/scripts/ensure-shared-memory-crons.sh. The installer is intended to be idempotent: same-name jobs are updated, missing jobs are created.
Use this skill when you want memory to stay useful over time: keep facts durable, keep daily state local, keep lessons reusable, let promotion stay reviewable, let low-value noise get pruned, and let repeated lessons improve other skills too.
Shared Memory OS 的目标,是把 workspace 里的共享记忆变成“可治理、可维护、可进化、可协同”的系统,而不是零散笔记。
.learnings/MEMORY.md patch 候选生成references/zh-cn-guide.mdreferences/governance-guide.mdreferences/pattern-harvesting.mdreferences/archive-strategy.mdreferences/learnings-template.mdreferences/health-check.mdreferences/self-improving-loop.mdreferences/health-score-model.mdreferences/conflict-template.mdreferences/migration-guide.mdreferences/policy-profiles.mdreferences/workspace-profiles.mdreferences/cross-skill-collaboration.mdreferences/multi-agent-governance.mdreferences/maintenance-day.mdscripts/bootstrap-shared-memory-os.jsscripts/ensure-shared-memory-crons.jsscripts/init-shared-memory-os.jsscripts/migrate-notes-into-memory.jsscripts/run-shared-memory-maintenance.jsscripts/check-memory-health.jsscripts/rebuild-learnings-index.jsscripts/find-duplicate-learnings.jsscripts/find-promotion-candidates.jsscripts/find-stale-durable-memory.jsscripts/find-validated-rules.jsscripts/find-low-value-learnings.jsscripts/build-workflow-optimization-suggestions.jsscripts/log-memory-conflict.jsscripts/build-conflict-review-report.jsscripts/build-weekly-review.jsscripts/record-health-snapshot.jsscripts/build-promotion-suggestions.jsscripts/build-learning-merge-suggestions.jsscripts/find-skill-upgrade-candidates.jsscripts/build-memory-patch-candidates.jsscripts/build-audit-report.jsscripts/build-dashboard.js在 OpenClaw agent 会话里,优先直接使用一等 cron 工具创建/更新自动任务,而不是通过 shell 调 openclaw cron ...。
当此 skill 用于初始化 workspace 时,应立即确保以下 3 个同名任务存在(已存在则更新,不存在则创建):
shared-memory-os daily maintenanceshared-memory-os weekly reviewshared-memory-os monthly deep maintenance推荐默认时区与时间(Asia/Shanghai):
15 3 * * *30 3 * * 145 3 1 * *推荐任务形态:
sessionTarget: "isolated"payload.kind: "agentTurn"payload.toolsAllow: ["exec", "read"]delivery.mode: "none"确保 cron 任务后,应立即跑一次完整 maintenance,让 reports 立刻可用。
如果是在终端里手动初始化,而不是在 agent 会话里,使用:node skills/shared-memory-os/scripts/bootstrap-shared-memory-os.js 或 bash skills/shared-memory-os/scripts/bootstrap-shared-memory-os.sh。这是给手动/终端 bootstrap 的 fallback 入口。
如果只是补装或修复自动化任务,可运行:node skills/shared-memory-os/scripts/ensure-shared-memory-crons.js 或 bash skills/shared-memory-os/scripts/ensure-shared-memory-crons.sh。这些安装脚本设计目标是幂等:同名任务更新,缺失任务创建。
当你希望共享记忆长期可用时,用它来维持:长期事实要稳定、当天状态要就地、经验要可复用、promotion 要可审查、低价值噪音要能被清理、而且反复验证过的经验还应反向推动其他 skills 一起变强。