mempalace
它能做什么
这个技能让你的智能体在 MemPalace 中查找已保存的事实、保存新记忆,并更新人与项目之间的关联。适合希望 AI 持续跟踪进行中工作的人。
适用场景
- ✓当你询问之前保存过的过去工作、人物或偏好的时候。
- ✓当你希望智能体把某个决定或事实保存到记忆中的时候。
- ✓当你的 MemPalace 连接无法使用,需要排查的时候。
技能链接
https://github.com/MemPalace/mempalace/blob/develop/integrations/openclaw/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请记住 Maria 负责账单项目,然后告诉我,有关发票的问题应该问谁。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会使用简短且不外泄的搜索词,在你的 MemPalace 记忆库中查找能回答你问题的事实或关系。当你要求时,它会保存或更新条目。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MemPalace
- Choose the branch. For past work, people, preferences, decisions, or continuity, use the procedure below (canonical recall). Honor session-start context and known wing scope; omit uncertain filters. Skip recall for greenfield work. Use exposed tools with current schemas/permissions; logical names below may be namespaced. Reuse an existing connection without requiring a local CLI or another palace. Never substitute local data on a remote-only failure. Consult tool selection only for unfamiliar syntax/edge cases; ordinary recall needs no extra read. For explicitly requested installation or connection diagnosis, read setup instead. Proceed once the question and authorized operation are clear; do not run setup as a recall prerequisite.
- Retrieve only what answers the question. With preferred light MCP, use
palace_querywithKG,FIND, orDIARYfor relationships/time-bound facts, source words, or recent handoffs. Supported full MCP equivalents aremempalace_kg_query,mempalace_search, andmempalace_diary_read. Useactive_factsfor current-state KG answers withoutas_of; other facts can be historical or future. Keep search queries short and private: keywords or a question, never prompts or conversation dumps. Use small result limits and known filters. If KG is insufficient, try text; if scoped text misses, check or relax scope. Stop when answered, quoting stored words verbatim. If bounded fallback still misses, state what was checked, not that nothing exists. - Preserve source and temporal history when writing. Store exact verbatim
content, not a summary. For a confirmed single-valued replacement use
light
palace_execwithKG SUPERSEDE, or fullmempalace_kg_supersede: one atomic boundary closes the old value and opens its successor. UseKG INVALIDATE/mempalace_kg_invalidatefor an ending without replacement andKG ADD/mempalace_kg_addfor independent/coexisting facts. Never hand-roll invalidate-then-add replacements or rewrite uncertain conflicts. Check the result before claiming persistence; see tool selection for provenance, historical backfill, and exact temporal semantics. - Gate maintenance and recover safely. Import, bulk cleanup, destructive changes, and host settings require explicit user intent and confirmed scope. Preview supported bulk operations before applying; never change hook settings silently. Surface unavailable tools and errors rather than inventing history. Reconnect after external writes only for stale in-memory state; it is not corrupt-index repair. Follow canonical index recovery for corruption: guide an operator through offline SQLite-backed recovery, never an in-process rebuild or blind re-mining. Finish with a verified result or a concrete error and safe next step.
- Close substantive work without double filing. Check hook/save evidence
before recording continuity; use light
FILEDor fullmempalace_memories_filed_awaywhen needed. If not already saved, use a diary entry or a checkpoint combining verbatim items with agent continuity. Consult lightAAAK SPECor fullmempalace_get_aaak_specfor diary notation; compressed observations never replace verbatim source drawers. Confirm the save or report failure.
The references directory must travel with this skill; do not install only
SKILL.md. The shared protocol remains authoritative and is linked online so
installed bundles do not depend on sibling repository directories. If it cannot
be read, report that limitation before attempting its detailed recovery steps.
A skill guides model-invoked memory operations; it does not install auto-save
hooks or prove automatic recall injection. Verify optional automation separately.
MemPalace is local-first; use only user-approved storage and services, and do not
send private source content to an unconfigured external service.
License
MemPalace is MIT licensed. Created by Milla Jovovich, Ben Sigman, Igor
常见问题
它会在每次回答前都搜索吗?
它只在涉及过去工作、人物、偏好或决定时搜索,对于全新的工作则跳过回忆。
它需要在本地安装吗?
如果已有可用的连接,它会复用该连接,不需要本地命令行工具。
如果远程连接失败怎么办?
它不会换用本地数据,因此你会知道任何答案都不是来自已连接的记忆库。
详情
作者的原始描述
Recall past work or facts; save memories; update relationships; set up or troubleshoot MemPalace in OpenClaw.
repo: MemPalace/mempalace
热度
- GitHub 星标
- 60k
- 排名
- #3178
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
mempalace-recall
60k帮你的智能体在回答有关过去工作、人物、项目或早先决定的问题之前,先搜索你的 MemPalace 记忆库。
mempalace
60k帮你的智能体安装和使用 MemPalace,这是一个可搜索的记忆库,用于保存你的项目和对话,包括导入和搜索。
mempalace-task
60k帮你的智能体通过 MemPalace logstream 在智能体之间创建、交接和跟踪任务,让工作在它们之间清楚地流转。
mempalace
60k帮你的智能体安装和配置 MemPalace,可以作为私有本地记忆库、多个智能体共用的中心,或现有中心的客户端。