Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

elite-longterm-memory

bởi nextfrontierbuilds

Notes & PKM
32.6kLượt tải do clawskills.sh công bố
133Sao
19Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Ultimate AI agent memory system.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • 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)

Cài đặt

clawhub install nextfrontierbuilds/elite-longterm-memory

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết