agent-memory-workflow
Installation
SKILL.md
Agent Memory Workflow
Protocols for persistent cross-session memory using the agentmemory MCP server. This skill turns agentmemory from an optional tool into a disciplined, reliable memory layer.
Core Principle
Treat agentmemory as the agent's external hippocampus — it stores what the agent should know across sessions, not what it can re-derive from the codebase. The goal is continuity: the user should never have to repeat preferences, past decisions, or discovered conventions.
Memory Categories
Organise memories into 5 stable categories. Every save MUST specify exactly one type:
| Category | type field |
What goes in | Retention |
|---|---|---|---|
| User Preferences | preference |
Style choices (verbose/minimal), framework versions, component lib, naming conventions | Permanent |
| Architecture | architecture |
Technology decisions, library choices, data flow design, why-X-over-Y | Permanent |
| Project Convention | convention |
Code patterns, folder structure, naming rules, import style, error handling pattern | Permanent |
| Bug / Lesson | lesson |
Non-obvious bugs found, debugging strategies, specific pitfalls, workarounds | Permanent |
| Session Log | session |
What was done this session, files touched, current state | Volatile (overwritten) |