| description | Save a memory about this project for future sessions |
|---|
The user wants to save something to CyxCode's project memory system.
Save the user's message as a memory file in .opencode/memory/.
- Read the existing
.opencode/memory/index.json(create if missing with{"version": 1, "entries": []}) - Generate an
idfrom the content (lowercase, hyphens, max 40 chars) - Extract tags: file names, technology keywords, significant words
- Write the memory content to
.opencode/memory/{id}.md(1-5 lines max, be concise) - Add an entry to
index.json:{ "id": "the-id", "file": "the-id.md", "tags": ["tag1", "tag2"], "summary": "one line summary", "created": "YYYY-MM-DD", "accessed": "YYYY-MM-DD", "accessCount": 0 } - Confirm what was saved
$ARGUMENTS