Install
openclaw skills install shared-memory-governorGovern a file-based shared-memory layer for OpenClaw multi-agent and subagent systems. Preserve each agent’s private memory while adding a separate, reviewable shared layer for stable user preferences, shared rules, and durable cross-agent facts. Use when designing, initializing, registering, attaching, maintaining, or reviewing a shared-memory system with strict identity isolation, explicit local guidance, and conservative shared promotion.
openclaw skills install shared-memory-governorPreserve each agent’s private long-term memory.
Add a separate, reviewable shared-memory layer for durable user preferences, shared rules, and cross-agent facts.
Keep assistant-specific identity context private.
Use this skill to govern a shared-memory layer across multiple agents while preserving each agent’s private memory system.
This skill helps define:
This skill is for workspace-scoped shared-memory design and maintenance. It is not a credential tool, not a hidden prompt tool, and not a system-level persistence mechanism.
Follow these boundaries at all times:
Never:
Use a two-layer long-term memory model:
Private memory layer
Shared memory layer
Follow these rules at all times:
Use the shared root with this default structure:
<sharedRoot>/
├── shared-user.md
├── shared-memory.md
├── shared-rules.md
├── shared-sync-log/
│ ├── YYYY-MM-DD_HHMM_scan.md
│ └── YYYY-MM-DD_HHMM_maintenance.md
└── archived/
└── <agent>/
shared-user.md → stable user preferences, habits, and constraintsshared-memory.md → durable facts reusable across agentsshared-rules.md → governance rules for the shared-memory systemshared-sync-log/ → operational logs for review and traceabilityarchived/<agent>/ → archived local shared-memory guidance after detachFor detailed file-boundary examples, read:
references/shared-promotion-rules.mdUse when the shared layer does not exist yet.
Goal:
Use:
initFor config details, read:
references/config-reference.mdUse when an agent should participate in the shared-memory system.
Goal:
Use:
register <agent>attach <agent>For startup guidance placement and cleanup rules, read:
references/startup-guidance-rules.mdImportant:
register does not automatically mean attachUse when checking whether the shared-memory system is set up correctly.
Goal:
Use:
show-statusreview-attachmentsshow-configvalidate-configFor status and reporting fields, read:
references/status-review-fields.mdUse when updating the shared layer from approved upstream memory sources.
Goal:
Use:
run-shared-scanDefault rule in v1:
For promotion decisions and target-file boundaries, read:
references/shared-promotion-rules.mdUse when reviewing and refining the shared layer itself.
Goal:
Use:
run-shared-maintenanceFor reporting fields and maintenance review structure, read:
references/status-review-fields.mdreferences/config-reference.mdUse when local shared-memory guidance is incomplete, stale, or no longer needed.
Use:
repair-attachment <agent>detach <agent>unregister <agent>Rules:
For startup guidance repair and detach cleanup rules, read:
references/startup-guidance-rules.mdRead these files only when needed:
references/startup-guidance-rules.md
references/shared-promotion-rules.md
references/status-review-fields.md
references/config-reference.md
V1 supports:
initshow-configvalidate-configupdate-configregister <agent>unregister <agent>attach <agent>detach <agent>repair-attachment <agent>run-shared-scanrun-shared-maintenanceshow-statusreview-attachmentsshow-sync-logsprune-sync-logsConfig-related commands may support explicit config paths.
Keep this skill: