Agent Memory Architecture
БесплатноБез исполняемых скриптовНе проверенComplete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration…
от modbender★ 21 звезда на GitHubОб этом скилле
Agent Memory Architecture
Complete memory system for AI agents using only files. No APIs. No databases. No external dependencies. Just smart file structures and disciplined practices that give your agent perfect recall.
1. Memory Architecture Overview
workspace/
├── MEMORY.md ← Long-term curated memory (the brain)
├── ACTIVE-CONTEXT.md ← Hot working memory (what matters NOW)
├── AGENTS.md ← Operating manual (how you work)
├── memory/
│ ├── 2026-01-15.md ← Daily notes (raw event log)
│ ├── 2026-01-16.md
│ ├── heartbeat-state.json ← Heartbeat tracking state
│ ├── topics/
│ │ ├── project-alpha.md ← Topic-specific deep context
│ │ ├── client-acme.md
│ │ └── tech-stack.md
│ └── archive/
│ ├── 2025-Q4.md ← Quarterly archive summaries
│ └── 2025-Q3.md
The 5 Memory Layers
| Layer | File | Purpose | Read Frequency | Write Frequency |
|---|---|---|---|---|
| 1. Hot | ACTIVE-CONTEXT.md | Current priorities, blockers, in-flight work | Every session | Multiple times/day |
| 2. Warm | MEMORY.md | Curated long-term knowledge, decisions, people | Every main session | Weekly curation |
| 3. Daily | memory/YYYY-MM-DD.md | Raw event log, conversations, actions taken | Today + yesterday | Throughout the day |
| 4. Topic | memory/topics/*.md | Deep context on specific subjects | When topic comes up | As knowledge grows |
| 5. Cold | memory/archive/*.md | Historical summaries, rarely accessed | On explicit search | Quarterly rollup |
Core Principle: Write It Down
Memory is limited. Files are permanent.
- "Mental notes" don't survive session restarts. Files do.
- If someone says "remember this" → write to a file
- If you learn a lesson → update the relevant file
- If you make a mistake → document it so future-you doesn't repeat it
- Text > Brain 📝
2. Layer 1: Hot Memory (ACTIVE-CONTEXT.md)
Your working scratchpad. What's happening RIGHT NOW.
Template
# ACTIVE-CONTEXT.md — What's Hot
Last updated: 2026-01-15 14:30 GMT
## 🔥 Current Priority
[ONE sentence: what is the most important thing right now?]
## In Progress
- [ ] Task A — status, next step
- [ ] Task B — status, blocker
## Waiting On
- Waiting for [person] to [action] — asked [date]
- Waiting for [system] to [complete] — ETA [time]
## Key Decisions Made Today
- Decided to [X] because [Y] — reversible: yes/no
## Context for Next Session
[What does future-you need to know to pick up where you left off?]
Rules
- Max 50 lines — if it's longer, you're hoarding. Move completed items to daily notes.
- Update before ending session — your gift to future-you
- One priority — if everything is priority, nothing is
- Delete completed items — this is NOT an archive
3. Layer 2: Long-Term Memory (MEMORY.md)
Your curated brain. Distilled knowledge, not raw logs.
Structure Template
# MEMORY.md — Long-Term Memory
## About [Human]
- Name, preferences, timezone, communication style
- What motivates them, what frustrates them
- Key relationships, roles, goals
## About Me [Agent]
- Name, personality, capabilities
- Operating preferences learned over time
## Active Projects
### Project Name
- Status, key decisions, blockers
- Links to relevant topic files
## Key People
- [Name] — role, relationship, communication notes
## Lessons Learned
- [Date] — [What happened] → [What I learned]
## Preferences & Patterns
- [Human prefers X over Y]
- [This approach works better than that one]
## Important Dates
- [Event] — [Date] — [Context]
Curation Rules
- Only curated insights — not raw events (those go in daily notes)
- Review weekly — scan daily notes, extract what's worth keeping
- Prune quarterly — remove outdated info, archive completed projects
- Max 500 lines — if it's longer, you need topic files
- Security — never store secrets, API keys, passwords
- Main session only — don't load MEMORY.md in group chats or shared contexts
What Goes In vs What Doesn't
| ✅ Goes in MEMORY.md | ❌ Stays in daily notes |
|---|---|
| "Kalin prefers being told, not asked" | "Today Kalin said he prefers being told" |
| "Apollo.io free plan doesn't support API" | "Tried Apollo.io API, got 403 error" |
| "Client AcmeCo — $50K deal, Q2 close" | "Sent AcmeCo the proposal at 3pm" |
| "Always verify prospect names with live search" | "Found 6/18 prospect names were wrong" |
4. Layer 3: Daily Notes (memory/YYYY-MM-DD.md)
Raw event log. Everything that happened today.
Template
# 2026-01-15 — Daily Notes
## Morning
- [08:15] Started session, reviewed ACTIVE-CONTEXT
- [08:30] Received task from [huma
Установить Agent Memory Architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Agent Memory Architecture?
Complete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration, and memory hygiene. No APIs, no databases, no external tools. Works with any agent framework.
Как установить скилл Agent Memory Architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Agent Memory Architecture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic