Agent SkillsMemPalace/mempalace › mempalace

mempalace

GitHub

用于管理本地记忆宫殿的技能,支持项目与对话的语义检索、数据摄入及状态查看。优先通过MCP工具操作,确保数据原文存储且隐私安全。

.antigravity-plugin/skills/mempalace/SKILL.md MemPalace/mempalace

Trigger Scenarios

用户询问如何搜索或回忆过往工作记录 用户请求导入项目文件或对话到记忆库 用户询问记忆宫殿的状态或结构

Install

npx skills add MemPalace/mempalace --skill mempalace -g -y
More Options

Non-standard path

npx skills add https://github.com/MemPalace/mempalace/tree/develop/.antigravity-plugin/skills/mempalace -g -y

Use without installing

npx skills use MemPalace/mempalace@mempalace

指定 Agent (Claude Code)

npx skills add MemPalace/mempalace --skill mempalace -a claude-code -g -y

安装 repo 全部 skill

npx skills add MemPalace/mempalace --all -g -y

预览 repo 内 skill

npx skills add MemPalace/mempalace --list

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. 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 five 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.

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.

Version History

  • aa89bd8 Current 2026-07-25 05:32

Same Skill Collection

.antigravity-plugin/skills/mempalace-recall/SKILL.md
.claude-plugin/skills/mempalace-recall/SKILL.md
.claude-plugin/skills/mempalace/SKILL.md
integrations/openclaw/SKILL.md
skills/mempalace-recall/SKILL.md
skills/mempalace/SKILL.md
.codex-plugin/skills/help/SKILL.md
.codex-plugin/skills/init/SKILL.md
.codex-plugin/skills/mine/SKILL.md
.codex-plugin/skills/search/SKILL.md
.codex-plugin/skills/status/SKILL.md

Metadata

Files
0
Version
517a7a0
Hash
5c40e9ab
Indexed
2026-07-25 05:32

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 03:31
浙ICP备14020137号-1 $방문자$