memory-system

Classify user memories into permanent and decay-laden entries with SQL schemas.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Andy-HNU/AndyClaw --skill memory-system-andy-hnu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-system
Source: https://github.com/Andy-HNU/AndyClaw/tree/main/skills/memory-system
Command: npx skills add https://github.com/Andy-HNU/AndyClaw --skill memory-system-andy-hnu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

这个技能将对话中的记忆进行分级存储与管理,按永久记忆和衰减记忆分类,自动更新记忆状态并提供按话题检索、归档恢复与每周汇总等能力,以提升对话连贯性和个性化服务。

Core Features & Use Cases

  • 分级记忆管理:将关键内容作为永久记忆保存,日常信息按遗忘曲线衰减记忆化管理。
  • 上下文驱动回忆:对话开始时自动载入永久记忆和 fresh/active 衰减记忆,提升上下文相关性。
  • 归档与恢复:支持对话周归档和历史记忆的导入/恢复,以及每周记忆汇总。
  • 主动记忆维护:通过重提和事件再发生时刷新记忆,保持记忆的可用性与安全性。
  • 适用于需要长期记忆、个人化对话与知识管理的场景,如个人助理、学习助手和项目助手。

Quick Start

在首次对话中,自动加载永久记忆与 fresh/active 衰减记忆,并将其用于当前上下文。

Frequently Asked Questions about memory-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does a decay-aware memory system organize conversation context?

A decay-aware memory system organizes conversation context by classifying entries into permanent memories and decay-laden memories. Permanent memories retain critical information, while decay-laden memories gradually lose relevance based on a forgetting curve until refreshed or archived.

How do I classify and archive SQL memories for long-term recall?

You classify and archive SQL memories by applying defined SQL schemas to categorize entries as permanent or decay-laden, then route aging entries into weekly archives. This enables historical memory recovery and structured recall by topic.

Can I automate weekly digest workflows for conversation memory management?

Yes, you can automate weekly digest workflows for conversation memory management. The system generates weekly summaries of memory updates, tracks decay state changes, and archives aged memories to maintain context relevance across conversations.

When do I need decay-laden memory classification for my chat assistant?

You need decay-laden memory classification for chat assistants when managing long-term personalized dialogues where daily information becomes stale. It prevents context bloat by automatically degrading unused memories while preserving permanent knowledge.

How do I retrieve archived memories and refresh decay states by topic?

You retrieve archived memories and refresh decay states by querying topics through the SQL schema interface. When events reoccur or topics are revisited, the system actively refreshes decay-laden memories, restoring their active status for immediate recall.

What are the limitations of using a decay-aware memory system for knowledge management?

Limitations of a decay-aware memory system include strict behavior rules for retention and deletion that require precise SQL schema adherence. Memories not actively refreshed will eventually decay and archive, potentially losing granular context if not properly tagged.