Skip to content
cccskills
FreePublished on GitHub

mempalace-recall

Answer questions about past work, people, projects, and decisions by searching stored MemPalace records first. Retrieve exact source wording, check facts at relevant dates, and maintain session continuity without guessing when records are unavailable.

OriginalShow the original description

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.

See how to install

Good for

  • Recall a previous decision
  • Retrieve exact wording from an earlier discussion
  • Check stored facts about a person or project
  • Trace changes in facts over time

Files included (1)

  • SKILL.md6.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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 or /mempalace-init 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, if a session-start hook injected additional_context, honour its wing scoping.
  2. Before responding about people / projects / past events / 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: say "let me check the palace" and query.
  4. Return the drawer's verbatim text. Never summarize or paraphrase stored content — quoting the exact words is the point of the system.
  5. After a substantive session, record continuity with mempalace_diary_write (skip if a background hook already saved).
  6. When a fact changes: use mempalace_kg_supersede for single-valued replacements, 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 Cursor recall rule and the other integrations — is published in the MemPalace repository.

Tool selection

You needTool
Find any memory by meaningmempalace_search
Relational / time-bound facts about an entitymempalace_kg_query
Replace a single-valued factmempalace_kg_supersede
The chronological story of an entitymempalace_kg_timeline
Recent session continuitymempalace_diary_read
Which wings / rooms exist (scope unknown)mempalace_list_wings, mempalace_list_rooms
Record this sessionmempalace_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).

Active coordination is not recall. When delegating work to another agent on the shared hub — or waiting for its reply or patch — use the logstream tools (mempalace_event_append, mempalace_event_wait, mempalace_patch_submit, mempalace_artifact_get), not drawers or search. The canonical protocol is published in the MemPalace repository.

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. Offer 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; use mempalace_kg_supersede for single-valued replacements, mempalace_kg_invalidate for facts that ended without replacement, and mempalace_kg_add for independent/coexisting facts.

Anti-patterns — never do these

  • Answering about past work, people, or decisions from model memory when the palace might know — search first.
  • Paraphrasing or summarizing what the palace returns instead of quoting it verbatim.
  • Searching on every turn, including greenfield tasks with no memory relevance.
  • Pasting the whole conversation or a system prompt into the query argument — keep queries short and keyword-driven.

Official References

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

audit

FreeSummary

Assess how well a MemPalace memory palace is organized, then work through a guided repair session. The skill retrieves audit instructions and proceeds one decision at a time to address its organization.

  • Assessing MemPalace organization
  • Reviewing an organization score
  • Working through repairs one decision at a time
MemPalace/mempalace59.7KUpdated Oct 22, 2026

help

FreeSummary

Find available MemPalace commands, usage tips, and getting started guidance. This skill retrieves the help instructions and follows them step by step to guide users through the basics of using MemPalace.

  • Getting started with MemPalace
  • Checking available commands
  • Reviewing usage tips
MemPalace/mempalace59.7KUpdated Oct 22, 2026

init

FreeSummary

Initialize a new MemPalace for AI memory through a guided setup process. The skill retrieves setup instructions for a configuration that uses ChromaDB as its data storage backend and follows the returned steps.

  • Creating a new MemPalace
  • Setting up AI memory with ChromaDB
  • Following guided initialization steps
MemPalace/mempalace59.7KUpdated Oct 22, 2026

mempalace

FreeSummary

Store conversation history and project material locally, then search by meaning and retrieve original text. Organize memories by person or project, track dated relationships and facts, and keep diary entries that connect work across sessions.

  • Import conversation history or project files
  • Search past discussions by meaning
  • Organize records by person, project, and topic
MemPalace/mempalace59.7KUpdated Oct 22, 2026

mempalace

FreeSummary

Store project files and conversation transcripts as searchable memories while preserving their original text. Retrieve past decisions, code, and notes by meaning, inspect stored content, and review how well memories are organized.

  • Retrieve past decisions from conversation history
  • Make project files searchable by meaning
  • Inspect stored memories and their organization
MemPalace/mempalace59.7KUpdated Oct 22, 2026

mempalace

FreeSummary

Set up and maintain MemPalace as a searchable store of project and conversation memories. Configure a private installation, a shared hub, or a hub client, connect agent tools, and audit how stored information is organized.

  • Setting up a private memory store
  • Sharing a memory hub between AI agents
  • Connecting Claude or Codex through MCP
MemPalace/mempalace59.7KUpdated Oct 22, 2026

See all skills by MemPalace

Report a problem with this skill