تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

lily-memory

بواسطة kevinodell

Coding Agents & IDEs
899التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Persistent memory plugin for OpenClaw agents.

الوصف

ما الذي تفعله هذه المهارة

Persistent memory plugin for OpenClaw agents that stores and retrieves facts across sessions using a hybrid SQLite FTS5 keyword search and Ollama vector semantic search. Automatically captures facts from conversations and injects relevant memories before each LLM turn. Includes stuck-detection to break repetitive loops and deduplication on startup.

Combines keyword and vector search in a single lightweight plugin without requiring a dedicated vector database, while falling back gracefully to keyword-only mode when Ollama is unavailable.

متى تستخدمها

  • Remembering user preferences across separate agent sessions
  • Recalling past decisions when an agent restarts mid-project
  • Detecting when a conversation is looping on the same topic
  • Looking up all stored facts about a specific entity or config
  • Searching memory semantically when exact keywords aren't known

مثال على سير العمل

الإدخال

User asks: What database did we decide to use for the API?

الوكيل
  1. 1

    Extract keywords from the question

  2. 2

    Run FTS5 keyword search against SQLite memory store

  3. 3

    Run vector similarity search via Ollama if available

  4. 4

    Merge and deduplicate results, inject top matches as context

  5. 5

    LLM answers using injected memory facts

الإخراج

Agent recalls the stored fact 'api: database = PostgreSQL' and answers correctly without the user repeating themselves

المتطلبات

  • Ollama with nomic-embed-text model (optional, for semantic search)

التثبيت

clawhub install kevinodell/lily-memory

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط