跳至主要内容
小龙虾小龙虾AI
🤖

Claw Memory Lite

使用轻量级、快速的 SQLite 驱动工具和自动每日提取功能,管理和查询代理的精简长期记忆。

下载273
星标0
版本1.0.0
AI 智能体
安全通过
⚙️脚本

技能说明

claw-memory-lite Skill

Lightweight 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.

Installation

npx skills add timothysong0w0/claw-memory-lite --agent openclaw

Tools

db_query

Query the long-term memory database by keyword or category.

Usage: python scripts/db_query.py [SEARCH_TERM] [--category CATEGORY]

extract_memory

Extract memory snippets from daily log files (memory/YYYY-MM-DD.md) into the database.

Usage: python scripts/extract_memory.py [--review]

Automation

To enable automatic daily extraction, add the following to your HEARTBEAT.md:

python ~/.openclaw/extensions/claw-memory-lite/scripts/extract_memory.py

Configuration

The database is stored at ~/.openclaw/database/insight.db by default.

Credits

Inspired by 鸿蒙小张 and ByteDance's OpenViking hierarchy.


Built with 🐯 for OpenClaw users.

如何使用「Claw Memory Lite」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Claw Memory Lite」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能