What problem does it solve?
This Skill enables AI agents to persist information across sessions using a simple append-only JSONL file, allowing quick recall of prior notes, facts, or tasks without re-entering data.
Core Features & Use Cases
- Append-Only Memory: Writes are always appended to a single on-disk JSONL file, preserving history.
- Efficient Retrieval: Search focuses on recent entries using a configurable window with tail + rg/grep and jq.
- Lightweight & Portable: Requires only standard Unix tools (bash, jq, rg/grep) and a memory file on disk.
- Use Case: An AI agent can remember a user's preferences across sessions and retrieve relevant context when planning next steps.
Quick Start
Write a memory entry with memory_write and search with memory_search:
- memory_write: printf '%s' '{"type":"note","content":"User prefers Python.","tags":["preference"]}' | memory/scripts/memory_write
- memory_search: printf '%s' '{"q":"Python","limit":5}' | memory/scripts/memory_search