跳到正文
TakoAPI
返回技能列表

elite-longterm-memory

由 nextfrontierbuilds 提供

Notes & PKM
32.6k下载量由 clawskills.sh 提供
133星标
19浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Ultimate AI agent memory system.

描述

该技能的功能

A multi-layer memory system for AI coding agents that combines in-session file state, vector search via LanceDB, git-notes storage, curated markdown archives, optional cloud sync, and optional auto-extraction. Uses a Write-Ahead Log protocol to persist context before responding. Designed for agents running in Cursor, Claude Code, ChatGPT, and Copilot.

Instead of relying on a single memory mechanism, it layers six complementary approaches so that context survives compaction, session restarts, and sub-agent isolation simultaneously.

何时使用

  • Retaining a project's tech stack decisions across sessions
  • Preventing an agent from repeating a mistake it already made
  • Keeping user preferences like code style or tooling choices persistent
  • Passing relevant prior context to sub-agents in multi-step workflows
  • Syncing agent memory across devices via cloud backup

示例工作流

输入

User says: 'Let's use Tailwind for this project, not vanilla CSS'

智能体
  1. 1

    Write decision to SESSION-STATE.md before responding

  2. 2

    Store structured decision in git-notes cold store silently

  3. 3

    Call memory_store with the preference and importance=0.9 to LanceDB

  4. 4

    Respond to the user acknowledging the choice

输出

Decision is now retrievable via semantic search, readable in git history, and loaded automatically on next session start

前置要求

  • OPENAI_API_KEY environment variable (required for LanceDB vector search)
  • MEM0_API_KEY environment variable (optional, for Mem0 auto-extraction)
  • SUPERMEMORY_API_KEY environment variable (optional, for SuperMemory cloud backup)
  • SuperMemory account (optional, for cross-device sync)
  • Mem0 account (optional, for automatic fact extraction)

安装

clawhub install nextfrontierbuilds/elite-longterm-memory

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

链接