Install
openclaw skills install claw-memory-liteManage and query your agent's distilled long-term memory with lightweight, fast SQLite-powered tools and automated daily extraction.
openclaw skills install claw-memory-liteLightweight Long-Term Memory for OpenClaw — SQLite-Powered, Zero External Dependencies, Millisecond Queries.
This skill provides an automated way to manage your agent's long-term memory by extracting distilled insights from daily logs into a queryable SQLite database.
npx skills add timothysong0w0/claw-memory-lite --agent openclaw
Query the long-term memory database by keyword or category.
Usage: python scripts/db_query.py [SEARCH_TERM] [--category CATEGORY]
Extract memory snippets from daily log files (memory/YYYY-MM-DD.md) into the database.
Usage: python scripts/extract_memory.py [--review]
To enable automatic daily extraction, add the following to your HEARTBEAT.md:
python ~/.openclaw/extensions/claw-memory-lite/scripts/extract_memory.py
The database is stored at ~/.openclaw/database/insight.db by default.
Inspired by 鸿蒙小张 and ByteDance's OpenViking hierarchy.
Built with 🐯 for OpenClaw users.