跳到正文
TakoAPI
返回技能列表

persistent-memory

由 jakebot-ops 提供

Coding Agents & IDEs
669下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Three-layer persistent memory system (Markdown + ChromaDB vectors + NetworkX knowledge graph) for long-term agent.

描述

该技能的功能

Three-layer memory system using Markdown files, ChromaDB vector embeddings, and a NetworkX knowledge graph that persists agent knowledge across sessions. One command installs all dependencies and configures OpenClaw to index directive files like SOUL.md and AGENTS.md that its built-in memory search ignores by default.

Combining vector search with a knowledge graph lets the agent surface semantically related facts and traverse concept relationships, while the OpenClaw integration closes a gap where agents silently ignore their own directive files.

何时使用

  • Recalling an architectural decision made weeks ago without fabricating details
  • Looking up an exact repo URL or contact handle before taking an action
  • Reviewing what the agent logged during a previous work session
  • Keeping agent behavior consistent with workspace rules after restarts
  • Building up an institutional knowledge base of people, repos, and infrastructure over time

示例工作流

输入

User asks: 'What did we decide about the authentication approach last month?'

智能体
  1. 1

    Runs memory_search or auto_retrieve.py with the query before responding

  2. 2

    Vector search returns top-3 semantically similar chunks from MEMORY.md and daily logs

  3. 3

    Graph traversal surfaces related concepts linked to the matching chunks

  4. 4

    Agent cites the source file and section in its answer

输出

Agent returns the recorded decision with the date it was logged and the file it came from, without fabricating details

安装

clawhub install jakebot-ops/persistent-memory

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

链接