← 返回 Skills 市场
Mema Brain
作者
azzar budiyanto
· GitHub ↗
· v1.1.1
840
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install mema
功能描述
Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ep...
安全使用建议
This skill appears to do what it says: maintain a local SQLite metadata index and use a Redis namespace for ephemeral state. Before installing, confirm you trust the Redis endpoint you will configure—pointing REDIS_HOST to a remote or untrusted server will expose your short-term context to whoever controls that Redis instance (SKILL.md warns this). Note: the DB path is hard-coded to ~/.openclaw/memory/main.sqlite (env.example suggests DB_PATH but the script does not use it). The package only requires the redis Python library; review the small scripts/mema.py file yourself if you want full assurance. If you need encrypted/authenticated Redis, modify the script to support REDIS_PASSWORD or run a local, secured Redis instance.
功能分析
Type: OpenClaw Skill
Name: mema
Version: 1.1.1
The skill is classified as suspicious due to its network connectivity to a Redis instance configured via environment variables and its ability to store arbitrary file paths in a local SQLite database. While these capabilities are aligned with the stated purpose of a 'memory system,' they present a risk if the Redis instance is misconfigured or insecure, or if an agent is instructed to index sensitive paths. The `SKILL.md` provides a warning about Redis host trustworthiness, but the underlying capability for potential misuse by a compromised agent remains.
能力评估
Purpose & Capability
Name and description match the artifacts: the package contains a Python script that manages a local SQLite metadata index and reads REDIS_HOST/REDIS_PORT to operate an ephemeral Redis namespace. Required binaries and the single dependency (redis library) are proportionate to the described functionality.
Instruction Scope
Runtime instructions and the script stay within the stated domain (initializing a local DB, recording file paths/tags, and setting/getting/clearing Redis keys). One minor inconsistency: env.example.txt mentions DB_PATH but the script ignores DB_PATH and uses a hard-coded ~/.openclaw/memory/main.sqlite; SKILL.md warns about pointing REDIS_HOST to trusted instances (correct), but the claim 'All data is stored locally' only holds if Redis is local/trusted.
Install Mechanism
No remote downloads or opaque installers. The SKILL.md recommends running 'pip install -r requirements.txt' which only installs the redis PyPI package—an expected, low-risk dependency.
Credentials
Only REDIS_HOST and REDIS_PORT are required. No unrelated credentials, secrets, or config paths are requested. Note: the script does not accept a REDIS password or auth token (no REDIS_PASSWORD), so it expects either unauthenticated or otherwise-trusted Redis endpoints.
Persistence & Privilege
The skill does not request elevated privileges and is not permanently forced on (always:false). It writes its own data to ~/.openclaw/memory and does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mema - 安装完成后,直接呼叫该 Skill 的名称或使用
/mema触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Addressed audit findings: added REDIS_PORT to metadata, clarified metadata-only indexing (no full-text), and ensured env.example.txt inclusion.
v1.1.0
Addressed audit findings: ensured .env.example inclusion, fixed metadata, synchronized docs with implementation, and verified manifest contents.
v1.0.0
- Initial release of the mema skill: centralized memory for the agent combining SQLite (long-term) and Redis (short-term).
- Supports document indexing, tag-based search, and mental buffer for short-term context.
- Includes CLI commands for indexing, searching, and managing mental state.
- Persistent memory survives restarts; short-term context has a 6-hour TTL.
- Setup instructions provided for environment configuration and database initialization.
元数据
常见问题
Mema Brain 是什么?
Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ep... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 840 次。
如何安装 Mema Brain?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mema」即可一键安装,无需额外配置。
Mema Brain 是免费的吗?
是的,Mema Brain 完全免费(开源免费),可自由下载、安装和使用。
Mema Brain 支持哪些平台?
Mema Brain 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mema Brain?
由 azzar budiyanto(@1999azzar)开发并维护,当前版本 v1.1.1。
推荐 Skills