Personal Memory System for Openclaw

A dual-layer memory system that synchronizes human-readable Markdown notes into a queryable SQLite database for persistent AI knowledge retrieval.

awublack
v1.0.0
Apr 12, 2026
0
678
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install personal-memory-system-published

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 personal-memory-system-published 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 Personal Memory System?

The Personal Memory System is a sophisticated personal knowledge management tool designed specifically for Openclaw Skills. It addresses the limitation of transient AI context by providing a persistent, local-first bridge between unstructured Markdown text and structured database storage. By transforming personal insights, decisions, and experiences into a machine-readable format, it empowers AI agents to perform accurate historical retrieval without relying on external cloud services.

This skill ensures that your most important thoughts and decisions are not lost in static text files. Instead, they are converted into a queryable digital brain that your AI agent can access at any time. By utilizing Openclaw Skills in this way, you create a robust, version-controlled personal knowledge vault that remains entirely under your control.

Personal Memory System Use Cases

  • Retrieving historical perspectives or past opinions on specific technologies like AI models.
  • Automatically documenting significant project pivots and decision-making rationale for future audit.
  • Maintaining a version-controlled, locally stored personal knowledge vault that grows over time.
  • Enabling AI agents to answer complex, context-aware questions based on years of past user experiences.

How Personal Memory System Works

  1. User records insights in the MEMORY.md file using ### heading blocks to define unique memory segments.
  2. The Openclaw heartbeat triggers the auto_sync_memory.py script at regular intervals.
  3. The synchronization script parses the Markdown file, extracting headings and content as structured records.
  4. Extracted data is upserted into a local memory.db SQLite database to ensure the latest thoughts are indexed.
  5. When asked a natural language question, the AI assistant translates the intent into a SQL query to fetch relevant records.
  6. The system summarizes the retrieved data to provide a comprehensive answer based on stored memories.

Personal Memory System Setup

To get started with this skill, place the package into your Openclaw directory or install it via the CLI:

clawhub install personal-memory-system

Ensure the following files exist in your workspace directory:

  • MEMORY.md: Your human-readable memory file.
  • memory.db: The SQLite database (will be generated if missing).
  • auto_sync_memory.py: The core logic for synchronization.

The system operates automatically via heartbeats; no manual command execution is required after the initial setup.

Personal Memory System Data Schema & Taxonomy

The Personal Memory System organizes data across two primary layers to balance human readability with machine efficiency:

Component Format Description
MEMORY.md Markdown Human-readable storage using ### headings as record delimiters.
memory.db SQLite Machine-queryable database containing a memories table with content and timestamps.
auto_sync_memory.py Python The integration layer responsible for parsing and metadata taxonomy mapping.

Personal Memory System Advanced Features

  • Natural language to SQL translation for high-precision retrieval across thousands of records.
  • Local-first data architecture ensuring zero external API dependency and complete data privacy.
  • Potential for future Obsidian integration to visualize memory nodes as interactive knowledge graphs.
  • Automated daily summaries and the ability to export memory.db to CSV or JSON formats for external backups.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*