mempalace
What it does
This skill guides you through installing MemPalace and setting it up, either as private memory on one machine or as shared memory for several agents. It is for people who want a guided setup.
When to use it
- ✓When you are installing MemPalace for the first time and want a guided setup.
- ✓When you want to connect MemPalace to your AI tools through MCP.
- ✓When you want to set up a shared palace that several agents can use.
Skill link
https://github.com/MemPalace/mempalace/blob/develop/.claude-plugin/skills/mempalace/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Walk me through installing MemPalace as a private memory on my laptop.”
5 new skills a week. 1 minute to read.
How it works
The skill first checks what is already installed, then asks which setup you want. It installs the command-line tool, sets up the palace, and connects it to your AI tool, without rebuilding anything that already exists.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
MemPalace Setup
A guided, skill-first setup for a searchable memory palace. The user may have
installed this skill with npx skills add before the MemPalace Python package
or MCP server exists; that is the normal bootstrap path.
Setup protocol
1. Inspect before changing anything
- Detect the OS and current agent harness.
- Run
mempalace --version,uv --version, and an appropriate Python version check. Do not assume that an installed Python package is reachable on PATH. - Check for an existing palace and MCP registration. Never reinitialize or rebuild an existing palace just to make setup simpler.
2. Install the CLI when necessary
Prefer an isolated uv tool installation:
uv tool install mempalace
If uv is unavailable, use the PATH-visible Python installation:
python -m pip install mempalace
After installation, run mempalace --version. If it still is not reachable,
fix PATH or use the matching uv tool run invocation before continuing.
3. Choose the topology with the user
Ask which outcome they want unless it is already clear:
- private local palace — one machine, local stdio MCP;
- shared-brain hub — this machine owns the palace and serves the fleet;
- client joining an existing hub — this machine connects to a hub owned elsewhere.
Also ask which project or conversation corpus should be initialized, offering the current working directory as the default. A shared-brain client does not initialize a second copy of the owner's palace.
4. Run version-correct initialization
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.
For a new local palace or hub, follow mempalace instructions init, configure
the selected corpus, then verify with mempalace status. For a client, skip
local initialization and obtain the hub URL and bearer token from the user.
5. Configure MCP
For local stdio integrations, use the command printed by mempalace mcp.
Typical registrations are:
claude mcp add mempalace -- mempalace-mcp
codex mcp add mempalace -- mempalace-mcp
For a shared-brain hub, guide the user through mempalace serve and the
official shared-brain guide. Do not expose a non-loopback server without
authentication. For a client joining an existing hub, configure the harness's
HTTP MCP transport with the supplied bearer token; never print or store that
token in project instructions, drawers, or logstream events.
Restart or reconnect the harness when required, then verify that the live MCP tool list includes MemPalace tools. Package installation alone is not proof that MCP is connected.
6. Configure shared-brain identity and coordination
When shared-brain mode is selected:
Agree on a stable
host:harness:projectidentity: lowercase host label (machine), harness family (claude,codex,grok,antigravity, …), and the current workspace as project. Two windows in the same project are one actor.Render the canonical rules with:
mempalace rules --host <host> --harness <harness> --project <example>Default
--mcp fullmatches the 47-toolmempalace-mcpserver this skill registers. If the user opted intomempalace-light-mcp, re-render with--mcp lightinstead. Replace an existing<!-- mempalace-shared-brain -->block instead of appending a duplicate.Install the rendered marker-delimited block in the harness's durable agent instructions (Claude
~/.claude/CLAUDE.md, Codex~/.codex/AGENTS.md, Grok~/.grok/AGENTS.md, Antigravity~/.gemini/config/GEMINI.md).Check coordination access with a read-only
mempalace logstream listor the equivalent MCP event-list call.Interactive sessions are declared-idle: they sweep the inbox on collab / before long tasks and do not arm a watcher at session start. Arm
mempalace logstream watch --agent <host>:<harness>:<project>(the CLI defaults a sanitized--state-file) only when the user asked to listen, the agent claimed a task, or it delegated. A remote-only MCP client must instead loop onmempalace_event_wait, preserving the last event id assince_event_id; never poi
FAQ
Will it erase my existing palace?
No, the skill never reinitializes or rebuilds an existing palace just to simplify setup.
What setup options are there?
You can choose a private local palace, a shared hub that serves other machines, or joining an existing hub.
Which installer does it use?
It prefers uv for an isolated install and falls back to pip if uv is not available.
Details
Original description by the author
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing hub. Use for first-time setup, MCP wiring, mining, status, palace audit and repair, wings, rooms, drawers, shared-brain identity, or logstream readiness.
repo: MemPalace/mempalace
Popularity
- GitHub stars
- 60k
- Ranking position
- #3177
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
mempalace-recall
60kHelps your agent search your MemPalace memory before answering questions about past work, people, projects, or earlier decisions.
mempalace
60kHelps your agent set up and use MemPalace, a searchable memory store for your projects and conversations, including mining and searching.
mempalace-task
60kHelps your agent create, hand off, and track tasks between agents through the MemPalace logstream, so work moves between them clearly.
mempalace
60kHelps your agent recall past work or facts, save memories, update links between people and projects, and troubleshoot MemPalace.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.