Mema

From dvcrn/openclaw-skills-marketplace · View interactive version

Mema is an AI agent skill from the GitHub repository dvcrn/openclaw-skills-marketplace. Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ephemeral session state.

How to use this skill

Skill file

Mema Brain (Centralized Memory)

Standardized memory system providing a Metadata Index (SQLite) and Short-Term Context (Redis).

Core Components

1. Document Index (SQLite)

2. Short-Term Memory (Redis)

Core Workflows

Indexing Knowledge

Record a file's location and tags in the local database.

Searching Index

List indexed paths filtered by tag or recency.

Mental State (Redis)

Manage key-value pairs in the mema:mental namespace.

Setup

  1. Copy env.example.txt to .env.
  2. Configure REDIS_HOST and REDIS_PORT (defaults: localhost:6379).
  3. Initialize the SQLite schema:

python3 $WORKSPACE/skills/mema/scripts/mema.py init

Reliability & Security

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.