{"skill":{"slug":"biomimetic-memory-architecture","displayName":"Biomimetic Memory Architecture","summary":"Install, verify, and manage OpenClaw memory with integrated daily distillation, weekly synthesis, procedural learning, retention, and cold archiving workflows.","description":"---\nname: Biomimetic Memory Architecture\nslug: biomimetic-memory-architecture\nversion: 0.1.7\nhomepage: https://github.com/Suidge/biomimetic-memory-architecture\nReplace OpenCortex and Lesson-Imprint with integrated OpenClaw memory structure, procedural learning, retention, and forgetting.\nmetadata: {\"openclaw\":{\"emoji\":\"🧬\",\"requires\":{\"bins\":[\"python3\"]},\"os\":[\"linux\",\"darwin\"]}}\n---\n\n# Biomimetic Memory Architecture (BMA)\n\nA biomimetic memory architecture for OpenClaw agents.\n\n## When to Use\n\nUse this skill when the user wants to:\n- install or verify a complete OpenClaw memory architecture\n- replace separate OpenCortex and Lesson-Imprint skill folders\n- run daily distillation / weekly synthesis memory governance\n- reduce long-term memory bloat\n- audit old `memory/archive/` records\n- design or run retention / forgetting workflows\n- move metabolized source files out of active memory\n- keep `memory/` clean for memory-wiki `indexDailyNotes=true`\n- convert repeated failures into compact behavioral safeguards\n\n## Core Rules\n\n1. **Provide the full stack** — BMA includes OpenCortex-style structure, daily distillation, weekly synthesis, Lesson-Imprint procedural learning, and retention/forgetting.\n2. **Keep promotion and forgetting separate** — daily distillation promotes useful current memory; BMA retention metabolizes aged archives later.\n3. **Integrate Lesson-Imprint as procedural learning** — repeated failures become compact safeguards, not bulky narrative memory.\n4. **Default to read-only audit** — produce a candidate report before moving, deleting, or rewriting files.\n5. **Scan aged candidates only** — avoid full-history sweeps; default threshold is records older than 30 days.\n6. **Cold archive, not blind deletion** — move metabolized source files to `memory-archive/` unless the user explicitly approves deletion.\n7. **Keep citations** — compressed summaries must cite the moved source file path.\n8. **Protect active memory** — never move `projects/`, `runbooks/`, `workflows/`, `contacts/`, `preferences.md`, `lesson-imprint/`, or today’s daily log.\n9. **Verify after action** — check file counts, wiki status, and git status after any write phase.\n\n## Quick Reference\n\n| Task | File |\n|------|------|\n| Architecture and lifecycle | `references/architecture.md` |\n| Installation and integration | `references/installation.md` |\n| OpenCortex foundation | `references/opencortex-foundation.md` |\n| Lesson-Imprint component | `references/lesson-imprint.md` |\n| Daily distillation prompt | `references/daily-distillation.md` |\n| Weekly synthesis prompt | `references/weekly-synthesis.md` |\n| Retention scoring rubric | `references/retention-rubric.md` |\n| Read-only audit script | `scripts/bma_retention_audit.py` |\n| Lesson-Imprint CLI | `scripts/lesson_imprint.py` |\n| Install / update / verify | `scripts/install.sh`, `scripts/update.sh`, `scripts/verify.sh` |\n| Vault / metrics / git backup | `scripts/vault.sh`, `scripts/metrics.sh`, `scripts/git-backup.sh` |\n\n## MVP Workflow\n\n**For installation, read `references/installation.md` first.**\n\n```bash\n# 1. Install (runs system compatibility check + auto-fix guidance)\nbash skills/biomimetic-memory-architecture/scripts/install.sh\n\n# 2. If system check shows critical issues:\n#    Execute the gateway config.patch commands shown in the output\n\n# 3. Verify\nbash skills/biomimetic-memory-architecture/scripts/verify.sh\n\n# 4. Phase 1 retention audit (read-only)\npython3 skills/biomimetic-memory-architecture/scripts/bma_retention_audit.py --workspace . --older-than-days 30\n```\n\nSee `references/installation.md` for the complete agent-side installation flow including system config auto-fix.\n","tags":{"latest":"0.1.7"},"stats":{"comments":0,"downloads":411,"installsAllTime":15,"installsCurrent":0,"stars":0,"versions":7},"createdAt":1777962520422,"updatedAt":1779076264754},"latestVersion":{"version":"0.1.7","createdAt":1778050714686,"changelog":"Refine daily distillation rules to prevent project-file changelog bloat and preserve current-state memory maps.","license":"MIT-0"},"metadata":null,"owner":{"handle":"suidge","userId":"s1769yn9ptpyx07673vcrfy2yd83jjt3","displayName":"Neo Shi","image":"https://avatars.githubusercontent.com/u/34770064?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090751894}}