Mema

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.

33 stars 17 forksDatabases Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add dvcrn/openclaw-skills-marketplace

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dvcrn/openclaw-skills-marketplace --skill mema
Manual install
git clone --depth 1 https://github.com/dvcrn/openclaw-skills-marketplace.git /tmp/openclaw-skills-marketplace
mkdir -p ~/.claude/skills
cp -r /tmp/openclaw-skills-marketplace/plugins/1999azzar--mema/skills/mema ~/.claude/skills/mema

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Mema Brain (Centralized Memory)

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

## Core Components

### 1. Document Index (SQLite)
- **Primary Path:** `~/.openclaw/memory/main.sqlite`
- **Capability:** Stores file paths, titles, and tags. 
- **Note:** This is a **Metadata Index only**. It does not ingest or provide full-text search of file contents.

### 2. Short-Term Memory (Redis)
- **Key Prefix:** `mema:mental:*`
- **Purpose:** Ephemeral state management and cross-session context passing.
- **TTL:** Default 6 hours (21600 seconds).

## Core Workflows

### Indexing Knowledge
Record a file's location and tags in the local database.
- **Usage**: `python3 $WORKSPACE/skills/mema/scripts/mema.py index <path> [--tag <tag>]`

### Searching Index
List indexed paths filtered by tag or recency.
- **Usage**: `python3 $WORKSPACE/skills/mema/scripts/mema.py list [--tag <tag>]`

### Mental State (Redis)
Manage key-value pairs in the `mema:mental` namespace.
- **Set**: `python3 $WORKSPACE/skills/mema/scripts/mema.py mental set <key> <value> [--ttl N]`
- **Get**: `python3 $WORKSPACE/skills/mema/scripts/mema.py mental get <key>`

## 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
- **Data Privacy**: All data is stored locally.
Read the full skill on GitHub

Details

Skill name
mema
Path
plugins/1999azzar--mema/skills/mema/SKILL.md
Repo updated
29 August 2026

FAQ

What does the Mema skill do?

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 do I install the Mema skill?

Claude Code plugin: /plugin marketplace add dvcrn/openclaw-skills-marketplace. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Mema popular?

It lives in dvcrn/openclaw-skills-marketplace, which has 33 GitHub stars and 17 forks.

Related skills

0protocol

33

dvcrn/openclaw-skills-marketplace

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

AI, LLMs & Agents17

0xarchive

33

dvcrn/openclaw-skills-marketplace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

Finance & Crypto17

Aaas Roi Calculator

33

dvcrn/openclaw-skills-marketplace

Calculate ROI for AI-as-a-Service (managed AI agents). Estimates cost savings, efficiency gains, and payback period for deploying AI agents across business operations. Use when evaluating whether managed AI agents make financial sense for a company.

AI, LLMs & Agents17

Mema Vault

33

dvcrn/openclaw-skills-marketplace

Secure credential manager using AES-256 (Fernet) encryption. Stores, retrieves, and rotates secrets using a mandatory Master Key. Use for managing API keys, database credentials, and other sensitive tokens.

Databases17

Supabase

45

j4flmao/agent-skills

Use when the user asks about Supabase, setting row level security policies in Supabase, Supabase Auth, Realtime, Storage policies, Edge Functions or supabase CLI migrations. Produces Supabase schema, RLS and function code. Not for Firebase (use firebase) or general multi-tenancy (use backend-multi-tenancy).

Databases

Disenar Arquitectura Datasets Tablas Bigquery

9

detrics/claude-skills

Diseña una arquitectura de datos de marketing en BigQuery con Detrics — decide los datasets, table groups, tablas y campos por fuente de datos, planifica las queries de consolidación (y las ejecuta vía un MCP de BigQuery si está disponible) y produce las tablas master que consumen tus dashboards. Usar cuando un usuario quiere planificar o reestructurar su data warehouse de marketing, organizar datos de múltiples clientes, decidir qué tablas y campos sincronizar, o diseñar los esquemas que alimentan sus dashboards.

Databases

Browse the most popular Claude skills, all databases skills, or write your own with the skills generator.