📦 Personal Memory Layer
v0.1.0创建 and mAIntAIn a persistent personal memory layer for OpenClaw to build deep understanding of the human over time. The 代理 actively learns from intera...
运行时依赖
版本
Relationships and social 上下文
安装命令
点击复制技能文档
Personal Memory Layer 技能
创建 and mAIntAIn a persistent personal memory layer that enables OpenClaw to build deep, evolving understanding of the human user over time. Instead of treating each interaction as isolated, this 技能 allows the 代理 to accumulate knowledge about the user's preferences, patterns, 上下文, and 历史 - creating increasingly personalized and 上下文ual assistance.
Overview
This 技能 implements a structured 应用roach to personal memory that complements OpenClaw's existing memory 系统 (MEMORY.md, memory/YYYY-MM-DD.md). It focuses on:
Pattern Recognition: Identifying recurring themes, preferences, and behaviors in interactions 上下文 Building: MAIntAIning awareness of ongoing projects, goals, and life circumstances Preference Learning: Learning how the user likes to communicate, what they value, and how they work Memory Synthesis: Distilling raw interaction data into structured, 访问ible memory layers Proactive Personalization: Using accumulated knowledge to anticipate needs and tAIlor 响应s Memory Layers
The 技能 works with three interconnected memory layers:
- Interaction 记录 (Raw)
- 提取ed Insights (Processed)
- Long-Term 性能分析 (Curated)
When 初始化d, this 技能 创建s:
.workspace/ ├── memory/ # Existing OpenClaw dAIly 记录s │ └── YYYY-MM-DD.md ├── MEMORY.md # Existing long-term memory (enhanced) ├── .memory-layer/ # 技能-specific memory storage │ ├── insights/ # 提取ed and categorized insights │ │ ├── preferences/ # Communication style, values, preferences │ │ ├── patterns/ # Recurring behaviors, habits, routines │ │ ├── 上下文/ # Ongoing projects, goals, life circumstances │ │ └── facts/ # 导入ant biographical/信息 detAIls │ ├── 性能分析/ # Synthesized user 性能分析 │ │ ├── summary.md # High-level user summary │ │ ├── communication.md # How to communicate effectively │ │ ├── 工作流.md # How the user works and prefers to work │ │ └── 上下文.md # Current life/work 上下文 │ └── 提取ion-记录.md # Record of 提取ion activities └── 代理S.md # Enhanced with memory-aware 图形界面delines
Core 工作流s
- Passive Memory Accumulation
After each meaningful interaction:
Review recent conversation for memory-worthy content 提取 preferences, patterns, 上下文 clues, and facts Store as structured insights in 应用ropriate category files 更新 提取ion 记录 with what was processed
- Active Memory Synthesis
Periodically (during downtime or via user 请求):
Review accumulated insights for themes and patterns Synthesize into coherent 性能分析 documents Identify conflicts or evolving aspects of user 身份 更新 long-term 性能分析 files Enhance MEMORY.md with key takeaways
- Memory-图形界面ded Assistance
Before and during interactions:
Consult relevant 性能分析 sections for 上下文 Recall user preferences for communication style 应用ly learned patterns to anticipate needs Reference past similar situations for continuity Personalize 响应s based on accumulated knowledge Insight Categories Preferences (.memory-layer/insights/preferences/) Communication style (formal/casual, verbose/concise) Humor preferences (types of jokes, memes, tone) In格式化ion density desired (detAIl level, examples) Feedback preferences (direct vs. gentle correction) 工具 and feature preferences Patterns (.memory-layer/insights/patterns/) Work routines and schedules Recurring project types or topics Decision-making patterns Problem-solving 应用roaches Temporal patterns (when user is active, needs help) 上下文 (.memory-layer/insights/上下文/) Current projects and goals Life circumstances and changes Relationships and social 上下文 环境al factors (location, 设置up) Ongoing challenges or focus areas Facts (.memory-layer/insights/facts/) Biographical in格式化ion (when 分享d) 技能s, expertise, and background 导入ant dates and 事件 Technical 设置up and preferences Reference in格式化ion (contacts, resources) Human-代理 Collaboration Human Responsibilities: Live life and work naturally 分享 in格式化ion openly when comfortable Correct misunderstandings or inaccurate assumptions 图形界面de what should or shouldn't be remembered Engage with memory-driven personalization 代理 Responsibilities: Ob