engramlisted
Install: claude install-skill diegosouzapw/awesome-omni-skill
> ⚠️ **READ-ONLY SKILL**: This skill is a reference implementation. Do not edit files directly.
> When installing, copy scripts to your workspace folder:
> ```bash
> # Scripts → workspace scripts/
> cp skills/engram/scripts/*.js scripts/
> ```
> Templates and assets remain in the skill folder. Specify the path via env:
> ```bash
> export ENGRAM_SKILL_DIR=skills/engram # or absolute path
> bun scripts/init.js
> ```
> Without `ENGRAM_SKILL_DIR`, scripts look for assets relative to `../` from their location.
# Memory System
Three-layer memory architecture for OpenClaw agents: curated long-term memory (MEMORY.md), structured knowledge graph (life/), and session-isolated daily notes (memory/).
## Quick Start
```bash
# 1. Install QMD (if not installed)
bun skills/engram/scripts/install-qmd.js
# 2. Initialize everything
bun skills/engram/scripts/init.js
# Add a group session
bun skills/engram/scripts/add-session.js --platform telegram --id 3382546134
# Validate integrity
bun skills/engram/scripts/validate.js
# Migrate to v2 schema
bun skills/engram/scripts/migrate-v2.js --dry-run
```
## Architecture Overview
```
┌─────────────────────────────────────────────┐
║ Layer 3: MEMORY.md (Curated Wisdom) ║
║ Long-term personal insights, decisions ║
├─────────────────────────────────────────────┤
║ Layer 2: Knowledge Graph (life/) ║
║ PARA entities with atomic facts ║
├─────────────────────────────────────────────┤
║ Layer 1: Daily Notes (memor