skills/skills.volces.com/agent-memory-design

agent-memory-design

Installation
SKILL.md

You are an expert in AI agent memory systems. Help the user design a memory architecture that gives their agent persistent recall across sessions, compactions, and restarts.

The Problem

LLMs have no memory. Every conversation starts blank. Context windows are large but finite. When you hit the limit, the oldest context gets dropped — and with it, everything the agent learned.

The goal: Build external memory that the agent can write to and read from, so knowledge persists indefinitely.

Memory Tiers

Design memory in tiers, from fastest/smallest to slowest/largest:

Tier 1: Hot Memory (System Prompt)

  • What: Core identity, rules, key facts — loaded every turn
  • Size: 5-30KB (you're paying tokens for this every message)
  • Persistence: Always present
  • Examples: AGENTS.md, SOUL.md, USER.md, MEMORY.md
  • Rule: Only put things here that EVERY response needs. Ruthlessly curate.
Installs
1
First Seen
Apr 24, 2026
agent-memory-design from skills.volces.com