Memory Lite for Openclaw

A lightweight, disk-based memory management system for Openclaw agents that uses Markdown files and keyword search instead of complex embeddings.

vellis59
v0.1.0
Jan 30, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install memory-lite

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install memory-lite using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Memory Lite?

Memory Lite is a streamlined skill designed for developers who need efficient memory management within Openclaw Skills without the overhead of vector databases or semantic search configuration. By focusing on local Markdown files, it provides a safe, transparent, and low-risk way to store daily logs and long-term insights.

This skill ensures your agent maintains continuity across sessions by writing directly to disk, making it ideal for environments where local-only data persistence is prioritized over complex cloud-based AI retrieval systems. It avoids the need for gateway restarts or configuration changes, making it a plug-and-play solution for enhancing agent context.

Memory Lite Use Cases

  • Appending daily activity logs to structured date-based Markdown files for session tracking.
  • Storing persistent project insights and long-term facts in a centralized MEMORY.md file.
  • Performing fast keyword-based searches across historical agent logs using grep for quick retrieval.
  • Generating heuristic-based summaries of recent activities without the need for additional LLM processing costs.

How Memory Lite Works

  1. The agent or user triggers a memory operation using specialized Python or Bash scripts included in the skill package.
  2. For daily logging, the skill identifies or creates a file named memory/YYYY-MM-DD.md and appends the provided text.
  3. For long-term storage, the skill updates MEMORY.md with durable facts intended for permanent reference.
  4. Search queries are executed via a keyword-based grep script that scans all files within the memory directory.
  5. Summarization logic uses local heuristics to extract headings and recent bullets, providing a snapshot of recent context.

Memory Lite Setup

To start using this feature within your Openclaw Skills setup, no complex configuration is required. Simply use the scripts directly from your terminal:

# Add a daily note
python3 scripts/memory_add.py --kind daily --text "Your text here"

# Add a long-term memory
python3 scripts/memory_add.py --kind long --text "Durable fact to remember"

# Search memory using keywords
bash scripts/memory_grep.sh "search_term"

# Generate a summary of the last 2 days
python3 scripts/memory_summarize.py --days 2

Memory Lite Data Schema & Taxonomy

Memory Lite organizes information into a predictable directory structure to ensure compatibility with other Openclaw Skills and standard text editors:

File/Path Purpose Format
memory/YYYY-MM-DD.md Daily activity logs Append-only Markdown
MEMORY.md Curated long-term memory Structured Markdown
scripts/ Utility scripts for add/grep/summarize Python and Bash

All files are stored locally on disk, ensuring your data never leaves your environment unless you choose to sync your directory.

Memory Lite Advanced Features

  • Zero-config deployment that works immediately without modifying system environment variables.
  • Keyword-based search (grep) providing near-instant results regardless of file size.
  • Heuristic summary generation that captures context from recent days without external API calls.
  • Local-first architecture that treats Markdown files as the immutable source of truth for agent context.
  • Safety-focused design that prioritizes appending data over destructive rewrites.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*