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

soul-memory

bởi kingofqin2026

Coding Agents & IDEs
411Lượt tải do clawskills.sh công bố
0Lượ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

Intelligent memory management system for AI agents - 8 modules + OpenClaw Plugin integration, with heartbeat.

Mô tả

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

Long-term memory framework for AI agents that stores, searches, and injects relevant memories into prompts automatically. Built on local JSON storage with keyword and semantic search, it supports priority tagging, time-based memory decay, and CJK text segmentation including Cantonese. Integrates with OpenClaw via a plugin hook that runs before each response.

Unlike RAG setups that require external vector databases or API calls, this system runs entirely on local files with no external dependencies.

Khi nào nên dùng

  • Persisting user preferences across sessions
  • Recalling project-specific context without re-explaining
  • Tagging critical vs. normal information for selective retrieval
  • Running memory search from external scripts via CLI JSON output
  • Keeping agent context lean by decaying old or redundant memories

Quy trình ví dụ

ĐẦU VÀO

User asks: What display settings do I prefer?

AGENT
  1. 1

    OpenClaw plugin fires before_prompt_build hook

  2. 2

    Plugin extracts query from event.prompt

  3. 3

    Searches local memory store for top 5 relevant entries

  4. 4

    Injects matched memories into prompt via prependContext

  5. 5

    Agent responds with personalized context already loaded

ĐẦU RA

Agent answers referencing stored preference: dark mode, without user re-stating it

Cài đặt

clawhub install kingofqin2026/soul-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