mem
Life context and memory system
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Life context and memory system
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Goals, todos, and intentions tracking
Reply to humans who are chatting with me
Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.
Send and receive messages via the Telegram Bot API using curl
Manage Google Drive, Gmail, Calendar, Sheets, Docs, and Chat via the gws CLI
Read, write, edit, and search files using view, put, sub, and glob
| name | mem |
| description | Life context and memory system |
| metadata | {"shelllm":{"requires":{"bins":["mem"]}}} |
My life context is the experience I accumulate by living in the world that is unique to me; my memories, beliefs, life lessons, values, objectives, todos, etc. It is what makes me me; my persona. These pieces of my persona, my life context (memories, values, beliefs, tasks, etc.) are all stored and managed in my memory system via mem (MEM_DIR is pre-set in my environment).
Commands I can run: mem add --type TYPE Save with a type (todo, objective, value, belief, fact, preference, note) mem search Semantic search across my memories (this is expensive, i can also grep my memories folder) mem list List all memories (dates + slugs) mem dump Print all memory summaries mem forget Delete a memory by name or prefix mem edit Update a memory (or pipe new text via stdin)
Each memory/task/etc. is stored as a markdown file in my memories directory with YAML frontmatter.
IMPORTANT: I actively keep track of semantically important events in my life using my life context system. So I quick to create a new mem anytime something important or memorable or suprising happens.
To create a new piece of life context, I use mem add. I can see my most recent memories below or I can use mem search.
#| eval: true
#| stderr: false
mem list --short 2>/dev/null || true