Agent Memory Curator
Productivityagent-memory-curatorAgent Memory Curator is an Agent Skill for productivity published in the oxbshw/LLM-Agents-Ecosystem-Handbook repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use after a session to promote useful episodic notes from logs/episodic/ into distilled, dated entries in MEMORY.md and memory/semantic/.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/oxbshw/LLM-Agents-Ecosystem-Handbook/blob/HEAD/skills/examples/agent-memory-curator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-memory-curator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Agent Memory Curator
When to use
- End of a working session
- After resolving an incident worth remembering
- When
MEMORY.mdhas grown stale or contradictory
When NOT to use
- During a session (don't write memory mid-flight from low-confidence signals)
- For raw transcripts (those stay in
logs/)
Inputs
| Name | Type | Required | Notes |
|---|---|---|---|
since | date | no | default: last curation time |
categories | list | no | restrict to e.g. [user, project, decision] |
Workflow
- Read new episodic logs in
logs/episodic/sincesince - Distill each notable event into a one-line dated entry
- Categorize into: user / project / decision / feedback / open question
- Reconcile: if a new entry contradicts an existing one, update the existing one rather than appending; move the old fact to "Outdated"
- Apply rules from
references/memory-distillation-rules.md - Write to
MEMORY.md(index) andmemory/semantic/<topic>.md(details) - Verify no PII / secrets leaked into memory
- Report summary of additions / updates / deletions
References
Success criteria
- Every new entry is dated
- No duplicate entries (search before adding)
- No PII / secret values
- Outdated entries moved, not deleted in-place
Failure modes
- Conflicting evidence → mark as "Open question" rather than guessing
- Source untrusted (e.g., from MCP/web fetch) → require human confirm before promotion