- name
- openclaw-memory-fusion
- description
- Build and operate a unified OpenClaw memory system that combines native Markdown memory, project memory, structured event memory, migration from older PROJECTS.md/improvements.md layouts, memorySearch configuration, and upgrade-safe maintenance workflows.
OpenClaw Memory Fusion
Use this skill when the user wants to:
- unify OpenClaw memory into one system
- preserve or migrate older
PROJECTS.md/memory/*.md/ improvements data - add structured event memory on top of native Markdown memory
- enable
memorySearchsafely for long-term and project retrieval - audit, repair, or upgrade-check the memory setup after OpenClaw changes
This skill is designed to stay compatible with OpenClaw upgrades:
- it uses workspace Markdown files as the source of truth
- it only touches documented
memorySearchconfig fields - it keeps checkpoints, manifests, and rollback data for every mutating command
- it does not patch OpenClaw internals
Architecture
openclaw-memory-fusion keeps memory in five layers:
- native memory:
MEMORY.md,PROJECTS.md,memory/YYYY-MM-DD.md - project memory:
projects/<slug>/overview.md,timeline.md,decisions.md,artifacts.md - project aliases:
memory_fusion/project_aliases.md(projects/ALIASES.mdis treated as a legacy location and migrated away from retrieval) - ops memory:
ops/*.mdfor system improvements and upgrade notes - event memory:
memory_fusion/events/*.jsonl - semantic retrieval layer:
memory_fusion/semantic/*.md
Primary Commands
Check the current setup:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py doctorPreview installation without changing anything:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py installApply installation and configure memory search:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py install --apply --provider localPreview migration of legacy project memory:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py migrateApply migration:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py migrate --applyRecord a structured memory event:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py capture \
--kind project_update \
--scope project \
--project sample-project \
--summary "Deployment checklist moved into final validation"Rebuild semantic digests:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py sync-semantic --applyGenerate or refresh the editable project alias registry:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py sync-aliases --applyAuto-capture recent working memory into structured events:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py auto-capture --days 7 --applyCheck project-memory drift:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py drift-check --days 30Run a reflective dream pass with safe repairs:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py dream --days 7 --apply --repair-placeholdersCheck upgrade safety:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py upgrade-checkRollback the latest mutating command:
python3 ~/.agents/skills/openclaw-memory-fusion/scripts/openclaw_memory_fusion.py rollback --latestSafety Defaults
installandmigrateare dry-run by defaultauto-capture,drift-check, anddreamare also dry-run by defaultsync-aliasesis also dry-run by default- mutating commands write manifests under
workspace/memory_fusion/manifests/ - backups go under
workspace/memory_fusion/checkpoints/ - existing Markdown files are not overwritten unless the command is explicitly applying changes
Reflective Features
auto-captureextracts structured events from recentmemory/YYYY-MM-DD.mdand ops notessync-aliasesmaintains a human-editable alias table withForce aliasesandSuggested aliasesdrift-checkcompares project overview snapshot fields with more recent structured eventsdreamchains auto-capture, drift analysis, semantic refresh, and optional placeholder repair- placeholder repair only fills obviously incomplete
Status/Next stepfields; conflicting non-placeholder content is reported, not silently rewritten
When To Avoid This Skill
Do not use this skill if the user only wants to remember a single durable preference. In that case, update the relevant Markdown memory file directly.