Files
mempalace/tools/save.md
T
Igor Lins e Silva c35686c9e1 docs(install): recommend uv as the package manager
End-user installs now lead with `uv tool install mempalace`, with
`pip install mempalace` kept as a fallback. Dev/contributor docs lead
with `uv sync --extra dev` and `uv run` for tests/benchmarks/lint, with
the equivalent pip recipe kept inline. The shipped `/mempalace:init`
skill instructions (mempalace/instructions/init.md) try `uv tool install`
first when uv is on PATH, then fall back through the pip variants.

Adds a .python-version pin at 3.12 because the lockfile's
onnxruntime==1.24.3 only ships wheels for Python >=3.11; without the
pin, `uv sync` on a host where uv prefers 3.10 fails with no source
distribution available, which would make the documented command a
footgun. pyproject's `requires-python = ">=3.9"` is unchanged — pip
users on 3.9/3.10 are unaffected.

Files updated: README.md, CONTRIBUTING.md, CLAUDE.md, the gemini-cli
guide and example, the .claude-plugin / .codex-plugin READMEs, the
mempalace SKILL, the openclaw SKILL, tools/save.md, the three
benchmarks docs, and the corresponding website mirrors.
2026-05-08 01:38:00 -03:00

935 B

description
description
Save the current Claude Code session into MemPalace. Idempotent — won't dupe.

/save

Save the current Claude Code session into MemPalace. Run this when you want a checkpoint. Safe to run repeatedly — drawer IDs are content-hashed so re-running on the same session overwrites in place, no duplicates.

Behavior:

  1. Find the current session's JSONL transcript path (Claude Code passes it via the conversation context — look for ~/.claude/projects/ paths).

  2. Run via bash:

    mempalace mine "<TRANSCRIPT_PATH>" --mode convos --wing claude_imports
    
  3. If the user supplied an argument after /save, use it as the wing name instead of claude_imports (e.g. /save my_research--wing my_research).

  4. Report back: how many drawers were filed, into which wing/room.

Requires mempalace to be installed (uv tool install mempalace recommended, or pip install mempalace).