Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Persistent memory plugin for OpenClaw agents. Hybrid SQLite FTS5 keyword + Ollama vector semantic search with auto-capture, auto-recall, stuck-detection, and...
Persistent memory plugin for OpenClaw agents. Hybrid SQLite FTS5 keyword + Ollama vector semantic search with auto-capture, auto-recall, stuck-detection, and...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Persistent memory plugin for OpenClaw agents. Gives your agent long-term memory that survives session resets, compaction, and restarts.
Auto-recall: Injects relevant memories as context before each LLM turn Auto-capture: Extracts facts from conversations and stores them automatically Hybrid search: SQLite FTS5 keyword search + Ollama vector cosine similarity Stuck detection: Detects topic repetition and nudges the agent to break loops Memory consolidation: Deduplicates entries on startup Dynamic entities: Config-driven allowlist + runtime tool to add entities Graceful degradation: Works without Ollama (keyword-only mode) Minimal dependencies: Uses better-sqlite3 for secure parameterized queries + native fetch
Node.js 18+ (for native fetch) better-sqlite3 npm package (installed via npm install) Optional: Ollama with nomic-embed-text model for semantic search
Install the plugin to your extensions directory Add to your openclaw.json: { "plugins": { "slots": { "memory": "lily-memory" }, "entries": { "lily-memory": { "enabled": true, "config": { "dbPath": "~/.openclaw/memory/decisions.db", "entities": ["config", "system"] } } } } } Restart the gateway: openclaw gateway restart
ToolDescriptionmemory_searchFTS5 keyword search across all factsmemory_entityLook up all facts for a specific entitymemory_storeSave a fact to persistent memorymemory_semantic_searchVector similarity search via Ollamamemory_add_entityRegister a new entity at runtime
OptionTypeDefaultDescriptiondbPathstring~/.openclaw/memory/decisions.dbSQLite database pathautoRecallbooleantrueInject memories before each turnautoCapturebooleantrueExtract facts from responsesmaxRecallResultsnumber10Max memories per turnmaxCapturePerTurnnumber5Max facts per responsestuckDetectionbooleantrueTopic repetition detectionvectorSearchbooleantrueOllama semantic searchollamaUrlstringhttp://localhost:11434Ollama endpointembeddingModelstringnomic-embed-textEmbedding modelconsolidationbooleantrueDedup on startupvectorSimilarityThresholdnumber0.5Min cosine similarityentitiesarray[]Additional entity names
Recall flow: Extract keywords from message -> FTS5 + vector search -> merge and deduplicate -> inject as context Capture flow: Regex scan for entity: key = value patterns -> validate entity against allowlist -> store to SQLite -> async embed via Ollama Stuck detection: Track top 5 content words per response -> Jaccard similarity -> if 3+ consecutive >60% overlap, inject Reflexion nudge
MIT
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.