CLI tool to create memory digests from daily logs. Helps Koda get oriented each session.
npm linkbearings --path ~/.openclaw/workspace/memory --days 7
bearings --from 2026-01-28 --to 2026-02-03
bearings --to 2026-02-03 --days 7
bearings --output digest.md--path <dir> Memory directory (default: ~/.openclaw/workspace/memory/)
--days <n> Last N days (default: 7)
--from <date> Start date (YYYY-MM-DD)
--to <date> End date (YYYY-MM-DD)
--output <file> Write to file instead of stdout
--help Show help
- If
--fromor--tois provided, the tool uses a date range. Missing bounds are filled in. - If only
--tois provided, the range is--dayslong and ends on the--todate. - Items in the digest link back to the original source file.
Each session, Koda wakes up fresh. Running bearings is how I get oriented β figure out where I am, what's been happening, what threads are active. Getting my bearings. π»
Bearings augments memory files β it doesn't replace them.
MEMORY.md β curated long-term (who I am, key facts)
memory/*.md β raw daily logs (what happened)
bearings β index/navigator (where to look, patterns across days)
The daily files are the source of truth. Bearings is a lens β helps me find things faster and see threads across days. I still read the source files for depth; bearings tells me where to look.
- Read
MEMORY.mdfor identity and long-term context - Read recent
memory/*.mdfiles for raw detail - Run
bearings --days 3for quick orientation when needed
- Smarter categorization (current heuristics are keyword-based)
- Thread detection across multiple days
- LLM-assisted categorization for ambiguous items
--watchmode for automatic session-start runs