mema
1999azzar 제작
Web & Frontend Development요약
Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer.
설명
이 스킬이 하는 일
Mema provides a two-tier local memory system: a SQLite database that indexes document paths and tags, and a Redis store for ephemeral key-value state with a default 6-hour TTL. It lets agents track workspace files and pass context between sessions without relying on external services.
All data stays local, avoiding the privacy risks and network dependencies of cloud-based memory or context services.
사용 시점
- Tagging and retrieving project documents by topic
- Passing session state between consecutive agent runs
- Building a local index of workspace knowledge paths
- Storing temporary values that expire after a work session
- Filtering indexed files by tag to surface relevant resources
예시 워크플로
User asks: 'Index my research notes and find all files tagged python'
- 1
Runs mema init to create the SQLite schema if not already set up
- 2
Runs mema index ~/notes/python-tips.md --tag python to record the file path and tag
- 3
Runs mema list --tag python to query all indexed paths with the python tag
Returns a list of local file paths tagged 'python' from the SQLite index
요구 사항
- Redis server
- REDIS_HOST
- REDIS_PORT
설치
clawhub install 1999azzar/memaCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.