one-bit/oc-mnemoria ? reverse-engineered prompt
Reverse engineered prompt
Build me an OpenCode plugin that gives every agent a shared persistent memory, so new sessions can still see what earlier agents decided, discovered, and fixed.
I want it to store memories locally in the project, let agents save notes automatically from chat, and also let them add memories on purpose when they learn something useful. It should support searching memories, asking questions about past decisions, viewing recent items, checking stats, seeing a timeline, marking old memories as forgotten, and compacting the store later.
Please make it feel native to OpenCode, with slash commands for the common actions and a system prompt that pulls in useful past context at the start of each session. It should tag each memory with the agent name so I can tell who wrote it.
If you need to look up current docs online for OpenCode hooks or plugin setup, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit