跳到正文
TakoAPI
返回技能列表

memo-persistent-memory

由 webdevtodayjason 提供

Search & Research
—暂无评分
你的评分

简介

Persistent memory system - automatic context capture and semantic search.

描述

该技能的功能

Adds persistent memory to OpenClaw sessions using a local SQLite database with full-text search. Memories are captured automatically after each response and injected before the next prompt, keeping context available across sessions.

Unlike in-session context that resets when the conversation ends, this system persists observations to a local database and retrieves only semantically relevant memories, avoiding token bloat.

何时使用

  • Remembering project-specific decisions across multiple work sessions
  • Recalling user preferences without re-explaining them each time
  • Tracking ongoing tasks and their current state between conversations
  • Surfacing relevant past context when starting a new related task
  • Storing and retrieving notes from previous debugging sessions

示例工作流

输入

User asks: 'What was the database schema we decided on last week?'

智能体
  1. 1

    auto-recall triggers and searches the memory store for relevant observations

  2. 2

    memory_search queries the SQLite FTS5 index with natural language

  3. 3

    matching memories are injected into the prompt context before the agent responds

  4. 4

    agent uses the retrieved schema details to answer directly

输出

Agent answers with the previously stored schema decision without the user needing to repeat it

安装

clawhub install webdevtodayjason/memo-persistent-memory

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接