← 返回
未分类 中文

Inkwell

Bootstrap a complete 3-layer memory system for any OpenClaw agent. PARA knowledge structure, QMD search integration, daily consolidation cron, transcript ver...
Bootstrap a complete 3-layer memory system for any OpenClaw agent. PARA knowledge structure, QMD search integration, daily consolidation cron, transcript ver...
davidkim01 davidkim01 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 307
下载
💾 0
安装
1
版本
#knowledge-management#latest#memory#para#qmd

概述

Mindkeeper — Complete Agent Memory System

Mindkeeper bootstraps a production-grade, 3-layer memory system for OpenClaw agents. It turns a fresh agent into one that remembers, learns, and organizes knowledge automatically.

Architecture Overview

Three layers, each serving a distinct purpose:

Layer 1: MEMORY.md          — Tacit knowledge (preferences, lessons, patterns)
Layer 2: memory/*.md        — Daily notes (raw capture of what happened)
Layer 3: /life/ (PARA)      — Structured knowledge repo, QMD-indexed
         ├── projects/      — Active endeavors with goals and deadlines
         ├── areas/         — Ongoing responsibilities (no end date)
         ├── resources/     — Reference material, how-tos, patterns
         └── archive/       — Completed or inactive items

Supporting systems:

  • QMD — Local semantic search across all layers (BM25 + vectors + reranking)
  • Daily consolidation — Cron job extracts knowledge from sessions automatically
  • Transcript verification — Echo and store voice transcripts for accuracy
  • Sign-off routine — End-of-day consolidation, memory update, and shutdown

Setup

1. Run the bootstrap script

The setup script creates the directory structure and starter files. It never overwrites existing files.

Windows (PowerShell):

pwsh -File "<skill_dir>/scripts/setup.ps1" -Workspace "<workspace_path>"

Linux/Mac (Bash):

bash "<skill_dir>/scripts/setup.sh" "<workspace_path>"

Where is the OpenClaw workspace root (typically ~/.openclaw/workspace).

2. Configure QMD (recommended)

QMD provides semantic search across all your knowledge files and session transcripts. See references/qmd-setup.md for the complete setup guide including Windows workarounds.

3. Set up daily consolidation

A cron job reviews all sessions and extracts knowledge into your PARA structure. See references/consolidation.md for the exact cron command, prompt, and configuration options.

4. Enable transcript verification (optional)

For voice-heavy workflows, add inline transcript echo and local storage. See references/transcripts.md for the two-layer approach.

5. Configure sign-off routine (optional)

End-of-day routine: consolidation → memory update → status report → optional gateway stop. See references/sign-off.md for the complete workflow.

Working with the Memory System

Writing to memory

  • Quick capture → Append to today's daily note (memory/YYYY-MM-DD.md)
  • Lesson learned → Update MEMORY.md with the distilled insight
  • Project update → Update the relevant file in life/projects/
  • New reference → Create a file in life/resources/
  • Decision record → Use the ADR template in life/resources/decisions/

Searching memory

Use memory_search to find information across all indexed files. QMD searches MEMORY.md, daily notes, and the entire /life/ tree.

Maintaining memory

  • During heartbeats: review recent daily notes, promote insights to MEMORY.md
  • During consolidation: cron job handles session → knowledge extraction
  • Periodically: move completed projects to life/archive/, prune stale content

Templates

Starter templates are in the templates/ directory:

TemplatePurpose
-------------------
templates/project.mdNew project file for life/projects/
templates/area.mdNew area of responsibility for life/areas/
templates/resource.mdReference material for life/resources/
templates/decision.mdLightweight ADR for life/resources/decisions/
templates/daily-note.mdDaily note for memory/
templates/memory.mdMEMORY.md starter with recommended sections

Copy and customize as needed. The setup script uses these templates for initial file creation.

Reference Docs

DocumentRead when...
-----------------------
references/qmd-setup.mdSetting up QMD search backend
references/consolidation.mdConfiguring daily consolidation cron
references/transcripts.mdSetting up voice transcript verification
references/sign-off.mdConfiguring end-of-day routine

Tips

  • MEMORY.md is your soul — Keep it curated. It's the first thing loaded each session.
  • Daily notes are disposable — Raw capture, not polished writing. Speed > quality.
  • PARA is flexible — Don't overthink categories. Move things as understanding evolves.
  • Templates are starting points — Customize them to match your human's workflow.
  • QMD fallback is automatic — If QMD goes down, builtin search takes over seamlessly.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,108 📥 830,718
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 838 📥 314,313
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,471 📥 535,561