跳到正文
Skillpedia
智能体60k · #3174

mempalace-recall

它能做什么

这个技能让智能体在回答有关过去工作、人物或决定的问题之前,先检查你的 MemPalace 记忆库。适合希望答案基于已保存笔记、而不是猜测的人。

适用场景

  • ✓当你询问之前的项目讨论中决定或尝试过什么的时候。
  • ✓当你询问某人是谁或某个项目是什么,而这些可能已经保存在记忆中的时候。
  • ✓当你询问上次讨论某个话题的内容的时候。

技能链接

https://github.com/MemPalace/mempalace/blob/develop/.antigravity-plugin/skills/mempalace-recall/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MemPalace/mempalace/blob/develop/.antigravity-plugin/skills/mempalace-recall/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“上次我们讨论定价页面时,我们决定了什么?”

每周 5 个新技能,1 分钟读完。

工作原理

该技能会在智能体作答前搜索你的 MemPalace 记忆库,因此它可以引用已保存的细节。它需要连接 MemPalace 工具,并且不会退回到凭空猜测。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

MemPalace Recall

Search-before-answer protocol for MemPalace. This skill makes the agent read the user's memory palace before answering anything that may already be filed there, instead of guessing from model memory. It complements the mempalace skill, which covers install / mine / status; this one covers recall only.

Step 0 — Verify MemPalace is available

Before relying on recall, confirm MemPalace is installed and reachable:

If the mempalace_* MCP tools are not available, tell the user the server is not connected and point them at the mempalace skill to set it up. Do not silently fall back to answering from model memory.

Identity

Act as a senior AI-memory systems engineer with decades of experience building verbatim recall, semantic retrieval, and temporal knowledge graphs. Verbatim recall from the palace always beats a confident guess from model memory — wrong is worse than slow.

When to recall

Search the palace before answering whenever the user asks about something that may already be filed:

  • Past work or prior decisions — "what did we decide / try / do?"
  • A person, project, or entity — "who is …", "what is …"
  • An earlier session — "remember when …", "last time …", "the thing we discussed"
  • A preference, fact, or relationship that could have changed over time

Do not search on pure greenfield work with no memory relevance (e.g. "rename this variable", "fix this typo"). Recall is question-driven, not reflexive — a search on every turn wastes latency and violates MemPalace's "memory should feel instant" budget.

Protocol

  1. On wake-up, the MemPalace PreInvocation hook injects verbatim palace content via injectSteps[].ephemeralMessage on the first model call of a conversation. If memory was injected, start from it before searching further.
  2. Before responding about people, projects, past events, or prior decisions: use mempalace_kg_query for known relationships or time-bound facts, mempalace_search for source text, or mempalace_diary_read for recent agent continuity. Stop when answered; follow the canonical query guide.
  3. If unsure about a fact (name, age, relationship, preference): say "let me check the palace" and query. Wrong is worse than slow.
  4. Return verbatim. Quote the drawer's exact stored words. Never summarize, paraphrase, or lossy-compress what the palace returns — that is the whole point of the system.
  5. After a substantive session, record continuity with mempalace_diary_write (background hooks may already do this — do not double-file).
  6. When a fact changes, choose the operation that preserves temporal history: use mempalace_kg_supersede for single-valued replacements (model, employer, owner, address, current status), mempalace_kg_invalidate for facts that ended without replacement, and mempalace_kg_add for independent/coexisting facts.

The full canonical protocol — shared verbatim with the Antigravity recall rule and the other integrations — lives in integrations/shared/recall-protocol.md.

Tool selection

You need Tool
Find any memory by meaning mempalace_search
Relational / time-bound facts about an entity mempalace_kg_query
Replace a single-valued fact mempalace_kg_supersede
The chronological story of an entity mempalace_kg_timeline
Recent session continuity mempalace_diary_read
Which wings / rooms exist (scope unknown) mempalace_list_wings, mempalace_list_rooms
Record this session mempalace_diary_write

mempalace_search takes a short natural-language query (keywords or a question — not a system prompt or pasted conversation) plus optional wing / room filters and limit (default 5).

Unhappy paths

  • Empty results. One empty KG query or filtered search does not prove the palace has nothing on this. Follow the query guide to check or widen the scope. If recall still finds nothing, state what was checked; do not invent an answer.
常见问题

如果 MemPalace 没有连接怎么办?

智能体会告诉你服务器未连接,并指引你使用设置技能,而不是凭记忆作答。

它会保存新的记忆吗?

这个技能只负责回忆。设置和导入由其他 MemPalace 技能负责。

为什么要先搜索再回答?

已保存的记录比自信的猜测更可靠,因此智能体会先检查它们。

详情

作者的原始描述

Recall protocol for MemPalace — search the palace before answering about past work, people, projects, or prior decisions. Apply when the user asks what was decided, what happened before, who someone is, what was discussed last time, or anything that may already be filed in their memory palace; or when mempalace-recall is invoked. Complements the mempalace setup skill and requires the mempalace-mcp server.

repo: MemPalace/mempalace

热度

GitHub 星标
60k
排名
#3174
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能