Memory & knowledge
Memory compounding
Move memory out of the chat and into files a later session can actually read.
Inside this skill
- 0. First solve "how will it ever be triggered" (otherwise everything below is void)
- 1. Where memory lives: `$CODEX_HOME/memory/`
- 2. The three-step loop (this is all of it)
- 3. Four anti-rot rules (each one checkable)
- 4. Fix gate (**mandatory before acting**)
- 5. Distinguishability of criteria ("looks like" is not a criterion)
- 6. The health check must cover "the input", not only "your own processing"
- 7. Self-imposed constraints must be audited first
- 8. Three questions when tidying
- 9. Relationship to existing mechanisms (do not mix them up)
- 10. Self-check
This page is generated from the skill document itself. The outline below is that document's own structure, translated headings included.
How to use it
- Download the file below — it is a single
SKILL.md. - Put it in the skills folder your agent reads, in a directory named
memory-compounding. - Start a message with the trigger from the description, or name the skill directly.