mempalace
GitHub用于构建和管理AI可搜索记忆宫殿的技能,支持项目与对话的挖掘、语义搜索及状态检查。适用于初始化配置、数据归档检索及Cursor环境集成,帮助Agent回顾过往工作并避免猜测。
Trigger Scenarios
Install
npx skills add MemPalace/mempalace --skill mempalace -g -y
SKILL.md
Frontmatter
{
"name": "mempalace",
"description": "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."
}
MemPalace
A searchable memory palace for AI — mine projects and conversations, then search them semantically.
Prerequisites
Ensure mempalace is installed:
mempalace --version
If not installed (uv recommended):
uv tool install mempalace # or: pip install mempalace
Usage
MemPalace provides dynamic, version-correct instructions via the CLI. To get instructions for any operation:
mempalace instructions <command>
Where <command> is one of: help, init, mine, search, status.
Run the appropriate instructions command, then follow the returned instructions step by step.
Recalling past work
This skill covers setup, mining, and status. For questions about past
work, prior decisions, or people that may already be filed in the
palace, prefer the mempalace-recall skill — it enforces
search-before-answer so the agent reads the palace instead of guessing.
Cursor-specific notes
- The
mempalace-mcpserver is auto-registered by this plugin. Once installed, all 36 MemPalace MCP tools (mempalace_search,mempalace_add_drawer,mempalace_diary_write,mempalace_check_duplicate,mempalace_diary_read, etc.) are available to the agent without any further configuration. - For automatic background saving every N agent turns plus session-start memory recall, also install the Cursor hooks separately by running
hooks/cursor/install.sh --scope userfrom a cloned MemPalace repo. Seewebsite/guide/cursor-hooks.mdfor the full walkthrough. - The recommended
agent_namewhen callingmempalace_diary_writefrom a Cursor session iscursor-ide(matches the precedent ofclaude-codeandcodex).
Version History
- aa89bd8 Current 2026-07-25 05:32


