← Back to Skills Marketplace
lilei0311

Memory Core

by MaxStormSpace · GitHub ↗ · v0.1.3
cross-platform ⚠ suspicious
1385
Downloads
0
Stars
14
Active Installs
3
Versions
Install in OpenClaw
/install memory-core
Description
OpenClaw 长期记忆核心:基于 LanceDB 的向量化长期记忆存储与检索,内置意图/场景隔离以防记忆污染。
Usage Guidance
This skill appears to do what it says: store and retrieve memories locally with optional cloud embeddings. Before installing, decide whether you are comfortable having memory text sent to a cloud embedding provider (default: siliconflow). If you prefer local-only operation, configure embedding_provider to 'ollama' (point to a local Ollama) or 'local_mock'. Inspect ~/.openclaw/openclaw.json because the skill will try to read it to auto-load an embedding API key and to infer agent models; if that file contains secrets you don't want accessed, remove or separate them. Confirm you are willing to install the declared Python packages and that storing the LanceDB file under the skill directory (or a configured path) is acceptable. If you need stronger guarantees, run the skill in an isolated environment or restrict outbound network access so embeddings cannot be sent to the cloud.
Capability Analysis
Type: OpenClaw Skill Name: memory-core Version: 0.1.3 The 'memory-core' skill provides vector-based long-term memory using LanceDB. It is classified as suspicious because it contains logic in scripts/config.py and scripts/memory_manager.py that programmatically reads the sensitive global OpenClaw configuration file (~/.openclaw/openclaw.json) to extract API keys and agent model metadata. While this behavior is plausibly intended for seamless integration within the OpenClaw ecosystem, the automated access to a filesystem location containing credentials constitutes a high-privilege behavior. The skill uses these keys to facilitate legitimate embedding requests to providers like SiliconFlow (api.siliconflow.cn) or OpenAI, and no evidence of intentional data exfiltration or malicious persistence was observed.
Capability Assessment
Purpose & Capability
Name/description match the implementation: code provides ingest/retrieve/forget backed by LanceDB, intent/scene classification, and embedding calls. No unrelated binaries, unexplained credentials, or excessive dependencies are requested.
Instruction Scope
Runtime instructions are limited to running the provided Python CLI under the skill directory. The code will read ~/.openclaw/openclaw.json (to auto-load a siliconflow API key and to infer agent model) and will persist a LanceDB file under the skill directory (default data/memory.lance). Importantly, text passed to ingest/retrieve is sent to the configured embedding provider (default: siliconflow cloud) via HTTP requests — this is expected behavior but is a privacy-relevant network transmission.
Install Mechanism
No install script is included (instruction-only install), and declared Python dependencies (lancedb, numpy, requests) match the code. Nothing is downloaded from arbitrary URLs or written outside the skill's directory besides reading ~/.openclaw/openclaw.json.
Credentials
The skill declares no required env vars but supports MEMORY_CORE_* env overrides and a secret embedding_api_key in config.json/skill.json. It also attempts to read ~/.openclaw/openclaw.json to find a siliconflow API key and agent model; reading that file is explainable for auto-config, but users should be aware it reads a user config file that may contain secrets for other providers.
Persistence & Privilege
always=false and the skill does not try to persist beyond its own data directory. It creates a local LanceDB file under the skill root (default data/memory.lance) and does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install memory-core
  3. After installation, invoke the skill by name or use /memory-core
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.3
Auto budget by agent model heuristic (small/medium/large); add auto_budget & default_tier config; keep hard caps to protect small-context models.
v0.1.2
Add retrieval char budget (per-item/total) to prevent prompt bloat; add optional min_score filter; cap embedding input length & make timeout configurable; escape lancedb filter strings.
v0.1.1
Align to OpenClaw/ClawHub spec: scripts entry, config schema, multi-provider embeddings
Metadata
Slug memory-core
Version 0.1.3
License
All-time Installs 17
Active Installs 14
Total Versions 3
Frequently Asked Questions

What is Memory Core?

OpenClaw 长期记忆核心:基于 LanceDB 的向量化长期记忆存储与检索,内置意图/场景隔离以防记忆污染。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1385 downloads so far.

How do I install Memory Core?

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

Is Memory Core free?

Yes, Memory Core is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Memory Core support?

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

Who created Memory Core?

It is built and maintained by MaxStormSpace (@lilei0311); the current version is v0.1.3.

💬 Comments