本文へスキップ
Skillpedia
エージェント60k · #3177

mempalace

できること

このスキルは、MemPalaceをインストールして設定する手順を案内します。1台のマシンの非公開の記憶として、または複数のエージェントの共有の記憶として設定します。ガイド付きのセットアップを求める人向けです。

使う場面

  • ✓MemPalaceを初めてインストールし、ガイド付きの設定がほしいとき。
  • ✓MemPalaceをMCPを通じてAIツールに接続したいとき。
  • ✓複数のエージェントが使える共有パレスを設定したいとき。

スキルのリンク

https://github.com/MemPalace/mempalace/blob/develop/.claude-plugin/skills/mempalace/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/MemPalace/mempalace/blob/develop/.claude-plugin/skills/mempalace/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のノートパソコンで、MemPalaceを非公開の記憶としてインストールする手順を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、まず既にインストールされているものを確認し、どのセットアップがよいかを尋ねます。そしてコマンドラインツールをインストールし、パレスを設定して、AIツールに接続します。既存のものは再構築しません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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:

  1. private local palace — one machine, local stdio MCP;
  2. shared-brain hub — this machine owns the palace and serves the fleet;
  3. 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:project identity: 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 full matches the 47-tool mempalace-mcp server this skill registers. If the user opted into mempalace-light-mcp, re-render with --mcp light instead. 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 list or 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 on mempalace_event_wait, preserving the last event id as since_event_id; never poi

よくある質問

既存のパレスを消しますか?

いいえ。このスキルは、セットアップを簡単にするためだけに、既存のパレスを再初期化したり再構築したりすることは決してありません。

どんなセットアップの選択肢がありますか?

非公開のローカルのパレス、他のマシンに提供する共有ハブ、既存のハブへの参加から選べます。

どのインストーラーを使いますか?

独立したインストールのためにuvを優先し、uvがない場合はpipに切り替えます。

詳細

作者による元の説明

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

人気

GitHubのスター
60k
ランキング
#3177
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル