Overview
- Skill Key
- 1999azzar/mema
- Author
- 1999azzar
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/1999azzar/mema
- Latest Commit SHA
- a90c6c678c4774e02449a81d0c04095a300f4cb5
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.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 mema 技能。 若已安装,则直接安装 mema 技能。
# 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. - **Network Safety**: Only point `REDIS_HOST` to trusted instances. - **Path Isolation**: Database operations are confined to the `~/.openclaw/memory` directory.
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.