mempalace
Skill này làm gì
Skill này hướng dẫn bạn cài đặt và thiết lập MemPalace, hoặc như bộ nhớ riêng trên một máy, hoặc như bộ nhớ chung cho nhiều agent. Nó dành cho người muốn được hướng dẫn thiết lập.
Khi nào nên dùng
- ✓Khi bạn cài MemPalace lần đầu và muốn được hướng dẫn thiết lập.
- ✓Khi bạn muốn kết nối MemPalace với các công cụ AI của mình qua MCP.
- ✓Khi bạn muốn thiết lập một palace chung mà nhiều agent có thể dùng.
Liên kết skill
https://github.com/MemPalace/mempalace/blob/develop/.claude-plugin/skills/mempalace/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hướng dẫn tôi cài MemPalace làm bộ nhớ riêng trên laptop của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill trước hết kiểm tra những gì đã được cài, rồi hỏi bạn muốn thiết lập nào. Nó cài công cụ dòng lệnh, thiết lập palace và kết nối với công cụ AI của bạn, mà không xây lại những gì đã có.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có xóa palace hiện có của tôi không?
Không, skill không bao giờ khởi tạo lại hoặc xây lại một palace hiện có chỉ để đơn giản hóa thiết lập.
Có những tùy chọn thiết lập nào?
Bạn có thể chọn một palace cục bộ riêng, một hub chung phục vụ các máy khác, hoặc tham gia một hub có sẵn.
Nó dùng trình cài đặt nào?
Nó ưu tiên uv để cài đặt cô lập và dùng pip nếu uv không có sẵn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 60k
- Vị trí xếp hạng
- #3177
- Giấy phép
- MIT
- Cập nhật
- 31/10/2026
Bình luận
- …
Thêm skill từ kho mã này
mempalace-recall
60kGiúp agent của bạn tìm trong bộ nhớ MemPalace trước khi trả lời các câu hỏi về công việc, người, dự án hoặc quyết định trước đó.
mempalace
60kGiúp agent của bạn thiết lập và dùng MemPalace, một kho bộ nhớ có thể tìm kiếm cho các dự án và cuộc trò chuyện, gồm khai thác và tìm kiếm.
mempalace-task
60kGiúp agent của bạn tạo, chuyển giao và theo dõi công việc giữa các agent qua logstream của MemPalace, để công việc di chuyển giữa họ rõ ràng.
mempalace
60kGiúp agent của bạn gợi nhớ công việc hoặc sự kiện trước đây, lưu ký ức, cập nhật liên kết giữa người và dự án, và khắc phục sự cố MemPalace.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.