memory-palace

持久化记忆管理。Use when: 用户告诉你个人信息/偏好/习惯、需要记住项目状态/技术决策、完成任务后有可复用经验、用户说"记住""别忘了""下次注意"、需要回忆之前的对话内容。支持语义搜索和时间推理。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "memory-palace" with this command: npx skills add lanzhou3/memory-palace

Memory Palace

Agent 的持久化记忆系统。让 AI Agent 能够记住用户偏好、对话上下文、项目状态、经验教训,并在需要时主动检索

可选:语义搜索增强

语义搜索需要 Python 环境和向量模型(~100MB,首次使用自动下载):

# 检查 Python 环境
python3 --version  # 需要 3.8+

# 安装依赖
pip install sentence-transformers

# 首次搜索时自动下载模型到 ~/.openclaw/models/embedding/
# 模型:BAAI/bge-small-zh-v1.5

无 Python 环境时:系统自动降级为文本搜索,功能正常使用。

何时使用

Use when:

  • 用户告诉你个人信息、偏好、习惯
  • 需要记录项目状态、技术决策
  • 完成任务后积累了可复用经验
  • 需要回忆之前的对话内容
  • 用户提到"记住""别忘了""下次注意"

Do NOT use:

  • 临时性的单次查询(直接回答即可)
  • 不需要持久化的即时计算
  • 已经有明确文档记录的信息

快速开始

// 记住用户信息
memory_palace_write: { "content": "用户叫盘古,喜欢简洁回复", "tags": ["用户", "偏好"], "importance": 0.9 }

// 搜索记忆
memory_palace_search: { "query": "用户名字" }

// 记录经验
memory_palace_record_experience: { "content": "API 用名词命名端点", "category": "development", "applicability": "设计新 API", "source": "task-001" }

核心工具

基础操作

工具功能必填参数
memory_palace_write写入记忆content
memory_palace_search搜索记忆query
memory_palace_get获取记忆id
memory_palace_update更新记忆id
memory_palace_delete删除记忆id
memory_palace_list列出记忆
memory_palace_stats统计信息

经验管理

工具功能必填参数
memory_palace_record_experience记录经验content, applicability, source
memory_palace_get_experiences查询经验
memory_palace_verify_experience验证经验id, effective
memory_palace_get_relevant_experiences相关经验context

LLM 增强

工具功能必填参数
memory_palace_summarize智能总结id
memory_palace_parse_time解析时间expression
memory_palace_expand_concepts扩展概念query

参数速查

write 参数

{
  "content": "记忆内容",       // 必填
  "tags": ["标签"],           // 可选,分类检索
  "importance": 0.7,          // 可选,0-1,重要记忆建议 0.7+
  "location": "default",      // 可选,存储位置
  "type": "fact"              // 可选:fact/experience/lesson/preference/decision
}

search 参数

{
  "query": "搜索词",          // 必填,支持自然语言
  "tags": ["标签"],           // 可选,过滤标签
  "topK": 10                  // 可选,返回数量
}

record_experience 参数

{
  "content": "经验内容",       // 必填
  "applicability": "适用场景", // 必填
  "source": "来源标识",        // 必填
  "category": "development"   // 可选:development/operations/product/communication/general
}

经验有效性机制

经验按 effectivenessScore(0-1)排序:

操作分数变化
新建经验初始 0.1
查询使用+0.1
验证有效+0.3
验证无效-0.1

验证规则:需 2+ 次验证才标记为"已验证"


详细文档

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Resume

🦞 GIGO · gigo-lobster-resume: 续跑入口:v2 stable 当前会清理旧 checkpoint 并从头重跑;保留此 slug 作为旧 checkpoint 兼容入口。 Triggers: 继续试吃 / 恢复评测 / resume tasting / continue lobster...

Registry SourceRecently Updated
General

YiHui CONTEXT MODE

context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated