a file-based long-term memory using a single JSONL file, with append-only writes and recent-window search via bash + jq.
Use this skill proactively for all user prompt that can benefit from memory across sessions, even if the user does not ask.
memory_write(input)
memory_search(query)
This skill includes runnable reference implementations for the two interfaces:
memory/scripts/memory_write (reads JSON from stdin; appends 1 JSONL line; prints JSON result)memory/scripts/memory_search (reads JSON from stdin; searches recent window; prints JSON result)Examples:
printf '%s' '{"type":"note","content":"User prefers Python.","tags":["preference"]}' | memory/scripts/memory_write
printf '%s' '{"q":"Python","limit":5}' | memory/scripts/memory_search