mempalace
它能做什么
这个技能帮助你安装和使用 MemPalace,这是一个保存项目笔记和对话的工具,让 AI 智能体日后可以搜索它们。适合希望 AI 记住过去工作的人。
适用场景
- ✓当你想安装 MemPalace 并建立第一个记忆库的时候。
- ✓当你想把项目或对话添加到记忆库中的时候。
- ✓当你想搜索已保存的记忆或检查其状态的时候。
技能链接
https://github.com/MemPalace/mempalace/blob/develop/.antigravity-plugin/skills/mempalace/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我设置 MemPalace,并添加我的项目笔记,以便以后搜索。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能指导你完成安装,然后使用 MemPalace 命令行工具把你保存的内容整理成可搜索的记忆库。之后你的智能体就可以按含义进行搜索。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MemPalace
A searchable memory palace for AI — mine projects and conversations, then search them semantically. Verbatim storage, local-first, zero external API by default.
Prerequisites
Ensure mempalace is installed:
mempalace --version
If not installed (uv recommended):
uv tool install mempalace # or: pip install mempalace
Dynamic, version-correct instructions
MemPalace exposes operation-specific instructions through the CLI so this skill stays accurate as MemPalace evolves. To get instructions for any operation:
mempalace instructions <command>
Always prefer the CLI output over what is written here when the two disagree — the CLI is the single source of truth for the installed version.
Common operations
These are the six operations users ask for most often. Each one wraps a single MemPalace CLI subcommand. The mempalace instructions <name> form returns the full, version-correct guidance.
help — discover what MemPalace can do
mempalace instructions help
Use when the user is new, unsure what's possible, or asks "what can you do".
init — first-run setup of the palace
mempalace instructions init
Use when the user has just installed MemPalace, no palace exists yet, or the user explicitly asks to set up / configure / re-initialize their palace.
mine — ingest a project or conversation directory
mempalace instructions mine
Use when the user wants to fold a project's files into their palace, or to ingest exported conversation transcripts into the palace as searchable memory.
search — find verbatim memories by semantic query
mempalace instructions search
Use when the user wants to recall something from the past, find a previous decision, or rediscover code/notes/conversations they already wrote.
status — what's in the palace right now
mempalace instructions status
Use when the user asks "what's in my palace", "how big is my palace", or wants a summary of wings, rooms, and drawer counts.
audit — how well organized the palace is, plus a repair session
mempalace instructions audit
Use when the user asks how well organized or "messy" the palace is, why a scoped search or wake-up misses things, or wants to clean up wings, rooms, tunnels, hallways, or the knowledge graph. Read-only until the user decides each repair.
MCP tools (preferred over CLI)
Inside Antigravity, the MemPalace MCP server registers a rich set of tools. Use these instead of shelling out to the CLI for live operations (search, diary writes, drawer adds, knowledge graph queries, palace status). The MCP tools always reflect the current palace state without spawning a subprocess.
The MCP server is auto-registered when this plugin is installed at ~/.gemini/config/plugins/mempalace/. If the server does not appear in Antigravity's MCP store, run mempalace-mcp --version to verify the binary is on PATH, then restart Antigravity.
Design principles (verbatim from the project)
- Verbatim always — never summarize, paraphrase, or lossy-compress user data.
- Local-first, zero external API by default — extraction, embedding, and LLM-assisted refinement happen on the user's machine.
- Privacy by architecture — the system never calls out to external services for core operations.
- Performance budgets — hooks under 500ms; startup injection under 100ms.
- Background everything — filing, indexing, and timestamps happen via hooks in the background; zero tokens spent on bookkeeping in the chat window.
If a request would violate any of these principles, refuse and explain — even if it would be technically convenient.
Release awareness
Release checks are opt-in. Ask before enabling weekly checks with
mempalace update configure --enable --installer uv-tool (or pipx / pip,
matching the installation); the default is disabled. Enabling checks
contacts PyPI but sends no palace content, identity, or telemetry. When
mempalace_status reports an available release, distinguish updates.server
from a local proxy's updates.client. Use the local update plan only for the
client scope; a remote server update must be planned and authorized on the hub
host by its operator. Never install an update without explicit user authorization.
Palace health: audit and repair session
When the user asks how well organized the palace is, whether memory is "messy", why a scop
常见问题
我的数据会离开我的电脑吗?
MemPalace 被描述为本地优先,默认不使用外部 API,因此数据存储在你的电脑上。
导入是什么意思?
导入是指把一个项目或对话加入记忆库,使其可以被搜索。
我需要先安装什么吗?
需要。该技能会安装 MemPalace 命令行工具,通常使用 uv 或 pip。
详情
作者的原始描述
MemPalace — mine projects and conversations into a searchable memory palace. Use when the user asks about MemPalace, memory palace, mining memories, searching memories, palace setup, wings, rooms, or drawers; or when they want to recall past work that may already be filed in their palace.
repo: MemPalace/mempalace
热度
- GitHub 星标
- 60k
- 排名
- #3175
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
mempalace-recall
60k帮你的智能体在回答有关过去工作、人物、项目或早先决定的问题之前,先搜索你的 MemPalace 记忆库。
mempalace-task
60k帮你的智能体通过 MemPalace logstream 在智能体之间创建、交接和跟踪任务,让工作在它们之间清楚地流转。
mempalace
60k帮你的智能体安装和配置 MemPalace,可以作为私有本地记忆库、多个智能体共用的中心,或现有中心的客户端。
mempalace
60k帮你的智能体回忆过去的工作或事实、保存记忆、更新人与项目之间的关联,并排查 MemPalace 的问题。