Memory Skill
Use this skill when the user asks to capture knowledge, search prior context, or maintain memory artifacts.
Team-awareness
Read active team config from .codex-workflow/config/active-team.json when present.
Use team default_paths.memory_root as the memory base path.
Actions
1. Note (default quick capture)
- •Append timestamped bullet to
<memory_root>/notes.md:- •
- **YYYY-MM-DD**: text
- •
- •Create file if missing.
2. Search
- •Search across
<memory_root>/for keywords. - •Check memory indexes.
- •Return matching files with one-line relevance.
3. Add Entity
- •Use
<memory_root>/templates/entity-template.md. - •Create
<memory_root>/entities/{slug}.md. - •Update
<memory_root>/entities/index.mdand<memory_root>/memory-log.md.
4. Add Pattern
- •Use
<memory_root>/templates/pattern-template.md. - •Create
<memory_root>/patterns/{slug}.md. - •Update
<memory_root>/patterns/index.mdand<memory_root>/memory-log.md.
5. Add Session Summary
- •Use
<memory_root>/templates/session-template.md. - •Create
<memory_root>/sessions/YYYY-MM-DD-{slug}.md. - •Update
<memory_root>/memory-log.md.
6. Status
- •Read
<memory_root>/memory-log.md. - •Count entities, patterns, and sessions.
- •Show recent additions.
Conventions
- •Prefer concise entries.
- •Use lowercase hyphenated slugs.
- •Use wiki links where the project already uses them.