Install
openclaw skills install @airbing11/memory-core-migratorSafely migrates OpenClaw memory from LanceDB Pro, official LanceDB list captures, QMD, or Markdown into memory-core. Use when an owner asks to migrate, audit, deduplicate, benchmark, cut over, or roll back an OpenClaw memory backend.
openclaw skills install @airbing11/memory-core-migratorMove the memory. Keep the proof.
Use this Skill when an owner wants a safer, verifiable, and practical path from a third-party memory backend back to OpenClaw's official memory-core.
--dry-run.APPROVE <ACTION> <RUN_ID>.ltm list JSON to memory-core Markdown.Read references/compatibility.md before selecting an adapter.
Resolve rather than assume:
Run preflight against explicit export files. Keep the surrounding run directory outside the workspace:
node bin/openclaw-memory-migrator.js preflight \
--input export/global.json \
--output canonical/memory-records.jsonl
If a required capability is unknown, stop. Do not invent a command.
Use the current OpenClaw backup CLI. A backup is accepted only when:
verified: true;archivePath exists;Also inventory source databases and configured agent roots. Follow references/operations.md.
Select one adapter:
node bin/openclaw-memory-migrator.js normalize \
--adapter lancedb-pro \
--input export/global.json \
--input export/main.json \
--output canonical/memory-records.jsonl
For LanceDB Pro, inspect memory-pro export --help and export every non-empty
scope separately. Set an explicit limit only when that installed version
supports it. memory-lancedb-pro v1.1.0-beta.10 export is capped at 1,000
records; when a scope exceeds the detected cap, paginate memory-pro list
with --limit and --offset. Exported totals must equal the immediately
preceding scoped stats.
For QMD and Markdown, migrate the authoritative Markdown rather than QMD's
derived index. OpenClaw 2026.9.x retired QMD backend configuration, so use the
official Doctor migration where applicable rather than restoring legacy QMD
keys. Official LanceDB has no export command in verified 2026.9.x releases;
capture openclaw ltm list --agent <id> for every agent and wrap each array in
the versioned lancedb-official-list-beta manifest documented in
references/compatibility.md. Never reverse-engineer a live database.
node bin/openclaw-memory-migrator.js audit \
--adapter canonical-v1 \
--input canonical/memory-records.jsonl \
--output reports/audit.json
Require:
Deduplication is report-only in v0.1. Never delete automatically.
node bin/openclaw-memory-migrator.js render \
--adapter canonical-v1 \
--input canonical/memory-records.jsonl \
--output staged-memory/imports/<source>
Render durable records separately from dated records. Do not append imports
directly to root MEMORY.md. Review generated Markdown before cutover.
Create at least eight owner-approved queries covering:
Record top-k source, score, latency, and expected evidence. Never index the
evaluation report as memory. Follow
docs/benchmark-methodology.md.
Write the proposed configuration diff, affected agents, backup SHA, manifest SHA, baseline, rollback commands, and maintenance window into the run report.
Request exactly:
APPROVE CUTOVER <RUN_ID>
After receiving it, re-run preflight. If anything material changed, invalidate the approval and generate a new run.
Follow references/operations.md:
If health or recall gates fail, stop and request:
APPROVE ROLLBACK <RUN_ID>
Keep source data cold and plugins disabled during the soak period. Verify channels, indexes, recall, dreaming output, and long-term file diffs daily.
Request APPROVE PROMOTION <RUN_ID> before the first promotion-capable
dreaming run. Request APPROVE RETIRE <RUN_ID> before uninstalling plugins.
Retirement still preserves source data for the declared rollback window.
Every phase report includes:
Never describe a partial or unverified result as successful.