Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

mema

bởi 1999azzar

Web & Frontend Development
545Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Index my research notes and find all files tagged python'

AGENT
  1. 1

    Runs mema init to create the SQLite schema if not already set up

  2. 2

    Runs mema index ~/notes/python-tips.md --tag python to record the file path and tag

  3. 3

    Runs mema list --tag python to query all indexed paths with the python tag

ĐẦU RA

Returns a list of local file paths tagged 'python' from the SQLite index

Yêu cầu

  • Redis server
  • REDIS_HOST
  • REDIS_PORT

Cài đặt

clawhub install 1999azzar/mema

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết