360 Secure SkillHub
360 安全技能中心

Agent Memory Kit 2.1.0

以 Markdown 模板和 Bash 辅助脚本搭建的 Agent 记忆框架:把记忆分为情景、语义、程序三层,提供架构说明、反馈记录、每日日志、程序模板与压缩前快照模板,并附带压缩检查与搜索辅助脚本,帮助 Agent 跨会话保留做事步骤。

durtydhiana
durtydhiana
热度 80.34
最近更新 2026-05-11 17:33:09
分类:知识依赖:读写文件 / 代码执行应用场景:笔记整理 / 模板 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agent-memory-kit-2-1-0
Metadata
name
agent-memory-kit
description
Structured episodic/semantic/procedural memory framework for agents.

Agent Memory Kit

Type: Practice / Framework Dependencies: None (markdown only)


Description

A structured memory system for AI agents. Prevents the "forgot how to do things" problem by separating memory into episodic (what happened), semantic (what I know), and procedural (how to do things) layers.

Installation

# Create memory folder structure
mkdir -p memory/procedures

# Copy templates
cp templates/ARCHITECTURE.md memory/
cp templates/feedback.md memory/
cp templates/procedure-template.md memory/procedures/

Usage

  1. Read README.md to understand the system
  2. Add memory loading to your wake routine (AGENTS.md)
  3. Use templates when logging events, creating procedures, tracking feedback

Files

File Purpose
README.md Full documentation
templates/ARCHITECTURE.md Memory system overview (copy to memory/)
templates/feedback.md Success/failure tracking template
templates/procedure-template.md How-to document template
templates/daily-template.md Daily log template
templates/compaction-survival.md NEW: Pre-compaction flush guide
templates/context-snapshot-template.md NEW: Quick context save template
helpers/check-compaction.sh NEW: Token limit checker

Key Concepts

  • Episodic memory: Daily logs of WHAT happened
  • Semantic memory: Curated knowledge (MEMORY.md)
  • Procedural memory: HOW to do things
  • Feedback loops: Learn from success/failure

The Rule

Always capture the HOW, not just the WHAT. Future-you needs the steps.