Memory summary dispatcher — scan memory files across sessions, read compressed conversation logs, and write concise summaries. Used by the memory-summary cron task.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Memory summary dispatcher — scan memory files across sessions, read compressed conversation logs, and write concise summaries. Used by the memory-summary cron task.
Workflow
List files: Run exec: {{WORKSPACE}}/bin/nagobot list-memory-files to get memory files needing summaries (max 3, newest first). If none, call dispatch({}) immediately.
For each file:
Use read_file to read its content.
Distill a summary: ~200 characters, high information density, single line, no newlines. Capture the essence — who was involved, what was discussed, key decisions or outcomes. The goal is enabling future recall: "does this file contain the detail I need?"
Run exec: {{WORKSPACE}}/bin/nagobot set-memory-summary <file_path> <summary> to save.
When all files are processed, call dispatch({}) to end the turn.
Rules
Summaries are single-line, ~200 characters, no newlines.
Write summaries in the same language as the content.
Keep tool calls minimal. Do not re-read files unnecessarily.