← Back to Skills Marketplace
mars82311111

Mempalace Memory

by mars82311111 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
91
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install mempalace-memory
Description
基于MemPalace融合SuperMem增强层,提供自动hook注入、多样性重排、相似度去重和高效上下文记忆管理。
Usage Guidance
This skill is plausibly a local-memory enhancement, but it makes strong assumptions about the environment (hardcoded /Users/mars paths, Python site-packages, local Ollama at http://localhost:11434, and local ChromaDB paths). Before installing or activating: 1) Review the three Python scripts line-by-line (they will execute on your machine and access local files and DBs). 2) Replace or parameterize hardcoded paths (MEMPALACE_CLI, sys.path inserts) to match your system or remove them. 3) Ensure Ollama/chroma services are intended and secured (they are contacted locally via curl/subprocess). 4) Back up any local ~/.mempalace or ~/.super-mem data you care about; the scripts include deletion/forget functionality. 5) Prefer running first in a sandbox or test account, and only register the hook under ~/.openclaw/hooks when you trust the code. If you want, provide the full remainder of the truncated mempalace_cli.py (credential filter section) so I can re-evaluate any missing behaviors.
Capability Analysis
Type: OpenClaw Skill Name: mempalace-memory Version: 1.1.0 The skill bundle implements a sophisticated memory retrieval and storage system (MemPalace/SuperMem) for an AI agent. It features proactive security measures, including regex-based credential filtering in `mempalace_cli.py` and `super_mem_cli.py` to prevent the accidental storage of GitHub tokens or passwords. While the scripts utilize `subprocess` to interact with local binaries and `curl` to communicate with a local Ollama instance (localhost:11434), these actions are strictly aligned with the stated purpose of managing a local vector database and generating embeddings. The presence of hardcoded paths (e.g., `/Users/mars/`) indicates a personalized configuration rather than malicious intent.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The name/description (memory retrieval + MMR/dedup) aligns with the included scripts (search, dedup, mmr, strip, ChromaDB bridge). However the code hardcodes paths tied to a specific developer environment (/Users/mars/Library/Python/3.9/bin/mempalace, sys.path insert to /Users/mars/...site-packages) and references local storage locations (~/.mempalace, ~/.super-mem, ~/.openclaw) and a local Ollama endpoint. Those hardcoded environment assumptions are not justified by the skill metadata (which declares no required binaries or env) and are likely to fail or cause unintended file access on other machines.
Instruction Scope
SKILL.md instructs running the packaged Python scripts and registering a hook under ~/.openclaw/hooks/... and the scripts do exactly that: they call a local mempalace CLI, access local ChromaDB stores, read/inspect files (source file paths, identity file, workspaces) and call a local embeddings endpoint (http://localhost:11434). The instructions and code also reference creating/reading ~/.mempalace/identity.txt and deleting memories (ChromaDB). While these operations are consistent with a memory skill, they grant the skill broad local file and DB access and assume specific local services; the instructions do not ask for explicit confirmation or provide a safe fallback for environments where these paths/services are absent.
Install Mechanism
There is no formal install spec (instruction-only), which limits automatic risk from downloads. But the skill ships executable Python scripts that will be executed by the agent (via /usr/bin/python3). Those scripts depend on external binaries/services (mempalace CLI at a hardcoded path, Ollama embedding endpoint, chromadb/persistent client). Because the skill contains runnable code, it will execute with the agent's local file and network privileges if invoked — review the code before running.
Credentials
The skill declares no environment variables or credentials, which is appropriate, but the code inspects and manipulates local files and local ChromaDB stores (e.g., ~/.mempalace/palace, ~/.super-mem/chroma, ~/.openclaw/workspace). It also embeds an explicit reference to a developer's Python binary location and site-packages. These file-system accesses are broad relative to the metadata (no explicit permission/consent steps) and could expose or modify local data. The scripts include credential-detection/filtering code (masking patterns) which indicates they may process data that contains secrets — that makes the local data access capability more sensitive.
Persistence & Privilege
The skill is not forced-always and does not request elevated platform privileges. However SKILL.md expects a hook file at ~/.openclaw/hooks/mempalace-recall/handler.ts to be installed/registered for automatic invocation; that implies persistent integration with the agent if you or the integrator place that file. The skill itself does not include an install step to create system-wide effects, but following the document will involve adding a persistent hook and allowing scripts to access local storages.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mempalace-memory
  3. After installation, invoke the skill by name or use /mempalace-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
### v1.1.0 - Updated `mempalace_cli.py` (details not specified; see diff for code-specific changes). - No user-facing command, architecture, or documentation changes detected. - Core skill functionality and usage unchanged from previous release.
v1.0.1
v1.0.1 - Updated `mempalace_cli.py`; minor adjustments and cleanup. - No changes to overall features or user-facing behavior. - Documentation and CLI usage remain unchanged.
v1.0.0
MemPalace Memory Skill 1.0.0 (Enhanced v4) introduces major improvements and critical fixes: - Fixed hook now correctly calls `mempalace_cli.py` instead of the legacy `super_mem_cli.py` - Removed unsupported `--no-exact` argument from command calls - Enabled MMR diversity reranking, Levenshtein deduplication (>85% similarity), and metadata cleaning by default - Legacy `super_mem_cli.py` hook usage fully removed, with SuperMem now an optional standalone bridge - Added creation of the identity file `~/.mempalace/identity.txt` and included full first-principles architecture documentation
Metadata
Slug mempalace-memory
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Mempalace Memory?

基于MemPalace融合SuperMem增强层,提供自动hook注入、多样性重排、相似度去重和高效上下文记忆管理。 It is an AI Agent Skill for Claude Code / OpenClaw, with 91 downloads so far.

How do I install Mempalace Memory?

Run "/install mempalace-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Mempalace Memory free?

Yes, Mempalace Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Mempalace Memory support?

Mempalace Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Mempalace Memory?

It is built and maintained by mars82311111 (@mars82311111); the current version is v1.1.0.

💬 Comments