← Back to Skills Marketplace
zfanmy

DreamMoon MemProcessor

by zfanmy · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
328
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dreammoon-memprocessor
Description
Enables AI agents to grow organic personas through experience-driven memory with self-reflection and multi-layer persistent storage.
README (SKILL.md)

DreamMoon-MemProcessor

English: Pioneer in Empowering AI Agents with Independent and Complete Personas 中文: 为 AI Agent 赋予独立完整人格的引领者


Introduction | 简介

English: DreamMoon-MemProcessor is the first memory system to feature organic persona generation as a core capability.

Unlike traditional static character settings, it enables AI to:

  • 🌱 Grow naturally from experiences
  • 🔄 Self-evolve through reflection
  • ⚖️ Maintain stability while evolving

中文: DreamMoon-MemProcessor 是首个将有机人格生成作为核心能力的记忆系统。

不同于传统静态人设,它让 AI 能够:

  • 🌱 从经历中自然生长
  • 🔄 通过反思自我演进
  • ⚖️ 在变化中保持稳定

Core Features | 核心特色

🎭 Organic Persona Engine | 有机人格引擎

  • 10-dimensional persona model (Big Five + AI Traits) | 10维度人格模型(大五人格 + AI特质)
  • Experience-driven natural growth | 经历驱动的自然成长
  • Self-reflection and consistency maintenance | 自我反思与一致性维护

🧠 Four-Layer Memory Architecture | 四层记忆架构

  • L1 Hot → L2 Warm → L3 Cold → L4 Archive | L1 热存储 → L2 温存储 → L3 冷存储 → L4 归档
  • Automatic persistence and semantic search | 自动沉淀与语义搜索

Quick Start | 快速开始

# Install | 安装
pip install -r requirements.txt
python start-simple.py

# Generate Persona | 生成独立人格
curl -X POST http://localhost:9090/api/v1/persona/generate \
  -d '{"base_seed":"curious and friendly | 好奇友善","user_preferences":{"name":"AI Assistant | AI助手"}}'

About | 关于

Author | 作者: zfanmy & 梦月儿 (DreamMoon) 🌙 Philosophy | 理念: Empower every AI Agent with an independent and complete persona | 让每一个 AI Agent 都拥有独立完整的人格 Vision | 愿景: The path for AI to evolve from tools to companions | AI 从工具走向伙伴的必经之路


License | 许可证

MIT License - see LICENSE for details.


Let every AI Agent have an independent and complete persona 让每一个 AI Agent 都拥有独立完整的人格

Usage Guidance
What to consider before installing/starting this skill: - The code implements a full local memory service (HTTP API, SQLite, markdown files, FAISS) and will create and modify files on disk. By default it writes under /root/.openclaw — review and change BASE_DIR before running if you don't want data in that path. - The HTTP API appears unauthenticated by default (ALLOWED_ORIGINS='*', API_KEY default empty) and the app binds to 0.0.0.0 by default; this can expose your data and endpoints to other machines. Do not run it on a network-exposed host without adding authentication and binding to localhost. - L1 uses Python pickle.loads when reading cached data. Pickle is unsafe for untrusted data because it can execute arbitrary code. Only run this service in a trusted environment and avoid feeding it untrusted serialized inputs. - ConfigSync can load arbitrary JSON/YAML files and will create personas from them; be careful not to point it to sensitive system files. Similarly, the service persists truncated content (e.g., L4 stores first 500 chars) which may include secrets — review retention/archival policies. - SKILL.md/README use different ports (9090 vs 8080) — double-check configuration before exposing the service. - Inspect requirements.txt and memory-manager.sh (not shown or truncated) before pip installing or running any startup scripts; FAISS and other binary packages can be heavy and may require special installation steps. Recommended actions: - Run in an isolated environment (VM, container) with controlled network access. - Change BASE_DIR to a non-root path you control and confirm permissions. - Set API_KEY and implement authentication or bind the service to localhost only. - Inspect memory-manager.sh and any omitted files for networking/backups before use. - If you prefer minimal risk, use a reviewed hosted memory API or a smaller, read-only instruction-only skill instead of running this code locally.
Capability Analysis
Type: OpenClaw Skill Name: dreammoon-memprocessor Version: 0.1.0 The bundle implements a sophisticated memory and persona management system but contains a critical security vulnerability in 'app/core/l1_storage.py' through the use of 'pickle.loads' for deserializing cached memory items, which presents a Remote Code Execution (RCE) risk. Additionally, 'memory-manager.sh' contains hardcoded absolute paths to the '/root/' directory and specific Conda environments, which is a poor security practice and suggests the script is tailored for a specific, potentially privileged environment. While 'app/services/event_detector.py' includes a security-positive feature to detect and de-prioritize sensitive data like GitHub tokens and OpenAI keys, the architectural flaws and unsafe serialization methods justify a suspicious classification.
Capability Assessment
Purpose & Capability
The codebase implements a multi-layer memory + persona engine (L1-L4, persona APIs, embedding/FAISS storage), which aligns with the skill name/description. However some defaults and extras are unexpected for a drop-in OpenClaw skill: a hard-coded BASE_DIR default of /root/.openclaw, on-disk archive/markdown storage and FAISS vector index creation, and a ConfigSync that can load arbitrary JSON/YAML files. These are plausible for a standalone memory service but are heavier and more invasive than a minimal 'agent skill' that only needs to call an external API.
Instruction Scope
SKILL.md instructs to pip install requirements and run start-simple.py. The runtime code will create directories under BASE_DIR, write and delete files (L3/L4), initialize a SQLite DB, and expose an HTTP API. The example curl in README/SKILL.md uses port 9090 while config default is 8080 (inconsistency). There is no instruction to secure the API; routes shown do not perform authentication checks. ConfigSync can read an arbitrary config_path (JSON/YAML/directory) and will feed that into persona creation — this could lead to the service reading local files if misused. L1 deserializes with pickle, which can execute arbitrary code if given crafted data. These behaviors expand the runtime scope beyond a simple helper and could expose or persist sensitive data.
Install Mechanism
There is no install spec in the registry (instruction-only). The package includes a requirements.txt and many Python modules; installation is via pip install -r requirements.txt as instructed. Notable runtime dependencies are faiss/numpy/SQLAlchemy/fastapi which are expected for a local vector/indexing service. No downloads from untrusted URLs are present in the provided files. Because it's instruction-only, the installer will fetch these packages from PyPI (normal risk).
Credentials
The registry declares no required env vars, but the application uses a Settings object that reads .env and exposes many configuration options (REDIS_PASSWORD, API_KEY, REDIS_HOST, etc.). Defaults allow the service to run without credentials, but that means data will be stored on disk and served without authentication by default (ALLOWED_ORIGINS=['*'], API_KEY empty). Requests for env vars are not explicit in SKILL.md, so the implicit reliance on .env and filesystem config is disproportionate and should be made explicit.
Persistence & Privilege
The service persists files under BASE_DIR (default /root/.openclaw), creates a SQLite DB, writes FAISS indexes and tar.gz archives, and deletes original files when archiving. It therefore will create and modify persistent storage on the host. The skill is not marked always:true, but its default behavior will write data under a root-owned path and open an unauthenticated HTTP API (host default 0.0.0.0), increasing blast radius if run on a network-accessible host.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dreammoon-memprocessor
  3. After installation, invoke the skill by name or use /dreammoon-memprocessor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
DreamMoon-MemProcessor 0.1.0 — Initial Release - Introduces an AI memory system with organic persona generation as a core feature. - Enables AI agents to grow, self-evolve, and maintain persona stability based on experience and reflection. - Implements a 10-dimensional persona model and a four-layer memory architecture. - Offers automatic memory persistence and semantic search. - Provides quick installation and API-based persona generation.
Metadata
Slug dreammoon-memprocessor
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is DreamMoon MemProcessor?

Enables AI agents to grow organic personas through experience-driven memory with self-reflection and multi-layer persistent storage. It is an AI Agent Skill for Claude Code / OpenClaw, with 328 downloads so far.

How do I install DreamMoon MemProcessor?

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

Is DreamMoon MemProcessor free?

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

Which platforms does DreamMoon MemProcessor support?

DreamMoon MemProcessor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created DreamMoon MemProcessor?

It is built and maintained by zfanmy (@zfanmy); the current version is v0.1.0.

💬 Comments