← Back to Skills Marketplace
Mema Brain
by
azzar budiyanto
· GitHub ↗
· v1.1.1
840
Downloads
0
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install mema
Description
Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ep...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mema - After installation, invoke the skill by name or use
/mema - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 840 downloads so far.
How do I install Mema Brain?
Run "/install mema" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Mema Brain free?
Yes, Mema Brain is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Mema Brain support?
Mema Brain is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Mema Brain?
It is built and maintained by azzar budiyanto (@1999azzar); the current version is v1.1.1.
More Skills