From mempalace
Searches the user's MemPalace before answering questions about past work, people, projects, or decisions. Apply when recalling prior sessions, decisions, or facts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mempalace:mempalace-recallThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search-before-answer protocol for MemPalace. This skill makes the agent
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.
Before relying on recall, confirm MemPalace is installed and reachable:
mempalace --versionIf the mempalace_* MCP tools are not available, tell the user the
server is not connected and point them at the mempalace skill or
/mempalace-init to set it up. Do not silently fall back to answering
from model memory.
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.
Search the palace before answering whenever the user asks about something that may already be filed:
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.
additional_context,
honour its wing scoping.mempalace_search first. Use mempalace_kg_query
for relational or time-bound facts.mempalace_diary_write (skip if a background hook already saved).mempalace_kg_invalidate the old fact, then
mempalace_kg_add the new one.The full canonical protocol — shared verbatim with the Cursor recall
rule and the other integrations — lives in
integrations/shared/recall-protocol.md.
| You need | Tool |
|---|---|
| Find any memory by meaning | mempalace_search (start here) |
| Relational / time-bound facts about an entity | mempalace_kg_query |
| 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).
Empty results. Say the palace has nothing on this; do not invent an
answer. Offer to widen the search (drop the wing filter) or to file
the new information.
MCP error / server down. Surface the error and suggest the user
run mempalace status or re-run /mempalace-init. Never fall back to
guessing.
Palace index corrupt / compactor error. If the server reports an
HNSW segment-writer error, a ChromaDB compaction failure, or stays
"Not connected" after a write, the vector index is out of sync with
chroma.sqlite3 while the drawer rows remain intact. Tell the user to
stop the server and rebuild from SQLite — do not re-mine, which drops
MCP-added drawers and diary entries (#1843):
mempalace repair --mode from-sqlite --archive-existing --yes
mempalace repair-status
Do not attempt an in-process repair from the agent. Full steps are in the shared protocol's "Recovering a corrupt index" section.
Conflicting facts. Trust the knowledge graph's time-valid answer; invalidate-then-add rather than overwriting silently.
query
argument — keep queries short and keyword-driven.npx claudepluginhub mempalace/mempalace --plugin mempalaceMines projects and conversations into a searchable memory palace. Activates on queries about MemPalace, memory palace, mining, searching, palace setup, wings, rooms, drawers, or recalling past work.
Recalls decisions, patterns, and surprises from MemPalace before planning a phase. Reads config, resolves wing/mode/transport, and performs a read-only search to surface relevant memories.
Searches and navigates knowledge in memory palaces using spatial, semantic, sensory, associative, and temporal queries. Use for cross-referencing, context retrieval, and PR review.