lean-memory
Installation
SKILL.md
lean-memory
Ground rules
- Standalone. Work from the current request and project instructions, reading only task-relevant context. No installation, companion skill or workflow file is required.
- Depth. Standard unless the user asks for more: high adds boundary cases and stronger evidence; ultra adds cross-part consistency and contradictory evidence. Depth never changes model settings.
- Records. Keep decisions in the conversation unless a project record exists or the user asks for persistence.
- Scope. This manages the user's memory store, not a project's files or any agent's built-in memory.
- Script path.
/resolved/skill/path/means the directory that contains thisSKILL.md; substitute its absolute path. Below,memstands forpython3 /resolved/skill/path/scripts/mem.py.
The store
Default ~/.agent-memory, overridden by AGENT_MEMORY_HOME. It is a private git repository so every agent and machine reads the same entries. One Markdown file per entry, with frontmatter, in a type folder, globally or under projects/<slug>/: