| name | memorybank-update |
| description | Comprehensive review and update of all Memory Bank files. Reads all 6 files, proposes targeted updates focusing on activeContext.md and progress.md, and validates results.. Use when Codex should run the converted memorybank-update workflow. |
Memorybank Update
Converted Claude skill workflow for Codex/OpenAI use.
Source
Converted from skills/memory-bank-update/SKILL.md.
Bundled Resources
Supporting files copied from the Claude source:
Converted Instructions
The content below was adapted from the Claude source. Rewrite tool and runtime assumptions as needed when they refer to Claude-only features.
Memory Bank: Update
Comprehensive review and update of entire Memory Bank.
Helper Scripts Available:
scripts/validate_memorybank.py - Pre/post validation
scripts/detect_stale.py - Find outdated info
scripts/extract_todos.py - Extract action items
Workflow
1. Announce
"Understood. Initiating a full Memory Bank review and update."
2. Validate
python3 scripts/validate_memorybank.py /path/to/project
Fix any errors before proceeding.
3. Detect Staleness
python3 scripts/detect_stale.py /path/to/project
Identify files needing attention.
4. Read All Files
Read in hierarchical order:
- projectbrief.md
- productContext.md, techContext.md, systemPatterns.md
- activeContext.md
- progress.md
5. Extract TODOs
python3 scripts/extract_todos.py /path/to/project
Get current action items.
6. Propose Updates
Based on analysis, propose specific changes to each file.
Focus heavily on:
- activeContext.md - Current work, recent changes, next steps
- progress.md - Move completed items, update status
7. Wait for Confirmation
Present proposal, wait for user approval.
8. Apply Updates
Update files based on approved changes.
9. Validate Result
python3 scripts/validate_memorybank.py /path/to/project
When to Use
- After implementing significant changes
- When new patterns/decisions made
- User explicitly requests update
- After multiple tasks completed
See scripts/README.md for complete documentation.