Install
openclaw skills install a-mem-memory-organizationOrganize project, agent, or user memory using an A-MEM-style workflow with structured notes, semantic tags, contextual summaries, explicit links, and lightweight memory evolution. Use when Codex or OpenClaw needs to store long-term memory, maintain project context across sessions, build a memory file or memory store, retrieve relevant historical facts, or improve memory quality beyond flat append-only notes.
openclaw skills install a-mem-memory-organizationUse this skill to turn raw observations into structured memory notes that are easier to retrieve, connect, and refine over time.
When the user asks to "remember", "keep context", "build memory", "organize knowledge", "create long-term memory", or "make the agent learn from history", do the following:
content, context, keywords, tags, category, timestamp, and links.Represent each memory note with this schema:
{
"id": "uuid-or-stable-id",
"content": "Atomic fact, preference, event, or lesson learned.",
"context": "One sentence explaining the situation, domain, or why the note matters.",
"keywords": ["specific terms", "entities", "concepts"],
"tags": ["broader-category", "retrieval-label"],
"category": "Preference | Project | Decision | Fact | Workflow | Bug | Research",
"timestamp": "YYYYMMDDHHmm",
"links": ["related-note-id"],
"source": "optional source or conversation anchor"
}
If the surrounding system has no formal database yet, store notes in a Markdown or JSON memory file using the same fields.
Use this write workflow whenever adding memory:
keywords.tags.context sentence that explains why the memory matters.content: ...
context: ...
keywords: ...
tags: ...
When answering from memory or selecting context for future work:
Apply memory evolution carefully. The goal is refinement, not constant rewriting.
Safe evolution operations:
Avoid:
If uncertain, store a new note and link it instead of mutating old notes.
If the user wants this skill "made real" inside a project, choose the lightest form that matches the repo:
memory/notes.json or memory/notes.md.When you use this skill during a task:
Read references/memory-patterns.md when you need: