🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Lily Memory Plugin

by @kevinodell

Persistent memory plugin for OpenClaw agents. Hybrid SQLite FTS5 keyword + Ollama vector semantic search with auto-capture, auto-recall, stuck-detection, and...

Versionv5.2.3
Installs6
πŸ’‘ Examples

1. Install the plugin to your extensions directory 2. Add to your openclaw.json:

{
  "plugins": {
    "slots": { "memory": "lily-memory" },
    "entries": {
      "lily-memory": {
        "enabled": true,
        "config": {
          "dbPath": "~/.openclaw/memory/decisions.db",
          "entities": ["config", "system"]
        }
      }
    }
  }
}

3. Restart the gateway: openclaw gateway restart

βš™οΈ Configuration

| Option | Type | Default | Description | |--------|------|---------|-------------| | dbPath | string | ~/.openclaw/memory/decisions.db | SQLite database path | | autoRecall | boolean | true | Inject memories before each turn | | autoCapture | boolean | true | Extract facts from responses | | maxRecallResults | number | 10 | Max memories per turn | | maxCapturePerTurn | number | 5 | Max facts per response | | stuckDetection | boolean | true | Topic repetition detection | | vectorSearch | boolean | true | Ollama semantic search | | ollamaUrl | string | http://localhost:11434 | Ollama endpoint | | embeddingModel | string | nomic-embed-text | Embedding model | | consolidation | boolean | true | Dedup on startup | | vectorSimilarityThreshold | number | 0.5 | Min cosine similarity | | entities | array | [] | Additional entity names |

View on ClawHub
TERMINAL
clawhub install lily-memory

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’